1 |
vapier 09/08/23 00:52:55 |
2 |
|
3 |
Modified: ChangeLog jpeg-7.ebuild |
4 |
Log: |
5 |
Hook the extra subdir into the normal jpeg dir so we can re-use the configure environment and thus simplify the rest of the ebuild. Drop external libtool dep since jpeg bundles its own sane version. |
6 |
(Portage version: 2.2_rc38/cvs/Linux x86_64) |
7 |
|
8 |
Revision Changes Path |
9 |
1.73 media-libs/jpeg/ChangeLog |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/jpeg/ChangeLog?rev=1.73&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/jpeg/ChangeLog?rev=1.73&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/jpeg/ChangeLog?r1=1.72&r2=1.73 |
14 |
|
15 |
Index: ChangeLog |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo-x86/media-libs/jpeg/ChangeLog,v |
18 |
retrieving revision 1.72 |
19 |
retrieving revision 1.73 |
20 |
diff -u -r1.72 -r1.73 |
21 |
--- ChangeLog 22 Aug 2009 12:16:57 -0000 1.72 |
22 |
+++ ChangeLog 23 Aug 2009 00:52:55 -0000 1.73 |
23 |
@@ -1,6 +1,11 @@ |
24 |
# ChangeLog for media-libs/jpeg |
25 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
26 |
-# $Header: /var/cvsroot/gentoo-x86/media-libs/jpeg/ChangeLog,v 1.72 2009/08/22 12:16:57 ssuominen Exp $ |
27 |
+# $Header: /var/cvsroot/gentoo-x86/media-libs/jpeg/ChangeLog,v 1.73 2009/08/23 00:52:55 vapier Exp $ |
28 |
+ |
29 |
+ 23 Aug 2009; Mike Frysinger <vapier@g.o> jpeg-7.ebuild: |
30 |
+ Hook the extra subdir into the normal jpeg dir so we can re-use the |
31 |
+ configure environment and thus simplify the rest of the ebuild. Drop |
32 |
+ external libtool dep since jpeg bundles its own sane version. |
33 |
|
34 |
22 Aug 2009; Samuli Suominen <ssuominen@g.o> jpeg-7.ebuild, |
35 |
+files/jpeg-7-maxmem_sysconf.patch: |
36 |
|
37 |
|
38 |
|
39 |
1.4 media-libs/jpeg/jpeg-7.ebuild |
40 |
|
41 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/jpeg/jpeg-7.ebuild?rev=1.4&view=markup |
42 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/jpeg/jpeg-7.ebuild?rev=1.4&content-type=text/plain |
43 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/jpeg/jpeg-7.ebuild?r1=1.3&r2=1.4 |
44 |
|
45 |
Index: jpeg-7.ebuild |
46 |
=================================================================== |
47 |
RCS file: /var/cvsroot/gentoo-x86/media-libs/jpeg/jpeg-7.ebuild,v |
48 |
retrieving revision 1.3 |
49 |
retrieving revision 1.4 |
50 |
diff -u -r1.3 -r1.4 |
51 |
--- jpeg-7.ebuild 22 Aug 2009 12:16:57 -0000 1.3 |
52 |
+++ jpeg-7.ebuild 23 Aug 2009 00:52:55 -0000 1.4 |
53 |
@@ -1,9 +1,9 @@ |
54 |
# Copyright 1999-2009 Gentoo Foundation |
55 |
# Distributed under the terms of the GNU General Public License v2 |
56 |
-# $Header: /var/cvsroot/gentoo-x86/media-libs/jpeg/jpeg-7.ebuild,v 1.3 2009/08/22 12:16:57 ssuominen Exp $ |
57 |
+# $Header: /var/cvsroot/gentoo-x86/media-libs/jpeg/jpeg-7.ebuild,v 1.4 2009/08/23 00:52:55 vapier Exp $ |
58 |
|
59 |
-EAPI=2 |
60 |
-inherit eutils libtool toolchain-funcs |
61 |
+EAPI="2" |
62 |
+inherit eutils libtool |
63 |
|
64 |
DESCRIPTION="Library to load, handle and manipulate images in the JPEG format" |
65 |
HOMEPAGE="http://www.ijg.org/" |
66 |
@@ -15,13 +15,18 @@ |
67 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd" |
68 |
IUSE="" |
69 |
|
70 |
-RDEPEND="" |
71 |
-DEPEND="${RDEPEND} |
72 |
- sys-devel/libtool" |
73 |
- |
74 |
src_prepare() { |
75 |
epatch "${FILESDIR}"/${P}-maxmem_sysconf.patch |
76 |
elibtoolize |
77 |
+ |
78 |
+ # hook the extra dir into the normal jpeg build env |
79 |
+ mv ../${P}-extra extra |
80 |
+ sed -i '/all:/s:$:\n\t$(MAKE) -C extra $@:' Makefile.in |
81 |
+ # newer extra tarball has this integrated |
82 |
+ cd extra |
83 |
+ sed -e 's:mandir:man1dir:' Makefile > Makefile.in |
84 |
+ grep ' = @' ../Makefile.in >> Makefile.in |
85 |
+ printf 'all %%:\n\t../config.status --file=Makefile:Makefile.in\n\t$(MAKE) $@' > Makefile |
86 |
} |
87 |
|
88 |
src_configure() { |
89 |
@@ -32,16 +37,7 @@ |
90 |
--enable-maxmem=64 |
91 |
} |
92 |
|
93 |
-src_compile() { |
94 |
- emake || die "emake failed" |
95 |
- tc-export CC |
96 |
- emake -C "${WORKDIR}"/${P}-extra || die "emake failed" |
97 |
-} |
98 |
- |
99 |
src_install() { |
100 |
- emake DESTDIR="${D}" install || die "emake install failed" |
101 |
- emake -C "${WORKDIR}"/${P}-extra DESTDIR="${D}" \ |
102 |
- install || die "emake install failed" |
103 |
- |
104 |
- dodoc example.c README *.{log,txt} || die "dodoc failed" |
105 |
+ emake DESTDIR="${D}" install || die |
106 |
+ dodoc example.c README *.{log,txt} |
107 |
} |