/[gentoo-x86]/app-arch/pxz/pxz-9999.ebuild
Gentoo

Contents of /app-arch/pxz/pxz-9999.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Wed Aug 17 18:20:14 2011 UTC (3 years, 2 months ago) by vapier
Branch: MAIN
CVS Tags: HEAD
Add live git version and fix up various bugs.

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

1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: $
4
5 EAPI="3"
6
7 inherit toolchain-funcs flag-o-matic
8
9 if [[ ${PV} == "9999" ]] ; then
10 EGIT_REPO_URI="git://github.com/jnovy/pxz.git"
11 inherit git-2
12 else
13 MY_PV=${PV/_}
14 case ${MY_PV} in
15 *beta?*) MY_PV="${MY_PV/beta/beta.}git" ;;
16 esac
17 MY_P="${PN}-${MY_PV}"
18 SRC_URI="http://jnovy.fedorapeople.org/pxz/${MY_P}.tar.xz"
19 KEYWORDS="~amd64 ~x86"
20 S=${WORKDIR}/${MY_P/beta*/beta}
21 fi
22
23 DESCRIPTION="parallel LZMA compressor (no parallel decompression!)"
24 HOMEPAGE="http://jnovy.fedorapeople.org/pxz/"
25
26 LICENSE="GPL-2"
27 SLOT="0"
28 IUSE=""
29
30 # needs the library from xz-utils
31 # needs the libgomp library from gcc at runtime
32 DEPEND="app-arch/xz-utils
33 sys-devel/gcc[openmp]"
34 RDEPEND="${DEPEND}"
35
36 src_compile() {
37 append-lfs-flags
38 CFLAGS="${CFLAGS} ${CPPFLAGS}" \
39 emake CC="$(tc-getCC)" || die
40 }
41
42 src_install() {
43 emake install DESTDIR="${D}" || die
44 }

  ViewVC Help
Powered by ViewVC 1.1.20