diff options
author | Brad Teaford Cowan <bcowan@gentoo.org> | 2002-12-26 18:20:46 +0000 |
---|---|---|
committer | Brad Teaford Cowan <bcowan@gentoo.org> | 2002-12-26 18:20:46 +0000 |
commit | b3f8c9f90cd2d477a4d69d5c941e354a8b679eb3 (patch) | |
tree | 427be38e7f714d26262482179f2b5f382dca37d9 /sys-apps/xfsprogs | |
parent | 2.0 release. Closes #12710 (diff) | |
download | gentoo-2-b3f8c9f90cd2d477a4d69d5c941e354a8b679eb3.tar.gz gentoo-2-b3f8c9f90cd2d477a4d69d5c941e354a8b679eb3.tar.bz2 gentoo-2-b3f8c9f90cd2d477a4d69d5c941e354a8b679eb3.zip |
changed some sedding to flag-o-matic, and added some exported vars
Diffstat (limited to 'sys-apps/xfsprogs')
-rw-r--r-- | sys-apps/xfsprogs/ChangeLog | 8 | ||||
-rw-r--r-- | sys-apps/xfsprogs/files/digest-xfsprogs-2.3.6-r2 | 1 | ||||
-rw-r--r-- | sys-apps/xfsprogs/xfsprogs-2.3.6-r2.ebuild | 48 |
3 files changed, 56 insertions, 1 deletions
diff --git a/sys-apps/xfsprogs/ChangeLog b/sys-apps/xfsprogs/ChangeLog index d76f68adb259..6ac476866eee 100644 --- a/sys-apps/xfsprogs/ChangeLog +++ b/sys-apps/xfsprogs/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-apps/xfsprogs # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/sys-apps/xfsprogs/ChangeLog,v 1.11 2002/12/22 05:29:35 drobbins Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/xfsprogs/ChangeLog,v 1.12 2002/12/26 18:20:46 bcowan Exp $ + +*xfsprogs-2.3.6-r2 (26 Dec 2002) + + 26 Dec 2002; Brad Cowan <bcowan@gentoo.org> xfsprogs-2.3.6-r2.ebuild, + files/digest-xfsprogs-2.3.6-r2: + Changed some sedding to use flag-o-matic, and exported some vars. 21 Dec 2002; Daniel Robbins <drobbins@gentoo.org>: renamed xfsprogs version 20020330-r1 to 2.0.1_p20020330 to bring in line with CVS ebuild policy and diff --git a/sys-apps/xfsprogs/files/digest-xfsprogs-2.3.6-r2 b/sys-apps/xfsprogs/files/digest-xfsprogs-2.3.6-r2 new file mode 100644 index 000000000000..8138afd4b8d0 --- /dev/null +++ b/sys-apps/xfsprogs/files/digest-xfsprogs-2.3.6-r2 @@ -0,0 +1 @@ +MD5 661ffc4419a54195095da80e2aa17763 xfsprogs-2.3.6.src.tar.gz 758901 diff --git a/sys-apps/xfsprogs/xfsprogs-2.3.6-r2.ebuild b/sys-apps/xfsprogs/xfsprogs-2.3.6-r2.ebuild new file mode 100644 index 000000000000..d453801df163 --- /dev/null +++ b/sys-apps/xfsprogs/xfsprogs-2.3.6-r2.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/xfsprogs/xfsprogs-2.3.6-r2.ebuild,v 1.1 2002/12/26 18:20:46 bcowan Exp $ + +inherit flag-o-matic + +SRC_URI="ftp://oss.sgi.com/projects/xfs/download/cmd_tars/${P}.src.tar.gz" +HOMEPAGE="http://oss.sgi.com/projects/xfs" +DESCRIPTION="xfs filesystem utilities" + +KEYWORDS="~x86 ~alpha" +SLOT="0" +LICENSE="LGPL-2.1" + +S=${WORKDIR}/${P} + +DEPEND="sys-apps/e2fsprogs" + +src_compile() { + replace-flags -O[2-9] -O1 + export OPTIMIZER="${CFLAGS}" + export DEBUG=-DNDEBUG + + autoconf || die + + ./configure --prefix=/usr \ + --bindir=/bin \ + --sbindir=/sbin \ + --libdir=/lib \ + --libexecdir=/lib \ + --mandir=/usr/share/man || die "config failed" + + cp include/builddefs include/builddefs.orig + sed -e "s:/usr/share/doc/${PN}:/usr/share/doc/${PF}:" \ + -e 's:-O1::' -e '/-S $(PKG/d' \ + -e 's:^PKG_\(.*\)_DIR = \(.*\)$:PKG_\1_DIR = ${DESTDIR}\2:' \ + include/builddefs.orig > include/builddefs || die "sed failed" + + emake || die +} + +src_install() { + make DESTDIR=${D} DK_INC_DIR=${D}/usr/include/disk install install-dev || die "make install failed" + + cat ${S}/libhandle/.libs/libhandle.la | sed -e 's:installed=no:installed=yes:g' > ${D}/lib/libhandle.la + + dosym /lib/libhandle.so.1 /lib/libhandle.so +} |