summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Meier <maekke@gentoo.org>2008-10-11 16:16:01 +0000
committerMarkus Meier <maekke@gentoo.org>2008-10-11 16:16:01 +0000
commitab0ecb9d417858f220cccf6d99d9fd4b12eedc3f (patch)
tree6977444328d77a48f2a05c05cdfe77da3d15826b /media-gfx/tic98
parentFix broken Manifest, bug #241216. Remove leftover patch from filesdir. (diff)
downloadgentoo-2-ab0ecb9d417858f220cccf6d99d9fd4b12eedc3f.tar.gz
gentoo-2-ab0ecb9d417858f220cccf6d99d9fd4b12eedc3f.tar.bz2
gentoo-2-ab0ecb9d417858f220cccf6d99d9fd4b12eedc3f.zip
respect CFLAGS and LDFLAGS, bug #240804
(Portage version: 2.2_rc12/cvs/Linux 2.6.27-rc9 i686)
Diffstat (limited to 'media-gfx/tic98')
-rw-r--r--media-gfx/tic98/ChangeLog7
-rw-r--r--media-gfx/tic98/tic98-1.01-r3.ebuild43
2 files changed, 49 insertions, 1 deletions
diff --git a/media-gfx/tic98/ChangeLog b/media-gfx/tic98/ChangeLog
index 1186e101e22e..d876cf52b653 100644
--- a/media-gfx/tic98/ChangeLog
+++ b/media-gfx/tic98/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-gfx/tic98
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/tic98/ChangeLog,v 1.8 2008/03/31 19:45:24 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/tic98/ChangeLog,v 1.9 2008/10/11 16:16:01 maekke Exp $
+
+*tic98-1.01-r3 (11 Oct 2008)
+
+ 11 Oct 2008; Markus Meier <maekke@gentoo.org> +tic98-1.01-r3.ebuild:
+ respect CFLAGS and LDFLAGS, bug #240804
*tic98-1.01-r2 (31 Mar 2008)
diff --git a/media-gfx/tic98/tic98-1.01-r3.ebuild b/media-gfx/tic98/tic98-1.01-r3.ebuild
new file mode 100644
index 000000000000..9c68bb4d724c
--- /dev/null
+++ b/media-gfx/tic98/tic98-1.01-r3.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/tic98/tic98-1.01-r3.ebuild,v 1.1 2008/10/11 16:16:01 maekke Exp $
+
+inherit eutils
+
+DESCRIPTION="compressor for black-and-white images, in particular scanned documents"
+HOMEPAGE="http://membled.com/work/mirror/tic98/"
+SRC_URI="http://membled.com/work/mirror/tic98/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=""
+
+S="${WORKDIR}/${PN}"
+
+src_unpack() {
+ unpack ${A}
+ epatch "${FILESDIR}"/${P}-macos.patch
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-gentoo.diff
+
+ # respect CFLAGS and LDFLAGS
+ sed -i -e "s:CFLAGS= -O -Wall -Wno-unused:CFLAGS=${CFLAGS}:" \
+ -e "s:LIBS= -lm #-L/home/singlis/linux/lib -lccmalloc -ldl:LIBS= -lm ${LDFLAGS}:" \
+ Makefile || die
+}
+
+src_compile() {
+ emake all || die
+ emake all2 || die
+}
+
+src_install() {
+ dodir /usr/bin
+ emake BIN="${D}"usr/bin install || die
+
+ # collision with media-gfx/netpbm, see bug #207534
+ rm "${D}"/usr/bin/pbmclean || die
+}