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
commitc14ea6cec738e575780f7d8128272996ff9270fe (patch)
treec6a995e6a5cb43ad5b47525bc8e0c3f6fbe1dfff /sys-apps/attr
parentupdate to new version, doing nls properly, as well as proper debug support (w... (diff)
downloadhistorical-c14ea6cec738e575780f7d8128272996ff9270fe.tar.gz
historical-c14ea6cec738e575780f7d8128272996ff9270fe.tar.bz2
historical-c14ea6cec738e575780f7d8128272996ff9270fe.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/attr')
-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
3 files changed, 65 insertions, 3 deletions
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