From: | "Michal Gorny (mgorny)" <mgorny@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in app-arch/zpaq-extras: ChangeLog zpaq-extras-0_p20110106.ebuild zpaq-extras-0_p20100426.ebuild |
Date: | Thu, 06 Jan 2011 16:10:33 |
Message-Id: | 20110106161022.A2D2820051@flycatcher.gentoo.org |
1 | mgorny 11/01/06 16:10:22 |
2 | |
3 | Modified: ChangeLog |
4 | Added: zpaq-extras-0_p20110106.ebuild |
5 | Removed: zpaq-extras-0_p20100426.ebuild |
6 | Log: |
7 | Bump to install standard ZPAQ configurations as well as they are not installed stand-alone anymore in >=app-arch/zpaq-2.03 (and the built-in variants don't accept arguments). |
8 | |
9 | (Portage version: 2.2.0_alpha12_p8/cvs/Linux x86_64) |
10 | |
11 | Revision Changes Path |
12 | 1.3 app-arch/zpaq-extras/ChangeLog |
13 | |
14 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-arch/zpaq-extras/ChangeLog?rev=1.3&view=markup |
15 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-arch/zpaq-extras/ChangeLog?rev=1.3&content-type=text/plain |
16 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-arch/zpaq-extras/ChangeLog?r1=1.2&r2=1.3 |
17 | |
18 | Index: ChangeLog |
19 | =================================================================== |
20 | RCS file: /var/cvsroot/gentoo-x86/app-arch/zpaq-extras/ChangeLog,v |
21 | retrieving revision 1.2 |
22 | retrieving revision 1.3 |
23 | diff -u -r1.2 -r1.3 |
24 | --- ChangeLog 5 Jan 2011 23:30:36 -0000 1.2 |
25 | +++ ChangeLog 6 Jan 2011 16:10:21 -0000 1.3 |
26 | @@ -1,6 +1,14 @@ |
27 | # ChangeLog for app-arch/zpaq-extras |
28 | # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
29 | -# $Header: /var/cvsroot/gentoo-x86/app-arch/zpaq-extras/ChangeLog,v 1.2 2011/01/05 23:30:36 mgorny Exp $ |
30 | +# $Header: /var/cvsroot/gentoo-x86/app-arch/zpaq-extras/ChangeLog,v 1.3 2011/01/06 16:10:21 mgorny Exp $ |
31 | + |
32 | +*zpaq-extras-0_p20110106 (06 Jan 2011) |
33 | + |
34 | + 06 Jan 2011; Michał Górny <mgorny@g.o> |
35 | + -zpaq-extras-0_p20100426.ebuild, +zpaq-extras-0_p20110106.ebuild: |
36 | + Bump to install standard ZPAQ configurations as well as they are not |
37 | + installed stand-alone anymore in >=app-arch/zpaq-2.03 (and the built-in |
38 | + variants don't accept arguments). |
39 | |
40 | 05 Jan 2011; Michał Górny <mgorny@g.o> |
41 | zpaq-extras-0_p20100426.ebuild: |
42 | |
43 | |
44 | |
45 | 1.1 app-arch/zpaq-extras/zpaq-extras-0_p20110106.ebuild |
46 | |
47 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-arch/zpaq-extras/zpaq-extras-0_p20110106.ebuild?rev=1.1&view=markup |
48 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-arch/zpaq-extras/zpaq-extras-0_p20110106.ebuild?rev=1.1&content-type=text/plain |
49 | |
50 | Index: zpaq-extras-0_p20110106.ebuild |
51 | =================================================================== |
52 | # Copyright 1999-2011 Gentoo Foundation |
53 | # Distributed under the terms of the GNU General Public License v2 |
54 | # $Header: /var/cvsroot/gentoo-x86/app-arch/zpaq-extras/zpaq-extras-0_p20110106.ebuild,v 1.1 2011/01/06 16:10:21 mgorny Exp $ |
55 | |
56 | EAPI=3 |
57 | inherit base toolchain-funcs |
58 | |
59 | DESCRIPTION="A set of additional compression profiles for app-arch/zpaq" |
60 | HOMEPAGE="http://mattmahoney.net/dc/zpaq.html" |
61 | SRC_URI="http://mattmahoney.net/dc/bwt_j3.zip |
62 | http://mattmahoney.net/dc/bwt_slowmode1.zip |
63 | http://mattmahoney.net/dc/bmp_j4.zip |
64 | http://mattmahoney.net/dc/exe_j1.zip |
65 | http://mattmahoney.net/dc/jpg_test2.zip |
66 | http://mattmahoney.net/dc/min.zip |
67 | http://mattmahoney.net/dc/fast.cfg -> zpaq-fast.cfg |
68 | http://mattmahoney.net/dc/mid.cfg -> zpaq-mid.cfg |
69 | http://mattmahoney.net/dc/max.cfg -> zpaq-max.cfg" |
70 | |
71 | LICENSE="GPL-3" |
72 | SLOT="0" |
73 | KEYWORDS="~amd64" |
74 | IUSE="" |
75 | |
76 | DEPEND="app-arch/unzip" |
77 | RDEPEND="!<app-arch/zpaq-2.03" |
78 | |
79 | S=${WORKDIR} |
80 | |
81 | src_unpack() { |
82 | local x |
83 | for x in ${A}; do |
84 | if [[ ${x} == *.cfg ]]; then |
85 | cp "${DISTDIR}"/${x} ${x#zpaq-} || die |
86 | fi |
87 | done |
88 | |
89 | default |
90 | } |
91 | |
92 | src_configure() { |
93 | sed \ |
94 | -e "s:^pcomp zpaq r:pcomp ${EPREFIX}/usr/bin/zpaq r${EPREFIX}/usr/share/zpaq/:" \ |
95 | -e "s:^pcomp \([^/]\):pcomp ${EPREFIX}/usr/libexec/zpaq/\1:" \ |
96 | -i *.cfg || die |
97 | |
98 | local sources=( *.cpp ) |
99 | # (the following assignment flattens the array) |
100 | progs=${sources[@]%.cpp} |
101 | } |
102 | |
103 | src_compile() { |
104 | tc-export CXX |
105 | emake ${progs} || die |
106 | } |
107 | |
108 | src_install() { |
109 | exeinto /usr/libexec/zpaq |
110 | doexe ${progs} || die |
111 | |
112 | insinto /usr/share/zpaq |
113 | doins *.cfg || die |
114 | } |