From 3177765b3a138e0e118554fa70fd69c697528ce3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20V=C3=A4th?= Date: Mon, 23 Aug 2010 13:09:10 +0200 Subject: squashfs: Bump EAPI --- sys-fs/squashfs-tools/squashfs-tools-3.2_p2-r1.ebuild | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys-fs/squashfs-tools/squashfs-tools-3.2_p2-r1.ebuild') diff --git a/sys-fs/squashfs-tools/squashfs-tools-3.2_p2-r1.ebuild b/sys-fs/squashfs-tools/squashfs-tools-3.2_p2-r1.ebuild index c35f0715..c56d6bdb 100644 --- a/sys-fs/squashfs-tools/squashfs-tools-3.2_p2-r1.ebuild +++ b/sys-fs/squashfs-tools/squashfs-tools-3.2_p2-r1.ebuild @@ -2,6 +2,8 @@ # Distributed under the terms of the GNU General Public License v2 # $Header $ +EAPI="3" + inherit toolchain-funcs eutils MY_PV=${PV/_p/-r} @@ -18,9 +20,7 @@ RDEPEND="sys-libs/zlib" S=${WORKDIR}/squashfs${MY_PV}/squashfs-tools -src_unpack() { - unpack ${A} - cd "${S}" +src_prepare() { sed -i \ -e 's:-O2:$(CFLAGS):' \ -e '/-lz/s:$: $(LDFLAGS):' \ -- cgit v1.2.3