diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-11-29 02:23:26 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-11-29 02:23:26 +0000 |
commit | a1435c0ae2e5b310801a1d726b244fb993ac25e3 (patch) | |
tree | 42dd86d9259382cda3665a37de7c20f621cac4a4 /sys-fs | |
parent | Clean up build so that we no longer have .a or .la files in /. (diff) | |
download | gentoo-2-a1435c0ae2e5b310801a1d726b244fb993ac25e3.tar.gz gentoo-2-a1435c0ae2e5b310801a1d726b244fb993ac25e3.tar.bz2 gentoo-2-a1435c0ae2e5b310801a1d726b244fb993ac25e3.zip |
Version bump.
(Portage version: 2.0.53_rc7)
Diffstat (limited to 'sys-fs')
-rw-r--r-- | sys-fs/xfsprogs/ChangeLog | 7 | ||||
-rw-r--r-- | sys-fs/xfsprogs/files/digest-xfsprogs-2.7.3 | 1 | ||||
-rw-r--r-- | sys-fs/xfsprogs/xfsprogs-2.7.3.ebuild | 61 |
3 files changed, 68 insertions, 1 deletions
diff --git a/sys-fs/xfsprogs/ChangeLog b/sys-fs/xfsprogs/ChangeLog index fa1bbc73bb73..532a7491b327 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.36 2005/09/02 23:07:35 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-fs/xfsprogs/ChangeLog,v 1.37 2005/11/29 02:23:26 vapier Exp $ + +*xfsprogs-2.7.3 (29 Nov 2005) + + 29 Nov 2005; Mike Frysinger <vapier@gentoo.org> +xfsprogs-2.7.3.ebuild: + Version bump. *xfsprogs-2.6.36 (02 Sep 2005) diff --git a/sys-fs/xfsprogs/files/digest-xfsprogs-2.7.3 b/sys-fs/xfsprogs/files/digest-xfsprogs-2.7.3 new file mode 100644 index 000000000000..b8b0e836e2e2 --- /dev/null +++ b/sys-fs/xfsprogs/files/digest-xfsprogs-2.7.3 @@ -0,0 +1 @@ +MD5 89728c0d84258c94e629bf39e4ba1509 xfsprogs-2.7.3.src.tar.gz 895400 diff --git a/sys-fs/xfsprogs/xfsprogs-2.7.3.ebuild b/sys-fs/xfsprogs/xfsprogs-2.7.3.ebuild new file mode 100644 index 000000000000..75e05d4a4703 --- /dev/null +++ b/sys-fs/xfsprogs/xfsprogs-2.7.3.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-fs/xfsprogs/xfsprogs-2.7.3.ebuild,v 1.1 2005/11/29 02:23:26 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=/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 +} |