summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2003-04-13 13:40:51 +0000
committerSeemant Kulleen <seemant@gentoo.org>2003-04-13 13:40:51 +0000
commite08d71c8c85cf89dc53db2a23409343cda3d7c70 (patch)
treec7841d3959e27f6e9f02f0deb13bc64052009568 /sys-apps/attr
parentversion bump (diff)
downloadhistorical-e08d71c8c85cf89dc53db2a23409343cda3d7c70.tar.gz
historical-e08d71c8c85cf89dc53db2a23409343cda3d7c70.tar.bz2
historical-e08d71c8c85cf89dc53db2a23409343cda3d7c70.zip
version bump
Diffstat (limited to 'sys-apps/attr')
-rw-r--r--sys-apps/attr/Manifest4
-rw-r--r--sys-apps/attr/attr-2.2.0.ebuild52
-rw-r--r--sys-apps/attr/files/attr-2.2.0-gettext.diff20
-rw-r--r--sys-apps/attr/files/digest-attr-2.2.02
4 files changed, 76 insertions, 2 deletions
diff --git a/sys-apps/attr/Manifest b/sys-apps/attr/Manifest
index 7f19dd08a349..972d8c0091eb 100644
--- a/sys-apps/attr/Manifest
+++ b/sys-apps/attr/Manifest
@@ -1,6 +1,6 @@
-MD5 fb51e4ffff9fd176fc4254cd5c5af9bc attr-2.2.0.ebuild 1285
+MD5 22a1d90c10547ed4aa0d10cbd51f410d attr-2.2.0.ebuild 1283
MD5 0fe8288bf6a1cd5ca76b2f68f465b427 attr-2.1.1-r1.ebuild 1159
-MD5 0d20ec0c5024d2d3c542684d3534f0f1 ChangeLog 2083
+MD5 d59c05515532dfa107678845afa0cc2b ChangeLog 2294
MD5 b57048711f1d8bc6ae87ea34a3dc212f files/digest-attr-2.2.0 123
MD5 7811c86d928ecacca36f3fd7282d4883 files/digest-attr-2.1.1-r1 65
MD5 eb9d74131b80a3e1c465474ea5eb5d9e files/attr-2.2.0-gettext.diff 642
diff --git a/sys-apps/attr/attr-2.2.0.ebuild b/sys-apps/attr/attr-2.2.0.ebuild
new file mode 100644
index 000000000000..860c9cf58644
--- /dev/null
+++ b/sys-apps/attr/attr-2.2.0.ebuild
@@ -0,0 +1,52 @@
+# 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.2.0.ebuild,v 1.1 2003/04/13 13:40:49 seemant 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/pre/suse/attr/attr_copy.diff"
+
+SLOT="0"
+LICENSE="LGPL-2.1"
+KEYWORDS="x86 ~mips"
+
+DEPEND=">=sys-apps/portage-2.0.47-r10
+ >=sys-apps/sed-4.0.5
+ virtual/glibc
+ nls? ( sys-devel/gettext )"
+
+src_unpack() {
+ unpack ${P}.src.tar.gz
+
+ epatch ${DISTDIR}/attr_copy.diff
+ use nls || epatch ${FILESDIR}/${P}-gettext.diff
+}
+
+src_compile() {
+ OPTIMIZER="${CFLAGS}"
+ DEBUG=-DNDEBUG
+
+ autoconf || die
+
+ econf || 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
+
+ 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/attr-2.2.0-gettext.diff b/sys-apps/attr/files/attr-2.2.0-gettext.diff
new file mode 100644
index 000000000000..dff41509eb05
--- /dev/null
+++ b/sys-apps/attr/files/attr-2.2.0-gettext.diff
@@ -0,0 +1,20 @@
+--- configure.in.orig 2003-04-04 02:54:46.000000000 -0800
++++ configure.in 2003-04-04 02:55:00.000000000 -0800
+@@ -128,17 +128,6 @@
+ msgmerge=$MSGMERGE
+ AC_SUBST(msgmerge)
+
+-dnl ensure xgettext is installed
+-test -z "$XGETTEXT" && AC_CHECK_PROG(XGETTEXT, xgettext, /usr/bin/xgettext)
+-if test "$XGETTEXT" = ""; then
+- echo
+- echo 'FATAL ERROR: xgettext does not seem to be installed.'
+- echo $pkg_name cannot be built without a working gettext installation.
+- exit 1
+-fi
+-xgettext=$XGETTEXT
+-AC_SUBST(xgettext)
+-
+ dnl ensure libtool is installed
+ test -z "$LIBTOOL" && AC_PATH_PROG(LIBTOOL, libtool,,/usr/bin)
+ if test "$LIBTOOL" = ""; then
diff --git a/sys-apps/attr/files/digest-attr-2.2.0 b/sys-apps/attr/files/digest-attr-2.2.0
new file mode 100644
index 000000000000..3ac267294d4e
--- /dev/null
+++ b/sys-apps/attr/files/digest-attr-2.2.0
@@ -0,0 +1,2 @@
+MD5 cfc1701891b407e44c04d0234ff7048a attr-2.2.0.src.tar.gz 71251
+MD5 01f15611e562e49c001a2a4fb77a2e7b attr_copy.diff 28877