summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Dittrich <markusle@gentoo.org>2008-06-03 13:10:03 +0000
committerMarkus Dittrich <markusle@gentoo.org>2008-06-03 13:10:03 +0000
commit3fbbc87a1d1e1c6062e08df01fad66c4befc823f (patch)
tree5cbae49c1c45461bb0b233f3235eca1dfd281f32 /dev-libs/libtecla
parentVersion bump (diff)
downloadgentoo-2-3fbbc87a1d1e1c6062e08df01fad66c4befc823f.tar.gz
gentoo-2-3fbbc87a1d1e1c6062e08df01fad66c4befc823f.tar.bz2
gentoo-2-3fbbc87a1d1e1c6062e08df01fad66c4befc823f.zip
Cleaned up ebuild and fixes QA issues. Added amd64 keyword.
(Portage version: 2.1.5.2)
Diffstat (limited to 'dev-libs/libtecla')
-rw-r--r--dev-libs/libtecla/ChangeLog9
-rw-r--r--dev-libs/libtecla/files/libtecla-1.6.1-install.patch18
-rw-r--r--dev-libs/libtecla/libtecla-1.6.0-r1.ebuild6
-rw-r--r--dev-libs/libtecla/libtecla-1.6.1.ebuild25
4 files changed, 45 insertions, 13 deletions
diff --git a/dev-libs/libtecla/ChangeLog b/dev-libs/libtecla/ChangeLog
index c13ce8b8b2a7..b07b387c715d 100644
--- a/dev-libs/libtecla/ChangeLog
+++ b/dev-libs/libtecla/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-libs/libtecla
-# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libtecla/ChangeLog,v 1.9 2007/02/09 02:34:39 flameeyes Exp $
+# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libtecla/ChangeLog,v 1.10 2008/06/03 13:10:03 markusle Exp $
+
+ 03 Jun 2008; Markus Dittrich <markusle@gentoo.org>
+ +files/libtecla-1.6.1-install.patch, libtecla-1.6.0-r1.ebuild,
+ libtecla-1.6.1.ebuild:
+ Cleaned up ebuild and fixes QA issues. Added amd64 keyword.
09 Feb 2007; Diego Pettenò <flameeyes@gentoo.org> ChangeLog:
Regenerate digest in Manifest2 format.
diff --git a/dev-libs/libtecla/files/libtecla-1.6.1-install.patch b/dev-libs/libtecla/files/libtecla-1.6.1-install.patch
new file mode 100644
index 000000000000..999d46c58185
--- /dev/null
+++ b/dev-libs/libtecla/files/libtecla-1.6.1-install.patch
@@ -0,0 +1,18 @@
+diff -Naur libtecla/Makefile.in libtecla.new/Makefile.in
+--- libtecla/Makefile.in 2004-10-31 15:30:57.000000000 -0500
++++ libtecla.new/Makefile.in 2008-06-03 08:59:27.000000000 -0400
+@@ -15,10 +15,10 @@
+
+ prefix=@prefix@
+ exec_prefix=@exec_prefix@
+-LIBDIR=@libdir@
+-INCDIR=@includedir@
+-MANDIR=@mandir@
+-BINDIR=@bindir@
++LIBDIR=$(DESTDIR)/@libdir@
++INCDIR=$(DESTDIR)/@includedir@
++MANDIR=$(DESTDIR)/@mandir@
++BINDIR=$(DESTDIR)/@bindir@
+
+ # Which C compiler do you want to use?
+
diff --git a/dev-libs/libtecla/libtecla-1.6.0-r1.ebuild b/dev-libs/libtecla/libtecla-1.6.0-r1.ebuild
index 4549c971562b..c6f88aae1d8b 100644
--- a/dev-libs/libtecla/libtecla-1.6.0-r1.ebuild
+++ b/dev-libs/libtecla/libtecla-1.6.0-r1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libtecla/libtecla-1.6.0-r1.ebuild,v 1.2 2006/01/20 23:07:49 tsunam Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libtecla/libtecla-1.6.0-r1.ebuild,v 1.3 2008/06/03 13:10:03 markusle Exp $
DESCRIPTION="Tecla command-line editing library"
HOMEPAGE="http://www.astro.caltech.edu/~mcs/tecla/"
@@ -24,6 +24,6 @@ src_compile() {
}
src_install() {
- make install prefix=${D}/usr MANDIR=${D}/usr/share/man || die
+ make install prefix="${D}"/usr MANDIR="${D}"/usr/share/man || die
dodoc CHANGES INSTALL LICENSE.TERMS PORTING README RELEASE.NOTES
}
diff --git a/dev-libs/libtecla/libtecla-1.6.1.ebuild b/dev-libs/libtecla/libtecla-1.6.1.ebuild
index bab1770dffa9..4ce25de6f804 100644
--- a/dev-libs/libtecla/libtecla-1.6.1.ebuild
+++ b/dev-libs/libtecla/libtecla-1.6.1.ebuild
@@ -1,6 +1,8 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libtecla/libtecla-1.6.1.ebuild,v 1.1 2006/01/20 17:49:57 markusle Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libtecla/libtecla-1.6.1.ebuild,v 1.2 2008/06/03 13:10:03 markusle Exp $
+
+inherit eutils
DESCRIPTION="Tecla command-line editing library"
HOMEPAGE="http://www.astro.caltech.edu/~mcs/tecla/"
@@ -8,7 +10,7 @@ SRC_URI="http://www.astro.caltech.edu/~mcs/tecla/${P}.tar.gz"
LICENSE="as-is"
SLOT="0"
-KEYWORDS="~x86 ~ppc"
+KEYWORDS="~x86 ~ppc ~amd64"
IUSE=""
DEPEND="virtual/libc
@@ -16,15 +18,22 @@ DEPEND="virtual/libc
S=${WORKDIR}/libtecla
-src_compile() {
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-install.patch
+
# remove build directory from RPATH (see bug #119477)
sed -e "s|:\$\$LD_RUN_PATH:\`pwd\`||" -i Makefile.rules || \
die "Failed to adjust Makefile.rules"
- econf || die
- make || die
+}
+
+src_compile() {
+ econf || die "econf failed"
+ emake -j1 || die "emake failed"
}
src_install() {
- make install prefix=${D}/usr MANDIR=${D}/usr/share/man || die
- dodoc CHANGES INSTALL LICENSE.TERMS PORTING README RELEASE.NOTES
+ emake install DESTDIR="${D}" || die "einstall failed"
+ dodoc CHANGES INSTALL PORTING README RELEASE.NOTES
}