summaryrefslogtreecommitdiff
path: root/sys-fs
diff options
context:
space:
mode:
authorMarkos Chandras <hwoarang@gentoo.org>2010-12-07 14:00:55 +0000
committerMarkos Chandras <hwoarang@gentoo.org>2010-12-07 14:00:55 +0000
commit768f10b0baef1ccdea288a05309642a1a2ac6cde (patch)
treec139ada456af3fce76d00200bccc201a43766160 /sys-fs
parentVersion bump. (diff)
downloadgentoo-2-768f10b0baef1ccdea288a05309642a1a2ac6cde.tar.gz
gentoo-2-768f10b0baef1ccdea288a05309642a1a2ac6cde.tar.bz2
gentoo-2-768f10b0baef1ccdea288a05309642a1a2ac6cde.zip
Version bump. Fix as-needed linking problems
(Portage version: 2.1.9.25/cvs/Linux x86_64)
Diffstat (limited to 'sys-fs')
-rw-r--r--sys-fs/fuse-zip/ChangeLog8
-rw-r--r--sys-fs/fuse-zip/files/fuse-zip-0.2.13-as-needed.patch11
-rw-r--r--sys-fs/fuse-zip/fuse-zip-0.2.13.ebuild38
3 files changed, 56 insertions, 1 deletions
diff --git a/sys-fs/fuse-zip/ChangeLog b/sys-fs/fuse-zip/ChangeLog
index 5dd3f188f4a5..1cc8d8065d29 100644
--- a/sys-fs/fuse-zip/ChangeLog
+++ b/sys-fs/fuse-zip/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-fs/fuse-zip
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/fuse-zip/ChangeLog,v 1.2 2010/08/28 19:24:42 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/fuse-zip/ChangeLog,v 1.3 2010/12/07 14:00:55 hwoarang Exp $
+
+*fuse-zip-0.2.13 (07 Dec 2010)
+
+ 07 Dec 2010; Markos Chandras <hwoarang@gentoo.org> +fuse-zip-0.2.13.ebuild,
+ +files/fuse-zip-0.2.13-as-needed.patch:
+ Version bump. Fix as-needed linking problems
28 Aug 2010; Markos Chandras <hwoarang@gentoo.org> fuse-zip-0.2.12.ebuild:
Restrict tests per bug #335027
diff --git a/sys-fs/fuse-zip/files/fuse-zip-0.2.13-as-needed.patch b/sys-fs/fuse-zip/files/fuse-zip-0.2.13-as-needed.patch
new file mode 100644
index 000000000000..9394b7b36e41
--- /dev/null
+++ b/sys-fs/fuse-zip/files/fuse-zip-0.2.13-as-needed.patch
@@ -0,0 +1,11 @@
+Index: fuse-zip-0.2.13/Makefile
+===================================================================
+--- fuse-zip-0.2.13.orig/Makefile
++++ fuse-zip-0.2.13/Makefile
+@@ -1,5 +1,5 @@
+ DEST=fuse-zip
+-LIBS=$(shell pkg-config fuse --libs) $(shell pkg-config libzip --libs) -Llib -lfusezip
++LIBS=-lfusezip $(shell pkg-config fuse --libs) $(shell pkg-config libzip --libs) -Llib
+ LIB=lib/libfusezip.a
+ CXXFLAGS=-g -O2 -Wall -Wextra
+ RELEASE_CXXFLAGS=-O2 -Wall -Wextra
diff --git a/sys-fs/fuse-zip/fuse-zip-0.2.13.ebuild b/sys-fs/fuse-zip/fuse-zip-0.2.13.ebuild
new file mode 100644
index 000000000000..a9a36f4ec3e8
--- /dev/null
+++ b/sys-fs/fuse-zip/fuse-zip-0.2.13.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/fuse-zip/fuse-zip-0.2.13.ebuild,v 1.1 2010/12/07 14:00:53 hwoarang Exp $
+
+EAPI=2
+
+inherit toolchain-funcs eutils
+
+DESCRIPTION="FUSE file system to navigate, extract, create and modify ZIP archives"
+HOMEPAGE="http://code.google.com/p/fuse-zip/"
+SRC_URI="http://fuse-zip.googlecode.com/files/${P}.tar.gz"
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="dev-libs/libzip
+ sys-fs/fuse"
+RDEPEND="${DEPEND}"
+
+RESTRICT="test"
+
+src_prepare() {
+ # Fix strip than installing fuse-zip
+ sed -i -e 's/install -m 755 -s/install -m 755/' Makefile || die "sed failed"
+ # ix broken makefile
+ epatch "${FILESDIR}"/"${P}"-as-needed.patch
+}
+
+src_compile() {
+ emake CXX="$(tc-getCXX)" CXXFLAGS="${CXXFLAGS} ${LDFLAGS}" || die
+}
+
+src_install() {
+ emake INSTALLPREFIX="${D}"/usr install || die "Failed to install"
+ prepalldocs
+}