summaryrefslogtreecommitdiff
path: root/sys-fs
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-12-22 06:03:31 +0000
committerMike Frysinger <vapier@gentoo.org>2008-12-22 06:03:31 +0000
commitcd36a5457b9c0422fee33975f1f9f2785a90ee0d (patch)
treec3c70823429dffd025c4ad090736c6310feaae7c /sys-fs
parentMark ia64 stable #250473. (diff)
downloadgentoo-2-cd36a5457b9c0422fee33975f1f9f2785a90ee0d.tar.gz
gentoo-2-cd36a5457b9c0422fee33975f1f9f2785a90ee0d.tar.bz2
gentoo-2-cd36a5457b9c0422fee33975f1f9f2785a90ee0d.zip
Version bump #251651 by Lars (Polynomial-C).
(Portage version: 2.2_rc17/cvs/Linux 2.6.27.8 x86_64)
Diffstat (limited to 'sys-fs')
-rw-r--r--sys-fs/xfsprogs/ChangeLog7
-rw-r--r--sys-fs/xfsprogs/xfsprogs-2.10.2.ebuild61
2 files changed, 67 insertions, 1 deletions
diff --git a/sys-fs/xfsprogs/ChangeLog b/sys-fs/xfsprogs/ChangeLog
index a57d0551198c..aaea62566bb4 100644
--- a/sys-fs/xfsprogs/ChangeLog
+++ b/sys-fs/xfsprogs/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-fs/xfsprogs
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/xfsprogs/ChangeLog,v 1.104 2008/11/16 14:44:45 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/xfsprogs/ChangeLog,v 1.105 2008/12/22 06:03:31 vapier Exp $
+
+*xfsprogs-2.10.2 (22 Dec 2008)
+
+ 22 Dec 2008; Mike Frysinger <vapier@gentoo.org> +xfsprogs-2.10.2.ebuild:
+ Version bump #251651 by Lars (Polynomial-C).
16 Nov 2008; Diego E. Pettenò <flameeyes@gentoo.org>
+files/xfsprogs-2.10.1-parallelmake.patch, xfsprogs-2.10.1.ebuild:
diff --git a/sys-fs/xfsprogs/xfsprogs-2.10.2.ebuild b/sys-fs/xfsprogs/xfsprogs-2.10.2.ebuild
new file mode 100644
index 000000000000..1de5aaafaec0
--- /dev/null
+++ b/sys-fs/xfsprogs/xfsprogs-2.10.2.ebuild
@@ -0,0 +1,61 @@
+# 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.10.2.ebuild,v 1.1 2008/12/22 06:03:31 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/cmd_tars/${MY_P}.tar.gz
+ ftp://oss.sgi.com/projects/xfs/previous/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.10.1-headers.patch
+ epatch "${FILESDIR}"/${PN}-2.8.18-symlinks.patch #166729
+ epatch "${FILESDIR}"/${PN}-2.10.1-parallelmake.patch # Upstream bug #797
+ 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
+}