Gentoo Archives: gentoo-commits

From: "Alexis Ballier (aballier)" <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-gfx/sam2p: ChangeLog sam2p-0.45-r1.ebuild
Date: Sun, 10 Feb 2008 10:59:14
Message-Id: E1JO9tw-0007h7-34@stork.gentoo.org
1 aballier 08/02/10 10:59:12
2
3 Modified: ChangeLog
4 Added: sam2p-0.45-r1.ebuild
5 Log:
6 Respect cflags, dont prestrip executables, call gmake for Makedep as GNU make is required, import a patch from bsd ports to make it build on fbsd, keyword ~x86-fbsd; install examples via examples useflag. There still remains that 'gmake Makedep' breaks if used with distcc, I couldn't fix it.
7 (Portage version: 2.1.4.2)
8
9 Revision Changes Path
10 1.22 media-gfx/sam2p/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/sam2p/ChangeLog?rev=1.22&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/sam2p/ChangeLog?rev=1.22&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/sam2p/ChangeLog?r1=1.21&r2=1.22
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-gfx/sam2p/ChangeLog,v
19 retrieving revision 1.21
20 retrieving revision 1.22
21 diff -u -r1.21 -r1.22
22 --- ChangeLog 18 Dec 2007 19:18:26 -0000 1.21
23 +++ ChangeLog 10 Feb 2008 10:59:11 -0000 1.22
24 @@ -1,6 +1,16 @@
25 # ChangeLog for media-gfx/sam2p
26 -# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/sam2p/ChangeLog,v 1.21 2007/12/18 19:18:26 jer Exp $
28 +# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/sam2p/ChangeLog,v 1.22 2008/02/10 10:59:11 aballier Exp $
30 +
31 +*sam2p-0.45-r1 (10 Feb 2008)
32 +
33 + 10 Feb 2008; Alexis Ballier <aballier@g.o>
34 + +files/sam2p-0.45-cflags.patch, +files/sam2p-0.45-fbsd.patch,
35 + +files/sam2p-0.45-nostrip.patch, +sam2p-0.45-r1.ebuild:
36 + Respect cflags, dont prestrip executables, call gmake for Makedep as GNU
37 + make is required, import a patch from bsd ports to make it build on fbsd,
38 + keyword ~x86-fbsd; install examples via examples useflag. There still
39 + remains that 'gmake Makedep' breaks if used with distcc, I couldn't fix it.
40
41 18 Dec 2007; Jeroen Roovers <jer@g.o> sam2p-0.45.ebuild:
42 Marked ~hppa (bug #195815).
43
44
45
46 1.1 media-gfx/sam2p/sam2p-0.45-r1.ebuild
47
48 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/sam2p/sam2p-0.45-r1.ebuild?rev=1.1&view=markup
49 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/sam2p/sam2p-0.45-r1.ebuild?rev=1.1&content-type=text/plain
50
51 Index: sam2p-0.45-r1.ebuild
52 ===================================================================
53 # Copyright 1999-2008 Gentoo Foundation
54 # Distributed under the terms of the GNU General Public License v2
55 # $Header: /var/cvsroot/gentoo-x86/media-gfx/sam2p/sam2p-0.45-r1.ebuild,v 1.1 2008/02/10 10:59:11 aballier Exp $
56
57 inherit toolchain-funcs eutils autotools
58
59 DESCRIPTION="Utility to convert raster images to EPS, PDF and many others"
60 HOMEPAGE="http://www.inf.bme.hu/~pts/sam2p/"
61 # The author refuses to distribute
62 SRC_URI="mirror://gentoo/${P}.tar.bz2"
63 LICENSE="GPL-2"
64 SLOT="0"
65 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
66 IUSE="examples gif"
67 DEPEND="dev-lang/perl"
68 RDEPEND="virtual/libc"
69
70 RESTRICT="test"
71
72 src_unpack() {
73 unpack ${A}
74 cd "${S}"
75 epatch "${FILESDIR}/${P}-fbsd.patch"
76 epatch "${FILESDIR}/${P}-nostrip.patch"
77 epatch "${FILESDIR}/${P}-cflags.patch"
78 eautoreconf
79 }
80
81 src_compile() {
82 tc-export CXX
83 # Makedep fails with distcc
84 if has distcc ${FEATURES}; then
85 die "disable FEATURES=distcc"
86 fi
87 econf --enable-lzw $(use_enable gif) || die "econf failed"
88 emake -j1 || die "make failed"
89 }
90
91 src_install() {
92 dobin sam2p || die "Failed to install sam2p"
93 dodoc README
94 if use examples; then
95 insinto /usr/share/doc/${PF}/examples
96 doins examples/*
97 fi
98 }
99
100
101
102 --
103 gentoo-commits@l.g.o mailing list