1 |
maekke 08/10/11 16:16:01 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: tic98-1.01-r3.ebuild |
5 |
Log: |
6 |
respect CFLAGS and LDFLAGS, bug #240804 |
7 |
(Portage version: 2.2_rc12/cvs/Linux 2.6.27-rc9 i686) |
8 |
|
9 |
Revision Changes Path |
10 |
1.9 media-gfx/tic98/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/tic98/ChangeLog?rev=1.9&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/tic98/ChangeLog?rev=1.9&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/tic98/ChangeLog?r1=1.8&r2=1.9 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/media-gfx/tic98/ChangeLog,v |
19 |
retrieving revision 1.8 |
20 |
retrieving revision 1.9 |
21 |
diff -u -r1.8 -r1.9 |
22 |
--- ChangeLog 31 Mar 2008 19:45:24 -0000 1.8 |
23 |
+++ ChangeLog 11 Oct 2008 16:16:01 -0000 1.9 |
24 |
@@ -1,6 +1,11 @@ |
25 |
# ChangeLog for media-gfx/tic98 |
26 |
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/tic98/ChangeLog,v 1.8 2008/03/31 19:45:24 maekke Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/tic98/ChangeLog,v 1.9 2008/10/11 16:16:01 maekke Exp $ |
29 |
+ |
30 |
+*tic98-1.01-r3 (11 Oct 2008) |
31 |
+ |
32 |
+ 11 Oct 2008; Markus Meier <maekke@g.o> +tic98-1.01-r3.ebuild: |
33 |
+ respect CFLAGS and LDFLAGS, bug #240804 |
34 |
|
35 |
*tic98-1.01-r2 (31 Mar 2008) |
36 |
|
37 |
|
38 |
|
39 |
|
40 |
1.1 media-gfx/tic98/tic98-1.01-r3.ebuild |
41 |
|
42 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/tic98/tic98-1.01-r3.ebuild?rev=1.1&view=markup |
43 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/tic98/tic98-1.01-r3.ebuild?rev=1.1&content-type=text/plain |
44 |
|
45 |
Index: tic98-1.01-r3.ebuild |
46 |
=================================================================== |
47 |
# Copyright 1999-2008 Gentoo Foundation |
48 |
# Distributed under the terms of the GNU General Public License v2 |
49 |
# $Header: /var/cvsroot/gentoo-x86/media-gfx/tic98/tic98-1.01-r3.ebuild,v 1.1 2008/10/11 16:16:01 maekke Exp $ |
50 |
|
51 |
inherit eutils |
52 |
|
53 |
DESCRIPTION="compressor for black-and-white images, in particular scanned documents" |
54 |
HOMEPAGE="http://membled.com/work/mirror/tic98/" |
55 |
SRC_URI="http://membled.com/work/mirror/tic98/${P}.tar.bz2" |
56 |
|
57 |
LICENSE="GPL-2" |
58 |
SLOT="0" |
59 |
KEYWORDS="~amd64 ~x86" |
60 |
IUSE="" |
61 |
|
62 |
DEPEND="" |
63 |
|
64 |
S="${WORKDIR}/${PN}" |
65 |
|
66 |
src_unpack() { |
67 |
unpack ${A} |
68 |
epatch "${FILESDIR}"/${P}-macos.patch |
69 |
cd "${S}" |
70 |
epatch "${FILESDIR}"/${P}-gentoo.diff |
71 |
|
72 |
# respect CFLAGS and LDFLAGS |
73 |
sed -i -e "s:CFLAGS= -O -Wall -Wno-unused:CFLAGS=${CFLAGS}:" \ |
74 |
-e "s:LIBS= -lm #-L/home/singlis/linux/lib -lccmalloc -ldl:LIBS= -lm ${LDFLAGS}:" \ |
75 |
Makefile || die |
76 |
} |
77 |
|
78 |
src_compile() { |
79 |
emake all || die |
80 |
emake all2 || die |
81 |
} |
82 |
|
83 |
src_install() { |
84 |
dodir /usr/bin |
85 |
emake BIN="${D}"usr/bin install || die |
86 |
|
87 |
# collision with media-gfx/netpbm, see bug #207534 |
88 |
rm "${D}"/usr/bin/pbmclean || die |
89 |
} |