diff options
author | Mike Frysinger <vapier@gentoo.org> | 2007-05-31 06:50:13 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2007-05-31 06:50:13 +0000 |
commit | ec345e4f2b12898c412476ade01fcf388a7bab7e (patch) | |
tree | 8124d7d7b1b844ada5db53423b2bc9cc5ef6cf99 /sys-fs/xfsprogs | |
parent | arm/sh stable (diff) | |
download | gentoo-2-ec345e4f2b12898c412476ade01fcf388a7bab7e.tar.gz gentoo-2-ec345e4f2b12898c412476ade01fcf388a7bab7e.tar.bz2 gentoo-2-ec345e4f2b12898c412476ade01fcf388a7bab7e.zip |
Version bump.
(Portage version: 2.1.2.8)
Diffstat (limited to 'sys-fs/xfsprogs')
-rw-r--r-- | sys-fs/xfsprogs/ChangeLog | 7 | ||||
-rw-r--r-- | sys-fs/xfsprogs/files/digest-xfsprogs-2.8.21 | 3 | ||||
-rw-r--r-- | sys-fs/xfsprogs/xfsprogs-2.8.21.ebuild | 61 |
3 files changed, 70 insertions, 1 deletions
diff --git a/sys-fs/xfsprogs/ChangeLog b/sys-fs/xfsprogs/ChangeLog index aeebe12c0173..9afc839c31f5 100644 --- a/sys-fs/xfsprogs/ChangeLog +++ b/sys-fs/xfsprogs/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-fs/xfsprogs # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/xfsprogs/ChangeLog,v 1.63 2007/02/14 15:40:33 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-fs/xfsprogs/ChangeLog,v 1.64 2007/05/31 06:50:13 vapier Exp $ + +*xfsprogs-2.8.21 (31 May 2007) + + 31 May 2007; Mike Frysinger <vapier@gentoo.org> +xfsprogs-2.8.21.ebuild: + Version bump. 14 Feb 2007; Mike Frysinger <vapier@gentoo.org> +files/xfsprogs-2.8.18-symlinks.patch, xfsprogs-2.8.18.ebuild: diff --git a/sys-fs/xfsprogs/files/digest-xfsprogs-2.8.21 b/sys-fs/xfsprogs/files/digest-xfsprogs-2.8.21 new file mode 100644 index 000000000000..5f0af9401aa4 --- /dev/null +++ b/sys-fs/xfsprogs/files/digest-xfsprogs-2.8.21 @@ -0,0 +1,3 @@ +MD5 a40b7d656c9ddb775c3f221433cbf08a xfsprogs_2.8.21-1.tar.gz 978987 +RMD160 6f2dcf98540b9593f528b43eb8a80cf99db3ab2a xfsprogs_2.8.21-1.tar.gz 978987 +SHA256 d0450b00ad9e321484802f83f913fd04ec608d80146d07861ee8019b00ebdf58 xfsprogs_2.8.21-1.tar.gz 978987 diff --git a/sys-fs/xfsprogs/xfsprogs-2.8.21.ebuild b/sys-fs/xfsprogs/xfsprogs-2.8.21.ebuild new file mode 100644 index 000000000000..5af0b2ea3fc8 --- /dev/null +++ b/sys-fs/xfsprogs/xfsprogs-2.8.21.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-fs/xfsprogs/xfsprogs-2.8.21.ebuild,v 1.1 2007/05/31 06:50:13 vapier Exp $ + +inherit eutils toolchain-funcs + +MY_P="${PN}_${PV}-1" +DESCRIPTION="xfs filesystem utilities" +HOMEPAGE="http://oss.sgi.com/projects/xfs/" +SRC_URI="ftp://oss.sgi.com/projects/xfs/download/cmd_tars/${MY_P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86" +IUSE="nls" + +RDEPEND="sys-fs/e2fsprogs" +DEPEND="${RDEPEND} + nls? ( sys-devel/gettext )" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${PN}-2.8.18-symlinks.patch #166729 + # Inject our own CFLAGS / docpath + sed -i \ + -e "/^PKG_DOC_DIR/s:@pkg_name@:${PF}:" \ + -e '/^GCFLAGS/s:-O1::' \ + include/builddefs.in \ + || die "sed include/builddefs.in failed" + # make sure the PLATFORM envvar doesn't break crap + sed -i -e '/PLATFORM/d' configure || die "sed PLATFORM" + # We'll handle /lib versus /usr/lib install + sed -i -e '/INSTALL.* -S .*LIBNAME/d' \ + include/buildmacros || die "sed symlinks" +} + +src_compile() { + export OPTIMIZER=${CFLAGS} + export DEBUG=-DNDEBUG + + econf \ + --bindir=/usr/bin \ + --sbindir=/sbin \ + --libexecdir=/usr/$(get_libdir) \ + $(use_enable nls gettext) \ + || die "config failed" + emake || die +} + +src_install() { + emake DIST_ROOT="${D}" install install-dev || die "make install failed" + + # shared in /lib, static in /usr/lib, ldscript fun too + dodir /$(get_libdir) + mv "${D}"/usr/$(get_libdir)/lib*.so* "${D}"/$(get_libdir)/ + dosym libhandle.so.1 /$(get_libdir)/libhandle.so + gen_usr_ldscript libhandle.so + + prepalldocs +} |