Gentoo Archives: gentoo-commits

From: "Michal Gorny (mgorny)" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-arch/zpaq-extras: metadata.xml ChangeLog zpaq-extras-0_p20100426.ebuild
Date: Tue, 04 Jan 2011 23:21:06
Message-Id: 20110104232057.219732005C@flycatcher.gentoo.org
1 mgorny 11/01/04 23:20:57
2
3 Added: metadata.xml ChangeLog
4 zpaq-extras-0_p20100426.ebuild
5 Log:
6 Importing zpaq archiver extra compression profiles from Sunrise as per bug #278021.
7
8 (Portage version: 2.2.0_alpha12_p8/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.1 app-arch/zpaq-extras/metadata.xml
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-arch/zpaq-extras/metadata.xml?rev=1.1&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-arch/zpaq-extras/metadata.xml?rev=1.1&content-type=text/plain
15
16 Index: metadata.xml
17 ===================================================================
18 <?xml version="1.0" encoding="UTF-8"?>
19 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
20 <pkgmetadata>
21 <herd>no-herd</herd>
22 <maintainer>
23 <email>mgorny@g.o</email>
24 <name>Michał Górny</name>
25 </maintainer>
26 </pkgmetadata>
27
28
29
30 1.1 app-arch/zpaq-extras/ChangeLog
31
32 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-arch/zpaq-extras/ChangeLog?rev=1.1&view=markup
33 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-arch/zpaq-extras/ChangeLog?rev=1.1&content-type=text/plain
34
35 Index: ChangeLog
36 ===================================================================
37 # ChangeLog for app-arch/zpaq-extras
38 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
39 # $Header: /var/cvsroot/gentoo-x86/app-arch/zpaq-extras/ChangeLog,v 1.1 2011/01/04 23:20:57 mgorny Exp $
40
41 *zpaq-extras-0_p20100426 (04 Jan 2011)
42
43 04 Jan 2011; Michał Górny <mgorny@g.o>
44 +zpaq-extras-0_p20100426.ebuild, +metadata.xml:
45 Importing zpaq archiver extra compression profiles from Sunrise as per bug
46 #278021.
47
48
49
50
51 1.1 app-arch/zpaq-extras/zpaq-extras-0_p20100426.ebuild
52
53 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-arch/zpaq-extras/zpaq-extras-0_p20100426.ebuild?rev=1.1&view=markup
54 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-arch/zpaq-extras/zpaq-extras-0_p20100426.ebuild?rev=1.1&content-type=text/plain
55
56 Index: zpaq-extras-0_p20100426.ebuild
57 ===================================================================
58 # Copyright 1999-2011 Gentoo Foundation
59 # Distributed under the terms of the GNU General Public License v2
60 # $Header: /var/cvsroot/gentoo-x86/app-arch/zpaq-extras/zpaq-extras-0_p20100426.ebuild,v 1.1 2011/01/04 23:20:57 mgorny Exp $
61
62 inherit toolchain-funcs
63
64 DESCRIPTION="A set of additional compression profiles for app-arch/zpaq"
65 HOMEPAGE="http://mattmahoney.net/dc/zpaq.html"
66 SRC_URI="http://mattmahoney.net/dc/bwt_j3.zip
67 http://mattmahoney.net/dc/bwt_slowmode1.zip
68 http://mattmahoney.net/dc/bmp_j4.zip
69 http://mattmahoney.net/dc/exe_j1.zip
70 http://mattmahoney.net/dc/jpg_test2.zip
71 http://mattmahoney.net/dc/fast.cfg"
72
73 LICENSE="GPL-3"
74 SLOT="0"
75 KEYWORDS="~amd64"
76 IUSE=""
77
78 DEPEND="app-arch/unzip"
79 RDEPEND=""
80
81 src_compile() {
82 tc-export CXX
83 progs='bwtpre bwt_ jpeg_jo exe_jo'
84 emake ${progs} || die
85
86 sed \
87 -e 's:^pcomp zpaq r:pcomp /usr/bin/zpaq r/usr/share/zpaq/:' \
88 -e 's:^pcomp \([^/]\):pcomp /usr/libexec/zpaq/\1:' \
89 -i *.cfg || die
90 }
91
92 src_install() {
93 exeinto /usr/libexec/zpaq
94 doexe ${progs} || die
95
96 insinto /usr/share/zpaq
97 doins *.cfg "${DISTDIR}"/fast.cfg || die
98 }