From 937561305bfc6a96874395e0c54ba2e8306ef16d Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Sun, 1 Nov 2009 13:51:50 +0000 Subject: app-arch/zpaq-extras: Additional ebuild to bug #278021. svn path=/sunrise/; revision=9445 --- app-arch/zpaq-extras/ChangeLog | 8 ++++ app-arch/zpaq-extras/Manifest | 8 ++++ app-arch/zpaq-extras/metadata.xml | 5 +++ .../zpaq-extras/zpaq-extras-0_p20091101.ebuild | 44 ++++++++++++++++++++++ 4 files changed, 65 insertions(+) create mode 100644 app-arch/zpaq-extras/ChangeLog create mode 100644 app-arch/zpaq-extras/Manifest create mode 100644 app-arch/zpaq-extras/metadata.xml create mode 100644 app-arch/zpaq-extras/zpaq-extras-0_p20091101.ebuild (limited to 'app-arch') diff --git a/app-arch/zpaq-extras/ChangeLog b/app-arch/zpaq-extras/ChangeLog new file mode 100644 index 000000000..794a59004 --- /dev/null +++ b/app-arch/zpaq-extras/ChangeLog @@ -0,0 +1,8 @@ +# ChangeLog for app-arch/zpaq-extras +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + + 01 Nov 2009; Michał Górny (sedzimir) + +zpaq-extras-0_p20091101.ebuild, +metadata.xml: + Additional ebuild to bug #278021. + diff --git a/app-arch/zpaq-extras/Manifest b/app-arch/zpaq-extras/Manifest new file mode 100644 index 000000000..32f1fee31 --- /dev/null +++ b/app-arch/zpaq-extras/Manifest @@ -0,0 +1,8 @@ +DIST bmp_j4.zip 1711 RMD160 14791dd3b9737c11eea9f3dd21f9e515108a5bff SHA1 d1c7f2755dc91a639d2f95baf8c92fc9a3c12799 SHA256 1b43969dcd0f04ff6f1f90b9ae40c790b8740fa6fd1011d0c2153fc4c52fc842 +DIST bwt_j3.zip 16535 RMD160 523b09d25217531ed9829a1cc4e27413a15a0dcb SHA1 06b24a7cd749eac1958e73725bf4849395616939 SHA256 c5e75abdd8d8a3fb6effa3c467e98aeb3175068bd454a635baae79de024b9120 +DIST bwt_slowmode1.zip 138176 RMD160 71d456f7ebfa8af38f9e7e379105c4a3a7151637 SHA1 3bd01c1ca32d07fdb5ed71851de50e46d528394d SHA256 3b7fb3c4a2491b4f8b2c243f7f67a4f2c7d2b793558207001b2565f06e145a92 +DIST exe_j1.zip 9828 RMD160 5a2c83290a03fd54e6261ae4d791df5775500458 SHA1 28fa03a186aa47f7217201727fa3cdbd2ee7f635 SHA256 8e13ca38ed6fb7fd9ae5244c44b045f179b068c3d3281f1f2690c352e45ca239 +DIST jpg_test2.zip 12189 RMD160 5c8e133aa613aa5d2769ef8394fb9d4f65d9ce00 SHA1 da31b4afa85dc46e924bf407c018f2495cf0ef85 SHA256 b09eedf0760826fa6822d266c1e262e67ad4ac119e11235e192e208e558e4855 +EBUILD zpaq-extras-0_p20091101.ebuild 1023 RMD160 09f76f54ed5ce882ac01e67b290625f6c4937930 SHA1 ff43b5bb6c19a1ac432d22803ed20dc2d5f844ee SHA256 4e4369a91fbf9cae90e454a0d852c52d9eb2983291e42cc5b1479bf2f71edf8d +MISC ChangeLog 272 RMD160 bbc2c719042b3438c229d5b7b8c10d8ca6f40841 SHA1 b4f7a80a44f833b47af62ed9a36ccda6d8084cbf SHA256 03dca2128858bf766f39755f96bc925170d50fe8048e8a5df2b48fabc00c85c5 +MISC metadata.xml 171 RMD160 ed284df01c230fc7990a6b5888b39166d23f29ba SHA1 f3d64a69044b710e23fb874b3ee4cd338858c8b4 SHA256 a7b30fbacd0e4c312c07a3efac112a3794c81d134442d8104325734d03425adf diff --git a/app-arch/zpaq-extras/metadata.xml b/app-arch/zpaq-extras/metadata.xml new file mode 100644 index 000000000..6f1d493c5 --- /dev/null +++ b/app-arch/zpaq-extras/metadata.xml @@ -0,0 +1,5 @@ + + + + maintainer-wanted + diff --git a/app-arch/zpaq-extras/zpaq-extras-0_p20091101.ebuild b/app-arch/zpaq-extras/zpaq-extras-0_p20091101.ebuild new file mode 100644 index 000000000..ad06c5bdf --- /dev/null +++ b/app-arch/zpaq-extras/zpaq-extras-0_p20091101.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit toolchain-funcs + +DESCRIPTION="Extra configurations for zpaq" +HOMEPAGE="http://mattmahoney.net/dc/#zpaq" +SRC_URI="http://mattmahoney.net/dc/bwt_j3.zip + http://mattmahoney.net/dc/bwt_slowmode1.zip + http://mattmahoney.net/dc/bmp_j4.zip + http://mattmahoney.net/dc/exe_j1.zip + http://mattmahoney.net/dc/jpg_test2.zip" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +DEPEND="app-arch/unzip" +RDEPEND="" + +src_compile() { + local _prog + + mkdir bin + for _prog in bwtpre bwt_ jpeg_jo exe_jo; do + "$(tc-getCXX)" ${CXXFLAGS} ${_prog}.cpp -o bin/${_prog} \ + || die "compiling ${_prog} failed" + done + + sed \ + -e 's:^pcomp zpaq r:pcomp /usr/bin/zpaq r/usr/share/zpaq/:' \ + -e 's:^pcomp \([^/]\):pcomp /usr/libexec/zpaq/\1:' \ + -i *.cfg || die 'sed failed' +} + +src_install() { + exeinto /usr/libexec/zpaq + doexe bin/* || die 'dobin failed' + + insinto /usr/share/zpaq + doins *.cfg || die 'doins failed' +} -- cgit v1.2.3-65-gdbad