1 |
Guten Tag zusammen, |
2 |
|
3 |
zum Glück habe ich eine meiner Kisten noch nicht gesynced < klingt |
4 |
irgendwie furchtbar |
5 |
Vielleicht hilft Dir ja das alte ebuild - fragt sich nur, ob das nicht |
6 |
aus einem bestimmten Grund rausgeflogen ist |
7 |
Knall es also nach belieben in Dein Portage_Overlay, aber bitte hau mich |
8 |
nicht, wenn Dir die Kiste um die Ohren fliegt |
9 |
|
10 |
Gruß |
11 |
m. |
12 |
---jpeg-mmx-1.1.2-r1.ebuild--- |
13 |
# Copyright 1999-2005 Gentoo Foundation |
14 |
# Distributed under the terms of the GNU General Public License v2 |
15 |
# |
16 |
$Header: /var/cvsroot/gentoo-x86/media-libs/jpeg-mmx/jpeg-mmx-1.1.2-r1.ebuild,v 1.18 2005/05/11 15:18:09 azarah Exp $ |
17 |
|
18 |
inherit flag-o-matic eutils |
19 |
|
20 |
DESCRIPTION="JPEG library with mmx enhancements" |
21 |
HOMEPAGE="http://mjpeg.sourceforge.net/" |
22 |
SRC_URI="mirror://sourceforge/mjpeg/${P}.tar.gz" |
23 |
|
24 |
LICENSE="as-is" |
25 |
SLOT="0" |
26 |
KEYWORDS="-* x86" |
27 |
IUSE="" |
28 |
|
29 |
DEPEND="virtual/libc" |
30 |
|
31 |
S=${WORKDIR}/jpeg-mmx |
32 |
|
33 |
src_unpack() { |
34 |
unpack ${P}.tar.gz |
35 |
cd ${S} |
36 |
epatch ${FILESDIR}/${PV}-gcc34.patch |
37 |
} |
38 |
|
39 |
src_compile() { |
40 |
# Doesn't work with -fomit-frame-pointer, at least not on k6-2. |
41 |
# Someone mentioned that this may be a k6 issue only; I have |
42 |
# just a k6-2 to test it on, so I'll just adjust it for the |
43 |
# machine I can test. |
44 |
is-flag "-march=k6-3" && strip-flags "-fomit-frame-pointer" |
45 |
is-flag "-march=k6-2" && strip-flags "-fomit-frame-pointer" |
46 |
is-flag "-march=k6" && strip-flags "-fomit-frame-pointer" |
47 |
|
48 |
# Do not elibtoolize, as it uses libtool-1.2, and is really too ancient |
49 |
# for any of our patches to apply. |
50 |
#elibtoolize |
51 |
|
52 |
econf --enable-shared || die "configure failed" |
53 |
emake || die "make failed" |
54 |
} |
55 |
|
56 |
src_install() { |
57 |
dodir /usr/{include/jpeg-mmx,lib} |
58 |
make \ |
59 |
includedir=${D}/usr/include/jpeg-mmx \ |
60 |
prefix=${D}/usr \ |
61 |
install || die "install failed" |
62 |
|
63 |
mv ${D}/usr/lib/libjpeg.la ${D}/usr/lib/libjpeg-mmx.la |
64 |
mv ${D}/usr/lib/libjpeg.so.62.0.0 ${D}/usr/lib/libjpeg-mmx.so.62.0.0 |
65 |
rm ${D}/usr/lib/libjpeg.so |
66 |
ln -s /usr/lib/libjpeg-mmx.so.62.0.0 ${D}/usr/lib/libjpeg-mmx.so |
67 |
rm ${D}/usr/lib/libjpeg.so.62 |
68 |
ln -s /usr/lib/libjpeg-mmx.so.62.0.0 ${D}/usr/lib/libjpeg-mmx.so.62 |
69 |
dodoc README change.log structure.doc libjpeg.doc |
70 |
} |
71 |
---/jpeg-mmx-1.1.2-r1.ebuild--- |
72 |
|
73 |
Am Donnerstag, den 28.07.2005, 10:22 +0200 schrieb Matthias Riesterer: |
74 |
|
75 |
> On Thursday 28 July 2005 10:15, Matthias Nimscholz wrote: |
76 |
> > Bei mir ist das 0.1.6 - die Version ist wesentlich kleiner... |
77 |
> Oh, bei mir auch. Es ist noch früh ;) |
78 |
> |
79 |
> > Aber leider ändert das nichts am Problem - da muß man wohl abwarten, bis |
80 |
> > ein passendes ebuild wieder auftaucht. |
81 |
> Dann werd ich noch nen Tee trinken, vielleicht hilft das auch gegen Müdigkeit. |
82 |
> |
83 |
> Dank dir |
84 |
> |
85 |
> gruß |
86 |
> |
87 |
> matthias |
88 |
> |