summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Stelling <blubb@gentoo.org>2007-02-04 21:39:52 +0000
committerSimon Stelling <blubb@gentoo.org>2007-02-04 21:39:52 +0000
commitd9b3fd23f288ab4e9ed77655e2089def0eca13bf (patch)
treeb95a65f65ca966f753cabca875b1fa42f7c79081 /app-arch/advancecomp/advancecomp-1.15.ebuild
parentStable on amd64 wrt bug #149637 (diff)
downloadhistorical-d9b3fd23f288ab4e9ed77655e2089def0eca13bf.tar.gz
historical-d9b3fd23f288ab4e9ed77655e2089def0eca13bf.tar.bz2
historical-d9b3fd23f288ab4e9ed77655e2089def0eca13bf.zip
version bump to fix bug 151616
Package-Manager: portage-2.1.2-r7
Diffstat (limited to 'app-arch/advancecomp/advancecomp-1.15.ebuild')
-rw-r--r--app-arch/advancecomp/advancecomp-1.15.ebuild45
1 files changed, 45 insertions, 0 deletions
diff --git a/app-arch/advancecomp/advancecomp-1.15.ebuild b/app-arch/advancecomp/advancecomp-1.15.ebuild
new file mode 100644
index 000000000000..5414c4bd0d4a
--- /dev/null
+++ b/app-arch/advancecomp/advancecomp-1.15.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-arch/advancecomp/advancecomp-1.15.ebuild,v 1.1 2007/02/04 21:39:52 blubb Exp $
+
+inherit eutils
+
+DESCRIPTION="Recompress ZIP, PNG and MNG using deflate 7-Zip, considerably improving compression"
+HOMEPAGE="http://advancemame.sourceforge.net/comp-readme.html"
+SRC_URI="mirror://sourceforge/advancemame/${P}.tar.gz"
+
+LICENSE="GPL-2 LGPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~x86 ~x86-fbsd"
+IUSE="png mng"
+
+DEPEND="sys-libs/zlib app-arch/bzip2"
+
+src_unpack() {
+ unpack ${A}
+
+ # bzip2 support wont compile, here's a quick patch.
+ cd ${S}; epatch ${FILESDIR}/${PN}-1.13-bzip2-compile-plz-k-thx.diff
+}
+
+src_compile() {
+ econf --enable-bzip2 || die
+ emake || die
+}
+
+src_install() {
+ dobin advdef advzip
+
+ use png && {
+ dobin advpng
+ doman doc/advpng.1
+ }
+
+ use mng && {
+ dobin advmng
+ doman doc/advmng.1
+ }
+
+ dodoc HISTORY AUTHORS README
+ doman doc/advdef.1 doc/advzip.1
+}