summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-fs/aufs-util/aufs-util-3.2_p20130821.ebuild')
-rw-r--r--sys-fs/aufs-util/aufs-util-3.2_p20130821.ebuild38
1 files changed, 38 insertions, 0 deletions
diff --git a/sys-fs/aufs-util/aufs-util-3.2_p20130821.ebuild b/sys-fs/aufs-util/aufs-util-3.2_p20130821.ebuild
new file mode 100644
index 000000000000..da60b21d1fc8
--- /dev/null
+++ b/sys-fs/aufs-util/aufs-util-3.2_p20130821.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/aufs-util/aufs-util-3.2_p20130821.ebuild,v 1.1 2013/08/21 07:49:15 jlec Exp $
+
+EAPI=5
+
+inherit flag-o-matic linux-info multilib toolchain-funcs
+
+DESCRIPTION="Utilities are always necessary for aufs"
+HOMEPAGE="http://aufs.sourceforge.net/"
+SRC_URI="http://dev.gentoo.org/~jlec/distfiles/${P}.tar.xz"
+# git archive -v --prefix=${P}/ --remote=git://git.code.sf.net/p/aufs/aufs-util aufs3.2 -o ${P}.tar
+# xz -ve9 *.tar
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+ !sys-fs/aufs2
+ !<sys-fs/aufs3-3_p20130318"
+DEPEND="${RDEPEND}
+ <sys-fs/aufs-headers-3.9"
+
+src_prepare() {
+ sed \
+ -e "/LDFLAGS += -static -s/d" \
+ -e "/CFLAGS/s:-O::g" \
+ -i Makefile || die
+ sed \
+ -e "s:m 644 -s:m 644:g" \
+ -e "s:/usr/lib:/usr/$(get_libdir):g" \
+ -i libau/Makefile || die
+
+ tc-export CC AR
+ export HOSTCC=$(tc-getCC)
+}