summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad Teaford Cowan <bcowan@gentoo.org>2002-10-05 08:15:12 +0000
committerBrad Teaford Cowan <bcowan@gentoo.org>2002-10-05 08:15:12 +0000
commit262dbd654e41e550bc489d3682e576bed65733f9 (patch)
tree5582e5a8db9ed26d5c7fb271f5bd1582f39ce756 /sys-apps/acl
parentbig IUSE commit (diff)
downloadhistorical-262dbd654e41e550bc489d3682e576bed65733f9.tar.gz
historical-262dbd654e41e550bc489d3682e576bed65733f9.tar.bz2
historical-262dbd654e41e550bc489d3682e576bed65733f9.zip
Modernized ebuilds and fixed symlinks
Diffstat (limited to 'sys-apps/acl')
-rw-r--r--sys-apps/acl/ChangeLog6
-rw-r--r--sys-apps/acl/acl-2.0.18.ebuild37
2 files changed, 22 insertions, 21 deletions
diff --git a/sys-apps/acl/ChangeLog b/sys-apps/acl/ChangeLog
index 686b740350e8..325b47a8ff1b 100644
--- a/sys-apps/acl/ChangeLog
+++ b/sys-apps/acl/ChangeLog
@@ -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>:
diff --git a/sys-apps/acl/acl-2.0.18.ebuild b/sys-apps/acl/acl-2.0.18.ebuild
index f6892c072524..7a0bb6463e72 100644
--- a/sys-apps/acl/acl-2.0.18.ebuild
+++ b/sys-apps/acl/acl-2.0.18.ebuild
@@ -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
}