diff options
Diffstat (limited to 'sys-fs/xfsprogs')
-rw-r--r-- | sys-fs/xfsprogs/ChangeLog | 7 | ||||
-rw-r--r-- | sys-fs/xfsprogs/files/digest-xfsprogs-2.6.25 | 1 | ||||
-rw-r--r-- | sys-fs/xfsprogs/xfsprogs-2.6.25.ebuild | 70 |
3 files changed, 77 insertions, 1 deletions
diff --git a/sys-fs/xfsprogs/ChangeLog b/sys-fs/xfsprogs/ChangeLog index 22664647b1d9..60cf112e53ba 100644 --- a/sys-fs/xfsprogs/ChangeLog +++ b/sys-fs/xfsprogs/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-fs/xfsprogs # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/xfsprogs/ChangeLog,v 1.24 2004/10/08 00:36:02 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-fs/xfsprogs/ChangeLog,v 1.25 2004/10/10 00:01:27 vapier Exp $ + +*xfsprogs-2.6.25 (09 Oct 2004) + + 09 Oct 2004; Mike Frysinger <vapier@gentoo.org> +xfsprogs-2.6.25.ebuild: + Version bump. 07 Oct 2004; <solar@gentoo.org> +files/2.6.13-uclibc-mincore.patch, xfsprogs-2.6.13.ebuild: diff --git a/sys-fs/xfsprogs/files/digest-xfsprogs-2.6.25 b/sys-fs/xfsprogs/files/digest-xfsprogs-2.6.25 new file mode 100644 index 000000000000..4ed43c92a1dc --- /dev/null +++ b/sys-fs/xfsprogs/files/digest-xfsprogs-2.6.25 @@ -0,0 +1 @@ +MD5 4693399ce748e1357fc47c7ec443b17c xfsprogs-2.6.25.src.tar.gz 850101 diff --git a/sys-fs/xfsprogs/xfsprogs-2.6.25.ebuild b/sys-fs/xfsprogs/xfsprogs-2.6.25.ebuild new file mode 100644 index 000000000000..ac224b6f3f54 --- /dev/null +++ b/sys-fs/xfsprogs/xfsprogs-2.6.25.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-fs/xfsprogs/xfsprogs-2.6.25.ebuild,v 1.1 2004/10/10 00:01:27 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 ~sparc ~x86" +IUSE="nls" + +RDEPEND="virtual/libc + sys-fs/e2fsprogs" +DEPEND="${RDEPEND} + nls? ( sys-devel/gettext ) + >=sys-apps/sed-4" + +src_unpack() { + unpack ${A} + cd ${S} + cp include/builddefs.in{,.orig} + sed -i \ + -e '/^GCFLAGS/s:-O1::' \ + -e "/^PKG_DOC_DIR/s:=.*:= /usr/share/doc/${PF}:" \ + -e '/^PKG_[[:upper:]]*_DIR/s:= := $(DESTDIR):' \ + include/builddefs.in \ + || die "sed include/builddefs.in failed" +} + +src_compile() { + replace-flags -O[2-9] -O1 + export OPTIMIZER="${CFLAGS}" + export DEBUG=-DNDEBUG + + # Some archs need the PLATFORM var unset + if hasq ${ARCH} mips ppc sparc; then + unset PLATFORM + fi + + econf \ + --bindir=/bin \ + --sbindir=/sbin \ + --libdir=/lib \ + --libexecdir=/lib \ + $(use_enable nls gettext) \ + || die "config failed" + emake || die +} + +src_install() { + make \ + DESTDIR=${D} \ + DK_INC_DIR=${D}/usr/include/disk \ + install install-dev \ + || die "make install failed" + dosym /lib/libhandle.so.1 /lib/libhandle.so + + dodir /usr/lib + sed \ + -e 's:installed=no:installed=yes:g' \ + ${S}/libhandle/.libs/libhandle.la \ + > ${D}/usr/lib/libhandle.la \ + || die "sed failed" + mv ${D}/lib/*.a ${D}/usr/lib/ || die "mv failed" + prepalldocs +} |