summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2003-08-12 01:42:52 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2003-08-12 01:42:52 +0000
commite57bff61fadfa7b49b545efecd7f15325620b664 (patch)
treefd447a2613ae639ef2e1cbd0d1735f17880bd1fa /sys-apps
parentupdate to new version, doing nls properly, as well as proper debug support (w... (diff)
downloadgentoo-2-e57bff61fadfa7b49b545efecd7f15325620b664.tar.gz
gentoo-2-e57bff61fadfa7b49b545efecd7f15325620b664.tar.bz2
gentoo-2-e57bff61fadfa7b49b545efecd7f15325620b664.zip
update to new version, doing nls properly, as well as proper debug support (we built debug code in before anyway!) and require gcc3 as the source is incompatible with gcc2. fixes bug #21347
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/attr/ChangeLog9
-rw-r--r--sys-apps/attr/Manifest5
-rw-r--r--sys-apps/attr/attr-2.4.7.ebuild62
-rw-r--r--sys-apps/attr/files/digest-attr-2.4.71
4 files changed, 73 insertions, 4 deletions
diff --git a/sys-apps/attr/ChangeLog b/sys-apps/attr/ChangeLog
index c560ebb8dfbc..7d415d595257 100644
--- a/sys-apps/attr/ChangeLog
+++ b/sys-apps/attr/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for sys-apps/attr
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/attr/ChangeLog,v 1.16 2003/06/30 18:09:53 darkspecter Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/attr/ChangeLog,v 1.17 2003/08/12 01:42:46 robbat2 Exp $
+
+*attr-2.4.7 (11 Aug 2003)
+
+ 11 Aug 2003; Robin H. Johnson <robbat2@gentoo.org> attr-2.4.7.ebuild:
+ update to new version, doing nls properly, as well as proper debug support (we
+ built debug code in before anyway!) and require gcc3 as the source is
+ incompatible with gcc2. fixes bug #21347
30 Jun 2003; Bartosch Pixa <darkspecter@gentoo.org> attr-2.4.1.ebuild:
set ppc in keywords
diff --git a/sys-apps/attr/Manifest b/sys-apps/attr/Manifest
index 4100247e3406..9e2d42e9b8c0 100644
--- a/sys-apps/attr/Manifest
+++ b/sys-apps/attr/Manifest
@@ -1,12 +1,11 @@
-MD5 8d577ecd6a060adab35bc91064fc076d attr-2.4.7.ebuild 1358
+MD5 959c89b6f43469751b6a4480b96d5348 attr-2.4.7.ebuild 1551
MD5 5efd458241d9b683ae95cd2936b59af5 attr-2.2.0.ebuild 1287
MD5 8d577ecd6a060adab35bc91064fc076d attr-2.4.1.ebuild 1358
MD5 f837b3d37451b45992d9793be44e48e0 attr-2.1.1-r1.ebuild 1166
-MD5 b0d99b836c30f5dfafc1da37098b76cf ChangeLog 2688
+MD5 1286d9267d4de4740b3e05c6542a8668 ChangeLog 2980
MD5 74e751203db2d18c328b77951c4e5396 files/attr-2.4.1-gettext.diff 1208
MD5 b57048711f1d8bc6ae87ea34a3dc212f files/digest-attr-2.2.0 123
MD5 5176e6e3d5d11a771451a6f2d845d48b files/digest-attr-2.4.1 65
MD5 8420856a31d88f998b2e8fdc978f804a files/digest-attr-2.4.7 65
MD5 7811c86d928ecacca36f3fd7282d4883 files/digest-attr-2.1.1-r1 65
-MD5 74e751203db2d18c328b77951c4e5396 files/attr-2.4.7-gettext.diff 1208
MD5 eb9d74131b80a3e1c465474ea5eb5d9e files/attr-2.2.0-gettext.diff 642
diff --git a/sys-apps/attr/attr-2.4.7.ebuild b/sys-apps/attr/attr-2.4.7.ebuild
new file mode 100644
index 000000000000..93cb403ac0da
--- /dev/null
+++ b/sys-apps/attr/attr-2.4.7.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/attr/attr-2.4.7.ebuild,v 1.1 2003/08/12 01:42:46 robbat2 Exp $
+
+S=${WORKDIR}/${P}
+DESCRIPTION="xfs extended attributes tools"
+HOMEPAGE="http://oss.sgi.com/projects/xfs"
+SRC_URI="ftp://oss.sgi.com/projects/xfs/download/cmd_tars/${P}.src.tar.gz
+ http://acl.bestbits.at/current/tar/${P}.src.tar.gz"
+
+SLOT="0"
+LICENSE="LGPL-2.1"
+KEYWORDS="~x86 ~amd64 ~mips ~ppc"
+
+DEPEND=">=sys-apps/portage-2.0.47-r10
+ >=sys-apps/sed-4.0.5
+ virtual/glibc
+ nls? ( sys-devel/gettext )
+ >=sys-devel/gcc-3*"
+RDEPEND="virtual/glibc"
+
+IUSE="nls debug"
+
+src_compile() {
+ if use debug; then
+ DEBUG=-DDEBUG
+ OPTIMIZER="-g"
+ CFLAGS=
+ CXXFLAGS=
+ export DEBUG OPTIMIZER CFLAGS CXXFLAGS
+ else
+ DEBUG=-DNDEBUG
+ OPTIMIZER=""
+ # note that CFLAGS is already inherited!
+ export DEBUG OPTIMIZER
+ fi
+
+ local myconf="`use_enable nls gettext`"
+ econf ${myconf} || die
+
+ sed -i \
+ -e 's:^PKG_\(.*\)_DIR = \(.*\)$:PKG_\1_DIR = ${DESTDIR}\2:' \
+ -e 's:-O1::' -e 's:../$(INSTALL) -S \(.*\) $(PKG_.*_DIR)/\(.*$\)::' \
+ include/builddefs
+
+ make || die
+}
+
+src_install() {
+ make DIST_ROOT=${D} \
+ install install-lib install-dev || die
+
+ # install docs in correct place
+ mv ${D}/usr/share/doc/attr ${D}/usr/share/doc/${PF}
+ prepalldocs
+
+ dodir /lib
+ dosym /usr/lib/libattr.a /lib/libattr.a
+ dosym /usr/lib/libattr.la /lib/libattr.la
+ dosym /lib/libattr.so /usr/lib/libattr.so
+ dosym libattr.so.1 /usr/lib/libattr.so
+}
diff --git a/sys-apps/attr/files/digest-attr-2.4.7 b/sys-apps/attr/files/digest-attr-2.4.7
new file mode 100644
index 000000000000..d5fe24a2977e
--- /dev/null
+++ b/sys-apps/attr/files/digest-attr-2.4.7
@@ -0,0 +1 @@
+MD5 56e67402f5075ce47b5657b4336ff563 attr-2.4.7.src.tar.gz 84674