[librep] improved ebuild
- From: Christopher Bratusek <chrisb src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [librep] improved ebuild
- Date: Thu, 24 Sep 2009 17:22:43 +0000 (UTC)
commit f7e1ead8b94dfa2b1ca6b35acd1e936163e7709a
Author: chrisb <zanghar freenet de>
Date: Thu Sep 24 19:21:42 2009 +0200
improved ebuild
ChangeLog | 3 +++
librep.ebuild.in | 28 ++++++++++++++++------------
man/news.texi | 2 ++
3 files changed, 21 insertions(+), 12 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 810a433..3992286 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2009-09-23 Christopher Bratusek <zanghar freenet de>
+ * librep.ebuild.in: improved [Fuchur] [Christopher Bratusek]
+
2009-09-13 Christopher Bratusek <zanghar freenet de>
* librep.doap: added
diff --git a/librep.ebuild.in b/librep.ebuild.in
index 9235500..770a251 100644
--- a/librep.ebuild.in
+++ b/librep.ebuild.in
@@ -11,19 +11,19 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 ia64 ppc sparc x86 ppc64"
-IUSE="readline"
+IUSE="readline gmp libffi emacs"
+
+RDEPEND=">=sys-libs/gdbm-1.8.3
+ readline? ( sys-libs/readline )
+ gmp? ( dev-libs/gmp )
+ libffi? ( virtual/libffi )"
-RDEPEND=">=sys-libs/gdbm-1.8.0
- readline? ( sys-libs/readline )"
DEPEND="${RDEPEND}
sys-apps/texinfo"
src_unpack() {
unpack ${A}
- cd "${S}"
- eautoreconf
- elibtoolize || die "elibtoolize failed"
- epunt_cxx
+
}
src_compile() {
@@ -36,17 +36,21 @@ src_compile() {
fi
econf \
- --libexecdir=/usr/$(get_libdir) \
- --without-gmp \
- --without-ffi \
+ --prefix=/usr \
+ $(use_with gmp) \
+ $(use_with libffi ffi) \
+ $(use_with readline) \
${myconf} || die "configure failed"
- LC_ALL=C emake || die "make failed"
+ emake || die "make failed"
+
}
src_install() {
make DESTDIR="${D}" install || die "make install failed"
- dodoc AUTHORS BUGS ChangeLog NEWS README THANKS TODO TREE
+
+ dodoc AUTHORS BUGS ChangeLog COPYING HACKING INSTALL MAINTAINERS README THANKS TODO TREE
docinto doc
dodoc doc/*
+
}
diff --git a/man/news.texi b/man/news.texi
index af6d6e4..9e8b569 100644
--- a/man/news.texi
+++ b/man/news.texi
@@ -9,6 +9,8 @@
@item Improved spec-file [Kim B. Heino]
+ item Improved ebuild [Fuchur, Christopher Bratusek]
+
@item Fallback check for ffi, if there's no libffi.pc [Vincent Untz]
@item Removed rep-config script (use librep.pc instead)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]