librep r2964 - in trunk: . man
- From: chrisb svn gnome org
- To: svn-commits-list gnome org
- Subject: librep r2964 - in trunk: . man
- Date: Sat, 20 Dec 2008 07:39:12 +0000 (UTC)
Author: chrisb
Date: Sat Dec 20 07:39:12 2008
New Revision: 2964
URL: http://svn.gnome.org/viewvc/librep?rev=2964&view=rev
Log:
added ebuild
Added:
trunk/librep.ebuild.in
Modified:
trunk/ChangeLog
trunk/configure.in
trunk/man/news.texi
Modified: trunk/configure.in
==============================================================================
--- trunk/configure.in (original)
+++ trunk/configure.in Sat Dec 20 07:39:12 2008
@@ -40,7 +40,7 @@
lisp/Makefile:Makedefs.in:lisp/Makefile.in\
Makefile:Makedefs.in:Makefile.in\
man/Makefile:Makedefs.in:man/Makefile.in\
- intl/Makefile librep.spec librep.pc"
+ intl/Makefile librep.spec librep.pc librep.ebuild"
dnl Find the system type
AC_CANONICAL_HOST
@@ -628,6 +628,8 @@
dnl Build all files. Makes sure rules.mk is rebuild each time
AC_OUTPUT(${output_files}, [rm -f rules.mk])
+mv librep.ebuild librep-$version.ebuild
+
echo "
== == == == == == == == == == == == ==
Added: trunk/librep.ebuild.in
==============================================================================
--- (empty file)
+++ trunk/librep.ebuild.in Sat Dec 20 07:39:12 2008
@@ -0,0 +1,50 @@
+# based on librep-0.17-r2.ebuild
+
+inherit eutils libtool toolchain-funcs multilib autotools
+
+DESCRIPTION="Shared library implementing a Lisp dialect"
+HOMEPAGE="http://librep.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64"
+IUSE="readline"
+
+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() {
+ local myconf="$(use_with readline)"
+ use ppc && myconf="${myconf} --with-stack-direction=1"
+
+ # It seems that stack-direction=-1 for gcc-3.x and 1 for gcc-4.x on ia64
+ if use ia64 && [[ $(gcc-major-version) -ge 4 ]]; then
+ myconf="${myconf} --with-stack-direction=1"
+ fi
+
+ econf \
+ --libexecdir=/usr/$(get_libdir) \
+ --without-gmp \
+ --without-ffi \
+ ${myconf} || die "configure failed"
+
+ LC_ALL=C emake || die "make failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "make install failed"
+ dodoc AUTHORS BUGS ChangeLog NEWS README THANKS TODO TREE
+ docinto doc
+ dodoc doc/*
+}
Modified: trunk/man/news.texi
==============================================================================
Binary files. No diff available.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]