From f661f8ffa4e88cdf90018f7dfad5cb2bd28fd246 Mon Sep 17 00:00:00 2001 From: devsk Date: Sun, 27 May 2007 18:32:24 +0000 Subject: sys-fs/unionfs-utils: New Ebuild for bug 179130. svn path=/sunrise/; revision=3760 --- sys-fs/unionfs-utils/unionfs-utils-0.2.1.ebuild | 36 +++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 sys-fs/unionfs-utils/unionfs-utils-0.2.1.ebuild (limited to 'sys-fs/unionfs-utils/unionfs-utils-0.2.1.ebuild') diff --git a/sys-fs/unionfs-utils/unionfs-utils-0.2.1.ebuild b/sys-fs/unionfs-utils/unionfs-utils-0.2.1.ebuild new file mode 100644 index 000000000..a6edcac12 --- /dev/null +++ b/sys-fs/unionfs-utils/unionfs-utils-0.2.1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +DESCRIPTION="System Utilities for UnionFS" +HOMEPAGE="http://www.fsl.cs.sunysb.edu/project-unionfs.html" +SRC_URI="ftp://ftp.fsl.cs.sunysb.edu/pub/unionfs/unionfs-utils-0.x/${P/-/_}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="static" + +DEPEND="" +RDEPEND="" + +S=${WORKDIR}/${P/-/_} + +src_compile() { + # --enable-static for this package is for libraries only. + # livecd and initrd want these in /sbin static or not, + # whereas the package puts them in /usr/bin. + local myconf="--bindir=/sbin --sbindir=/sbin" + + use static && myconf="--disable-shared --enable-static ${myconf}" + econf ${myconf} || die "econf failed" + + # bundled configure and libtool are not smart enough for static + use static && sed -i -e "s:^LDFLAGS =\(.*\):LDFLAGS = -all-static \1:g" Makefile + emake || die "emake failed" +} + +src_install () { + make DESTDIR="${D}" install || die "make install failed" + dodoc ChangeLog INSTALL NEWS README +} -- cgit v1.2.3-65-gdbad