summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-01-27 00:46:57 +0000
committerMike Frysinger <vapier@gentoo.org>2006-01-27 00:46:57 +0000
commitc3cd751a4ab672484463889b7fb6b4192071975c (patch)
treef51d70836f05b556277c05b478f406968f54848f /sys-fs/xfsprogs
parentrepoman: Trim trailing whitespace (diff)
downloadgentoo-2-c3cd751a4ab672484463889b7fb6b4192071975c.tar.gz
gentoo-2-c3cd751a4ab672484463889b7fb6b4192071975c.tar.bz2
gentoo-2-c3cd751a4ab672484463889b7fb6b4192071975c.zip
Version bump.
(Portage version: 2.1_pre3-r1)
Diffstat (limited to 'sys-fs/xfsprogs')
-rw-r--r--sys-fs/xfsprogs/ChangeLog9
-rw-r--r--sys-fs/xfsprogs/files/digest-xfsprogs-2.7.111
-rw-r--r--sys-fs/xfsprogs/xfsprogs-2.7.11.ebuild61
3 files changed, 69 insertions, 2 deletions
diff --git a/sys-fs/xfsprogs/ChangeLog b/sys-fs/xfsprogs/ChangeLog
index 532a7491b327..dc6b53413042 100644
--- a/sys-fs/xfsprogs/ChangeLog
+++ b/sys-fs/xfsprogs/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-fs/xfsprogs
-# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/xfsprogs/ChangeLog,v 1.37 2005/11/29 02:23:26 vapier Exp $
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/xfsprogs/ChangeLog,v 1.38 2006/01/27 00:46:57 vapier Exp $
+
+*xfsprogs-2.7.11 (27 Jan 2006)
+
+ 27 Jan 2006; Mike Frysinger <vapier@gentoo.org> +xfsprogs-2.7.11.ebuild:
+ Version bump.
*xfsprogs-2.7.3 (29 Nov 2005)
diff --git a/sys-fs/xfsprogs/files/digest-xfsprogs-2.7.11 b/sys-fs/xfsprogs/files/digest-xfsprogs-2.7.11
new file mode 100644
index 000000000000..882bc0c48ee5
--- /dev/null
+++ b/sys-fs/xfsprogs/files/digest-xfsprogs-2.7.11
@@ -0,0 +1 @@
+MD5 d4a78fced98c0f3f32627a473e8e0a59 xfsprogs-2.7.11.src.tar.gz 878186
diff --git a/sys-fs/xfsprogs/xfsprogs-2.7.11.ebuild b/sys-fs/xfsprogs/xfsprogs-2.7.11.ebuild
new file mode 100644
index 000000000000..aca241cc83bd
--- /dev/null
+++ b/sys-fs/xfsprogs/xfsprogs-2.7.11.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/xfsprogs/xfsprogs-2.7.11.ebuild,v 1.1 2006/01/27 00:46:57 vapier Exp $
+
+inherit flag-o-matic eutils
+
+DESCRIPTION="xfs filesystem utilities"
+HOMEPAGE="http://oss.sgi.com/projects/xfs/"
+SRC_URI="ftp://oss.sgi.com/projects/xfs/download/cmd_tars/${P}.src.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+IUSE="nls"
+
+RDEPEND="sys-fs/e2fsprogs"
+DEPEND="${RDEPEND}
+ nls? ( sys-devel/gettext )"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ # Inject our own CFLAGS / docpath
+ sed -i \
+ -e '/^GCFLAGS/s:-O1::' \
+ -e "/^PKG_DOC_DIR/s:=.*:= /usr/share/doc/${PF}:" \
+ 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() {
+ replace-flags -O[2-9] -O1
+ 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() {
+ make 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
+}