summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2013-03-09 08:32:03 +0000
committerJustin Lecher <jlec@gentoo.org>2013-03-09 08:32:03 +0000
commit8ef6a0d60df7a634b9b6383cebc9c9f25cfda1ca (patch)
treecece31bc288275c1c160c81b71f2b1749753326b /dev-libs
parentAdd ~arm-linux keyword. (diff)
downloadgentoo-2-8ef6a0d60df7a634b9b6383cebc9c9f25cfda1ca.tar.gz
gentoo-2-8ef6a0d60df7a634b9b6383cebc9c9f25cfda1ca.tar.bz2
gentoo-2-8ef6a0d60df7a634b9b6383cebc9c9f25cfda1ca.zip
dev-libs/quazip: Fix PREFIX, #460860; respect multilib; install HTML_DOCS
(Portage version: 2.2.0_alpha166/cvs/Linux x86_64, signed Manifest commit with key 8009D6F070EB7916)
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/quazip/ChangeLog8
-rw-r--r--dev-libs/quazip/quazip-0.5.1-r1.ebuild (renamed from dev-libs/quazip/quazip-0.5.1.ebuild)19
2 files changed, 24 insertions, 3 deletions
diff --git a/dev-libs/quazip/ChangeLog b/dev-libs/quazip/ChangeLog
index 7baa9241dd2c..e1b823c1a4a1 100644
--- a/dev-libs/quazip/ChangeLog
+++ b/dev-libs/quazip/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-libs/quazip
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/quazip/ChangeLog,v 1.23 2013/03/08 19:18:27 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/quazip/ChangeLog,v 1.24 2013/03/09 08:32:03 jlec Exp $
+
+*quazip-0.5.1-r1 (09 Mar 2013)
+
+ 09 Mar 2013; Justin Lecher <jlec@gentoo.org> -quazip-0.5.1.ebuild,
+ +quazip-0.5.1-r1.ebuild:
+ Fix PREFIX, #460860; respect multilib; install HTML_DOCS
*quazip-0.5.1 (08 Mar 2013)
diff --git a/dev-libs/quazip/quazip-0.5.1.ebuild b/dev-libs/quazip/quazip-0.5.1-r1.ebuild
index f653be0cbcb6..64bbb3e839fa 100644
--- a/dev-libs/quazip/quazip-0.5.1.ebuild
+++ b/dev-libs/quazip/quazip-0.5.1-r1.ebuild
@@ -1,10 +1,10 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/quazip/quazip-0.5.1.ebuild,v 1.1 2013/03/08 19:18:27 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/quazip/quazip-0.5.1-r1.ebuild,v 1.1 2013/03/09 08:32:03 jlec Exp $
EAPI=5
-inherit qt4-r2
+inherit multilib qt4-r2
DESCRIPTION="A simple C++ wrapper over Gilles Vollant's ZIP/UNZIP package"
HOMEPAGE="http://quazip.sourceforge.net/"
@@ -23,7 +23,22 @@ RDEPEND="${DEPEND}"
S="${WORKDIR}"/${P}
DOCS="NEWS.txt README.txt"
+HTML_DOCS=( doc/html/. )
PATCHES=(
"${FILESDIR}"/${PN}-0.4.4-zlib.patch
"${FILESDIR}"/${P}-zlib.patch )
+
+src_prepare() {
+ sed \
+ -e "1i\PREFIX = \"${PREFIX}/usr/\"" \
+ -e "s:/lib$:/$(get_libdir):g" \
+ -i ${PN}/${PN}.pro || die
+ qt4-r2_src_prepare
+}
+
+src_install() {
+ insinto /usr/share/cmake/Modules
+ doins FindQuaZip.cmake
+ qt4-r2_src_install
+}