Modernized ebuilds and fixed symlinks
authorBrad Teaford Cowan <bcowan@gentoo.org>
Sat, 5 Oct 2002 08:15:12 +0000 (08:15 +0000)
committerBrad Teaford Cowan <bcowan@gentoo.org>
Sat, 5 Oct 2002 08:15:12 +0000 (08:15 +0000)
sys-apps/acl/ChangeLog
sys-apps/acl/acl-2.0.18.ebuild

index 686b740350e84cafa940c6c215b53d28dbc99355..325b47a8ff1b8581cc9f1e0f01f948f1b278a885 100644 (file)
@@ -1,6 +1,6 @@
 # ChangeLog for sys-apps/acl
 # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/acl/ChangeLog,v 1.5 2002/09/27 20:01:06 bcowan Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/acl/ChangeLog,v 1.6 2002/10/05 08:15:12 bcowan Exp $
 
 *acl-2.0.18.ebuild (27 Sep 2002)
 
@@ -9,6 +9,10 @@
   
   version bump thanks to Hanno Boeck <hanno@gentoo.org>
 
+  05 Oct 2002; Brad Cowan <bcowan@gentoo.org> acl-2.0.18.ebuild :
+  
+  Fixed symlinks and "modernized" ebuild.   
+
 *acl-20020330.ebuild (14 July 2002)
 
   21 Jul 2002; Mark Guertin <gerk@gentoo.org>:
index f6892c072524f95e6008f0333e249b2f00240382..7a0bb6463e722f7413c50c053b0b54a61f234bd2 100644 (file)
@@ -1,45 +1,42 @@
 # Copyright 1999-2002 Gentoo Technologies, Inc.
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/acl/acl-2.0.18.ebuild,v 1.2 2002/10/04 06:22:10 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/acl/acl-2.0.18.ebuild,v 1.3 2002/10/05 08:15:12 bcowan Exp $
 
 S=${WORKDIR}/${P}
+
 DESCRIPTION="XFS dump/restore utilities"
+
 SRC_URI="ftp://oss.sgi.com/projects/xfs/download/cmd_tars/${P}.src.tar.gz"
 HOMEPAGE="http://oss.sgi.com/projects/xfs"
+
 KEYWORDS="x86 ppc sparc sparc64"
 SLOT="0"
 LICENSE="LGPL-2.1"
 
-DEPEND="virtual/glibc sys-devel/autoconf sys-apps/attr sys-devel/make"
-RDEPEND="virtual/glibc"
+DEPEND="sys-apps/attr"
+RDEPEND="${DEPEND}"
 
 src_compile() {
-       cd ${S}
-       export OPTIMIZER="${CFLAGS}"
-       export DEBUG=-DNDEBUG
+       OPTIMIZER="${CFLAGS}"
+       DEBUG=-DNDEBUG
+       
        autoconf || die
-       ./configure --prefix=/usr || die
-       # 1) add a ${DESTDIR} prefix to all install paths so we can relocate during the "install" phase
-       # 2) we also set the /usr/share/doc/ directory to the correct value.
-       # 3) we remove a hard-coded "-O1"
-       # 4) we fix some Makefile-created library symlinks that contains absolute paths
+       
+       ./configure --prefix=/usr --libexecdir=/lib || die
+       
        cp include/builddefs include/builddefs.orig
        sed -e 's:^PKG_\(.*\)_DIR = \(.*\)$:PKG_\1_DIR = ${DESTDIR}\2:' \
                -e "s:/usr/share/doc/${PN}:/usr/share/doc/${PF}:" \
                -e 's:-O1::' \
                include/builddefs.orig > include/builddefs || die
-#              -e 's:-S \(.*\) $(PKG_.*_DIR)/\(.*$\):-S \1 \2:' \
+       
        emake || die
 }
 
 src_install() {
        make DESTDIR=${D} install install-dev install-lib || die
-       #fix freaky symlinks
-       cd ${D}/usr/lib
-       rm libacl.so
-       ln -s ../../lib/libacl.so libacl.so
-       cd ${D}/lib
-       rm *a
-       ln -s ../usr/lib/libacl.la libacl.la
-       ln -s ../usr/lib/libacl.a libacl.a
+       
+       dosym /usr/lib/libacl.so /lib/libacl.so
+       dosym /lib/libacl.la /usr/lib/libacl.la
+       dosym /lib/libacl.a /usr/lib/libacl.a
 }