Lines 1-14
Link Here
|
1 |
# Copyright 1999-2005 Gentoo Foundation |
1 |
# Copyright 1999-2005 Gentoo Foundation |
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/media-libs/libmpeg3/libmpeg3-1.5.2-r1.ebuild,v 1.8 2005/05/15 02:16:19 flameeyes Exp $ |
3 |
# $Header: |
4 |
|
4 |
|
5 |
inherit flag-o-matic eutils toolchain-funcs |
5 |
inherit flag-o-matic eutils toolchain-funcs |
6 |
|
6 |
|
7 |
PATCHLEVEL="1" |
|
|
8 |
DESCRIPTION="An mpeg library for linux" |
7 |
DESCRIPTION="An mpeg library for linux" |
9 |
HOMEPAGE="http://heroinewarrior.com/libmpeg3.php3" |
8 |
HOMEPAGE="http://heroinewarrior.com/libmpeg3.php3" |
10 |
SRC_URI="mirror://sourceforge/heroines/${P}-src.tar.bz2 |
9 |
SRC_URI="mirror://sourceforge/heroines/${P}-src.tar.bz2" |
11 |
http://digilander.libero.it/dgp85/gentoo/${PN}-patches-${PATCHLEVEL}.tar.bz2" |
|
|
12 |
|
10 |
|
13 |
LICENSE="GPL-2" |
11 |
LICENSE="GPL-2" |
14 |
SLOT="0" |
12 |
SLOT="0" |
Lines 32-38
Link Here
|
32 |
[ "`gcc-major-version`" -ge 4 ] || \ |
30 |
[ "`gcc-major-version`" -ge 4 ] || \ |
33 |
EPATCH_EXCLUDE="${EPATCH_EXCLUDE} 09_all_gcc4.patch" |
31 |
EPATCH_EXCLUDE="${EPATCH_EXCLUDE} 09_all_gcc4.patch" |
34 |
|
32 |
|
35 |
EPATCH_SUFFIX="patch" epatch ${WORKDIR}/${PV} |
33 |
EPATCH_SUFFIX="patch" epatch ${FILESDIR}/${PV} |
36 |
|
34 |
|
37 |
# remove a52 crap |
35 |
# remove a52 crap |
38 |
echo > Makefile.a52 |
36 |
echo > Makefile.a52 |
Lines 82-88
Link Here
|
82 |
# This patch patches the .h files that get installed into /usr/include |
80 |
# This patch patches the .h files that get installed into /usr/include |
83 |
# to show the correct include syntax '<>' instead of '""' This patch |
81 |
# to show the correct include syntax '<>' instead of '""' This patch |
84 |
# was also generated using info from SF's src.rpm |
82 |
# was also generated using info from SF's src.rpm |
85 |
epatch ${WORKDIR}/${PV}/gentoo-p2.patch |
83 |
epatch ${FILESDIR}/${PV}/gentoo-p2.patch |
86 |
make DESTDIR="${D}/usr" LIBDIR="$(get_libdir)" install || die |
84 |
make DESTDIR="${D}/usr" LIBDIR="$(get_libdir)" install || die |
87 |
dohtml -r docs |
85 |
dohtml -r docs |
88 |
} |
86 |
} |