diff options
Diffstat (limited to 'sys-apps/attr')
-rw-r--r-- | sys-apps/attr/ChangeLog | 9 | ||||
-rw-r--r-- | sys-apps/attr/Manifest | 4 | ||||
-rw-r--r-- | sys-apps/attr/attr-2.2.0.ebuild | 52 | ||||
-rw-r--r-- | sys-apps/attr/files/attr-2.2.0-gettext.diff | 20 | ||||
-rw-r--r-- | sys-apps/attr/files/digest-attr-2.2.0 | 2 |
5 files changed, 84 insertions, 3 deletions
diff --git a/sys-apps/attr/ChangeLog b/sys-apps/attr/ChangeLog index 6379ac7d2767..13f72f3a4b88 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.12 2003/02/24 22:34:58 dragon Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/attr/ChangeLog,v 1.13 2003/04/13 13:40:49 seemant Exp $ + +*attr-2.2.0 (13 Apr 2003) + + 13 Apr 2003; Seemant Kulleen <seemant@gentoo.org> Manifest, + attr-2.2.0.ebuild: + version bump. The gettext patch in FILESDIR is to disable the "compulsory" + gettext dependency. 21 Dec 2002; Daniel Robbins <drobbins@gentoo.org>: 20020330 -> 2.0.5_p20020330 version rename to fix policy violation for naming of CVS 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 |