summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTavis Ormandy <taviso@gentoo.org>2004-05-24 17:10:37 +0000
committerTavis Ormandy <taviso@gentoo.org>2004-05-24 17:10:37 +0000
commitbd19ef04a01776cbcf95d3db9f615b19275406fc (patch)
tree3062f1b0114b094b25f9de4875ad9404f5284461 /app-arch/advancecomp/advancecomp-1.10.ebuild
parentMarked stable on hppa. (Manifest recommit) (diff)
downloadgentoo-2-bd19ef04a01776cbcf95d3db9f615b19275406fc.tar.gz
gentoo-2-bd19ef04a01776cbcf95d3db9f615b19275406fc.tar.bz2
gentoo-2-bd19ef04a01776cbcf95d3db9f615b19275406fc.zip
new release
Diffstat (limited to 'app-arch/advancecomp/advancecomp-1.10.ebuild')
-rw-r--r--app-arch/advancecomp/advancecomp-1.10.ebuild37
1 files changed, 37 insertions, 0 deletions
diff --git a/app-arch/advancecomp/advancecomp-1.10.ebuild b/app-arch/advancecomp/advancecomp-1.10.ebuild
new file mode 100644
index 000000000000..51fae6f15d93
--- /dev/null
+++ b/app-arch/advancecomp/advancecomp-1.10.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-arch/advancecomp/advancecomp-1.10.ebuild,v 1.1 2004/05/24 17:10:36 taviso Exp $
+
+inherit eutils
+
+IUSE="png"
+
+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="~x86 ~alpha ~ppc"
+DEPEND="sys-libs/zlib app-arch/bzip2"
+
+src_unpack() {
+ unpack ${A}
+ # bzip2 support wont compile, heres a quick patch.
+ cd ${S}; epatch ${FILESDIR}/${P}-bzip2-compile-plz-k-thx.diff
+}
+
+src_compile() {
+ econf --enable-bzip2 || die
+ emake || die
+}
+
+src_install() {
+ dobin advdef advzip
+ use png && dobin advpng advmng
+
+ dodoc HISTORY AUTHORS COPYING INSTALL README
+
+ doman doc/advdef.1 doc/advzip.1
+ use png && doman doc/advmng.1 doc/advpng.1
+}