summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-11-29 03:53:41 +0000
committerMike Frysinger <vapier@gentoo.org>2005-11-29 03:53:41 +0000
commitfba308206a6768b74e5cfbb9ed98b1c2743a5d29 (patch)
tree90553208a9ad1f4d09bdaf7b833b592d67312693 /sys-libs
parentAdded ~sparc keyword. (diff)
downloadgentoo-2-fba308206a6768b74e5cfbb9ed98b1c2743a5d29.tar.gz
gentoo-2-fba308206a6768b74e5cfbb9ed98b1c2743a5d29.tar.bz2
gentoo-2-fba308206a6768b74e5cfbb9ed98b1c2743a5d29.zip
touchup build so we dont install .a/.la files to /lib
(Portage version: 2.0.53_rc7)
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/libaal/libaal-1.0.5.ebuild26
1 files changed, 11 insertions, 15 deletions
diff --git a/sys-libs/libaal/libaal-1.0.5.ebuild b/sys-libs/libaal/libaal-1.0.5.ebuild
index a73cf6eda25a..691d96a987cf 100644
--- a/sys-libs/libaal/libaal-1.0.5.ebuild
+++ b/sys-libs/libaal/libaal-1.0.5.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/libaal/libaal-1.0.5.ebuild,v 1.2 2005/10/16 02:49:21 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libaal/libaal-1.0.5.ebuild,v 1.3 2005/11/29 03:53:35 vapier Exp $
inherit eutils
@@ -23,30 +23,26 @@ src_unpack() {
-e "/GENERIC_CFLAGS/s:-O3::" \
-e "/^CFLAGS=/s:\"\":\"${CFLAGS}\":" \
configure || die "sed"
- cat << EOF > run-ldconfig
-#!/bin/sh
-true
-EOF
+ cat <<-EOF > run-ldconfig
+ #!/bin/sh
+ true
+ EOF
}
src_compile() {
econf \
--enable-libminimal \
--enable-memory-manager \
- --libdir=/$(get_libdir) || die "configure failed"
+ || die "configure failed"
emake || die "make failed"
}
src_install() {
- make DESTDIR=${D} install || die
+ make DESTDIR="${D}" install || die
dodoc AUTHORS BUGS CREDITS ChangeLog NEWS README THANKS TODO
- # move silly .a libs out of /
- dodir /usr/$(get_libdir)
- local l=""
- for l in libaal libaal-minimal ; do
- mv ${D}/$(get_libdir)/${l}.{a,la} ${D}/usr/$(get_libdir)/
- dosym /usr/$(get_libdir)/${l}.a /$(get_libdir)/${l}.a
- gen_usr_ldscript ${l}.so
- done
+ # move shared libs to /
+ dodir /$(get_libdir)
+ mv "${D}"/usr/$(get_libdir)/lib*.so* "${D}"/$(get_libdir)/ || die
+ gen_usr_ldscript libaal.so libaal-minimal.so
}