/[gentoo-x86]/app-arch/libzpaq/libzpaq-5.01.ebuild
Gentoo

Contents of /app-arch/libzpaq/libzpaq-5.01.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Thu May 24 04:33:22 2012 UTC (2 years, 1 month ago) by vapier
Branch: MAIN
Changes since 1.2: +2 -2 lines
Inherit eutils for epatch.

(Portage version: 2.2.0_alpha107_p3/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-arch/libzpaq/libzpaq-5.01.ebuild,v 1.2 2012/04/11 18:28:25 mgorny Exp $
4
5 EAPI=3
6
7 AUTOTOOLS_AUTORECONF=1
8 inherit autotools-utils flag-o-matic eutils
9
10 MY_P=${PN}${PV/./}
11 DESCRIPTION="Library to compress files or objects in the ZPAQ format"
12 HOMEPAGE="http://mattmahoney.net/dc/zpaq.html"
13 SRC_URI="http://mattmahoney.net/dc/${MY_P}.zip"
14
15 LICENSE="zpaq"
16 SLOT="0"
17 KEYWORDS="~amd64 ~x86"
18 IUSE="+jit static-libs"
19
20 DEPEND="app-arch/unzip"
21 RDEPEND=""
22
23 S=${WORKDIR}
24
25 src_prepare() {
26 EPATCH_OPTS+=-p1 epatch "${FILESDIR}"/0001-Add-autotools-files.patch
27 # XXX: update the patch instead when the old version is gone
28 touch libzpaqo.cpp || die
29 autotools-utils_src_prepare
30 }
31
32 src_configure() {
33 local myeconfargs=(
34 --with-library-version=2:0:0
35 )
36
37 use jit || append-flags -DNOJIT
38
39 autotools-utils_src_configure
40 }

  ViewVC Help
Powered by ViewVC 1.1.20