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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Sun Oct 14 07:42:17 2012 UTC (2 years, 2 months ago) by mgorny
Branch: MAIN
Version bump.

(Portage version: 2.2.0_alpha137_p1/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.3 2012/05/24 04:33:22 vapier Exp $
4
5 EAPI=4
6
7 AUTOTOOLS_AUTORECONF=1
8 inherit autotools-utils flag-o-matic eutils
9
10 MY_P=zpaq${PV/./}
11 DESCRIPTION="Library to compress files 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="debug +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=3:0:0
35 # man-page is no longer there
36 ac_cv_prog_POD2MAN=
37 )
38
39 use debug || append-cppflags -DNDEBUG
40 use jit || append-cppflags -DNOJIT
41
42 autotools-utils_src_configure
43 }

  ViewVC Help
Powered by ViewVC 1.1.20