diff options
-rw-r--r-- | sys-fs/xfsprogs/ChangeLog | 9 | ||||
-rw-r--r-- | sys-fs/xfsprogs/files/digest-xfsprogs-2.9.5 | 3 | ||||
-rw-r--r-- | sys-fs/xfsprogs/xfsprogs-2.9.5.ebuild | 58 |
3 files changed, 68 insertions, 2 deletions
diff --git a/sys-fs/xfsprogs/ChangeLog b/sys-fs/xfsprogs/ChangeLog index 5b58c001912d..3c38535ecef4 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.85 2007/11/19 06:40:45 kumba Exp $ +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-fs/xfsprogs/ChangeLog,v 1.86 2008/01/26 06:35:54 vapier Exp $ + +*xfsprogs-2.9.5 (26 Jan 2008) + + 26 Jan 2008; Mike Frysinger <vapier@gentoo.org> +xfsprogs-2.9.5.ebuild: + Version bump #207411 by Sergey Dryabzhinsky. 19 Nov 2007; Joshua Kinard <kumba@gentoo.org> xfsprogs-2.9.4.ebuild: Stable on mips, per #197204. diff --git a/sys-fs/xfsprogs/files/digest-xfsprogs-2.9.5 b/sys-fs/xfsprogs/files/digest-xfsprogs-2.9.5 new file mode 100644 index 000000000000..3cba146e74e5 --- /dev/null +++ b/sys-fs/xfsprogs/files/digest-xfsprogs-2.9.5 @@ -0,0 +1,3 @@ +MD5 d9079d9a8dbc7cc983ed518842ca909f xfsprogs_2.9.5-1.tar.gz 998784 +RMD160 ee8202056b6e1a2c63179e4c84b57e50dfcc50ca xfsprogs_2.9.5-1.tar.gz 998784 +SHA256 e8bf9cebf0983327f6c8a7179e262abc34386aa8b34678ed35a9fc77876d684d xfsprogs_2.9.5-1.tar.gz 998784 diff --git a/sys-fs/xfsprogs/xfsprogs-2.9.5.ebuild b/sys-fs/xfsprogs/xfsprogs-2.9.5.ebuild new file mode 100644 index 000000000000..0915d889a98c --- /dev/null +++ b/sys-fs/xfsprogs/xfsprogs-2.9.5.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-fs/xfsprogs/xfsprogs-2.9.5.ebuild,v 1.1 2008/01/26 06:35:54 vapier Exp $ + +inherit eutils toolchain-funcs autotools + +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 + sed -i \ + -e "/^PKG_DOC_DIR/s:@pkg_name@:${PF}:" \ + include/builddefs.in \ + || die "sed include/builddefs.in failed" + # We'll handle /lib versus /usr/lib install + sed -i -e '/INSTALL.* -S .*LIBNAME/d' \ + include/buildmacros || die "sed symlinks" + eautoconf +} + +src_compile() { + export DEBUG=-DNDEBUG + export OPTIMIZER=${CFLAGS} + unset PLATFORM # if set in user env, this breaks configure + 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 +} |