summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-09-23 16:39:26 +0000
committerMike Frysinger <vapier@gentoo.org>2009-09-23 16:39:26 +0000
commite5a2372b52dd7efd9ab86bdc41799dc9e933fb5c (patch)
tree6789bb9333bbaa0ec7db3ad1b9b684a7642703d2 /sys-fs/xfsprogs
parentRemove virtual/libc (diff)
downloadgentoo-2-e5a2372b52dd7efd9ab86bdc41799dc9e933fb5c.tar.gz
gentoo-2-e5a2372b52dd7efd9ab86bdc41799dc9e933fb5c.tar.bz2
gentoo-2-e5a2372b52dd7efd9ab86bdc41799dc9e933fb5c.zip
Version bump #285985 by Lars Wendler.
(Portage version: 2.2_rc40/cvs/Linux x86_64)
Diffstat (limited to 'sys-fs/xfsprogs')
-rw-r--r--sys-fs/xfsprogs/ChangeLog7
-rw-r--r--sys-fs/xfsprogs/xfsprogs-3.0.3.ebuild54
2 files changed, 60 insertions, 1 deletions
diff --git a/sys-fs/xfsprogs/ChangeLog b/sys-fs/xfsprogs/ChangeLog
index f03da37d234a..75360d05308f 100644
--- a/sys-fs/xfsprogs/ChangeLog
+++ b/sys-fs/xfsprogs/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-fs/xfsprogs
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/xfsprogs/ChangeLog,v 1.118 2009/09/19 04:55:46 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/xfsprogs/ChangeLog,v 1.119 2009/09/23 16:39:26 vapier Exp $
+
+*xfsprogs-3.0.3 (23 Sep 2009)
+
+ 23 Sep 2009; Mike Frysinger <vapier@gentoo.org> +xfsprogs-3.0.3.ebuild:
+ Version bump #285985 by Lars Wendler.
19 Sep 2009; Robin H. Johnson <robbat2@gentoo.org>
xfsprogs-3.0.1-r1.ebuild:
diff --git a/sys-fs/xfsprogs/xfsprogs-3.0.3.ebuild b/sys-fs/xfsprogs/xfsprogs-3.0.3.ebuild
new file mode 100644
index 000000000000..4474c2ef681a
--- /dev/null
+++ b/sys-fs/xfsprogs/xfsprogs-3.0.3.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/xfsprogs/xfsprogs-3.0.3.ebuild,v 1.1 2009/09/23 16:39:26 vapier Exp $
+
+inherit eutils toolchain-funcs multilib
+
+DESCRIPTION="xfs filesystem utilities"
+HOMEPAGE="http://oss.sgi.com/projects/xfs/"
+SRC_URI="ftp://oss.sgi.com/projects/xfs/cmd_tars/${P}.tar.gz
+ ftp://oss.sgi.com/projects/xfs/previous/cmd_tars/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86"
+IUSE="nls static"
+
+RDEPEND="sys-fs/e2fsprogs
+ !<sys-fs/xfsdump-3"
+DEPEND="${RDEPEND}
+ nls? ( sys-devel/gettext )"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${PN}-3.0.1-sharedlibs.patch
+ sed -i \
+ -e "/^PKG_DOC_DIR/s:@pkg_name@:${PF}:" \
+ include/builddefs.in \
+ || die "sed include/builddefs.in failed"
+ sed -i '1iLLDFLAGS = -static' {estimate,fsr}/Makefile
+ sed -i \
+ -e "/LLDFLAGS/s:-static:$(use static && echo -all-static):" \
+ $(find -name Makefile)
+}
+
+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"
+ # handle is for xfsdump, the rest for xfsprogs
+ gen_usr_ldscript -a disk handle xfs xlog
+ prepalldocs
+}