summaryrefslogtreecommitdiff
blob: b0118babdd4d8f739c235a29b8cd6fac3f220d8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/quazip/quazip-0.3.ebuild,v 1.1 2010/10/18 10:19:57 jlec Exp $

EAPI="3"

inherit multilib qt4-r2

DESCRIPTION="A simple C++ wrapper over Gilles Vollant's ZIP/UNZIP package"
HOMEPAGE="http://quazip.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"

LICENSE="GPL-2 LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE=""

DEPEND="sys-libs/zlib
	x11-libs/qt-gui:4"
RDEPEND="${DEPEND}"

S="${WORKDIR}"/${P}/${PN}

DOCS="../NEWS ../README"

src_prepare() {
	sed -i \
		-e "s:/usr/local:${EPREFIX}/usr:" \
		-e "s:/lib:/$(get_libdir):" \
		${PN}.pro || die
	qt4-r2_src_prepare
}