Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-libs/jpgalleg: jpgalleg-2.5.ebuild jpgalleg-1.1-r1.ebuild
Date: Mon, 28 Sep 2009 12:25:06
Message-Id: E1MsFHs-0000Pd-To@stork.gentoo.org
1 ssuominen 09/09/28 12:25:04
2
3 Modified: jpgalleg-2.5.ebuild
4 Removed: jpgalleg-1.1-r1.ebuild
5 Log:
6 old, qa
7 (Portage version: 2.2_rc42/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.3 media-libs/jpgalleg/jpgalleg-2.5.ebuild
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/jpgalleg/jpgalleg-2.5.ebuild?rev=1.3&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/jpgalleg/jpgalleg-2.5.ebuild?rev=1.3&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/jpgalleg/jpgalleg-2.5.ebuild?r1=1.2&r2=1.3
15
16 Index: jpgalleg-2.5.ebuild
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-libs/jpgalleg/jpgalleg-2.5.ebuild,v
19 retrieving revision 1.2
20 retrieving revision 1.3
21 diff -u -r1.2 -r1.3
22 --- jpgalleg-2.5.ebuild 22 Sep 2009 14:13:42 -0000 1.2
23 +++ jpgalleg-2.5.ebuild 28 Sep 2009 12:25:04 -0000 1.3
24 @@ -1,41 +1,33 @@
25 # Copyright 1999-2009 Gentoo Foundation
26 # Distributed under the terms of the GNU General Public License v2
27 -# $Header: /var/cvsroot/gentoo-x86/media-libs/jpgalleg/jpgalleg-2.5.ebuild,v 1.2 2009/09/22 14:13:42 maekke Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/media-libs/jpgalleg/jpgalleg-2.5.ebuild,v 1.3 2009/09/28 12:25:04 ssuominen Exp $
29
30 -inherit eutils
31 -
32 -DESCRIPTION="The jpeg loading routines are able to load almost any JPG image
33 -file with Allegro."
34 +DESCRIPTION="The jpeg loading routines are able to load almost any JPG image file with Allegro"
35 HOMEPAGE="http://www.ecplusplus.com/index.php?page=projects&pid=1"
36 -SRC_URI="http://www.ecplusplus.com/files/${PN}-${PV}.tar.gz"
37 +SRC_URI="http://www.ecplusplus.com/files/${P}.tar.gz"
38
39 LICENSE="ZLIB"
40 -KEYWORDS="x86"
41 SLOT="0"
42 +KEYWORDS="x86"
43 IUSE=""
44
45 -DEPEND=">=media-libs/allegro-4.0.0"
46 -S="${WORKDIR}/${PN}-${PV}"
47 -
48 -src_unpack() {
49 - unpack ${A}
50 - cd ${S}
51 -}
52 +RDEPEND=">=media-libs/allegro-4"
53 +DEPEND="${RDEPEND}"
54
55 src_compile() {
56 ./fix.sh unix --quick
57 - emake || die "emake failed"
58 + emake || die
59 }
60
61 src_install() {
62 - mkdir ${D}usr
63 - mkdir ${D}usr/include
64 - mkdir ${D}usr/lib
65 + dodir /usr
66 + dodir /usr/include
67 + dodir /usr/lib
68
69 - emake install INSTALL_BASE_PATH="${D}usr" || die "emake install failed"
70 + emake install INSTALL_BASE_PATH="${D}usr" || die
71
72 dodoc readme.txt
73
74 - insinto /usr/share/doc/${P}/examples
75 + insinto /usr/share/doc/${PF}/examples
76 doins examples/*
77 }