|
Lines 4-16
Link Here
|
| 4 |
|
4 |
|
| 5 |
inherit flag-o-matic eutils |
5 |
inherit flag-o-matic eutils |
| 6 |
|
6 |
|
|
|
7 |
MY_PV=${PV/_rc/-RC} |
| 8 |
SLOT="0.8" |
| 9 |
|
| 7 |
DESCRIPTION="multi-platform game development library" |
10 |
DESCRIPTION="multi-platform game development library" |
| 8 |
HOMEPAGE="http://www.clanlib.org/" |
11 |
HOMEPAGE="http://www.clanlib.org/" |
| 9 |
SRC_URI="http://www.clanlib.org/download/files/ClanLib-${PV}-1.tar.bz2" |
12 |
SRC_URI="http://www.clanlib.org/download/releases-${SLOT}/ClanLib-${MY_PV}.tgz" |
| 10 |
|
13 |
|
| 11 |
LICENSE="LGPL-2" |
14 |
LICENSE="ZLIB" |
| 12 |
SLOT="0.7" |
15 |
KEYWORDS="~amd64 ~x86" #not big endian safe #82779 |
| 13 |
KEYWORDS="amd64 x86" #not big endian safe #82779 |
|
|
| 14 |
IUSE="opengl sdl vorbis doc mikmod ipv6" |
16 |
IUSE="opengl sdl vorbis doc mikmod ipv6" |
| 15 |
|
17 |
|
| 16 |
# opengl keyword does not drop the GL/GLU requirement. |
18 |
# opengl keyword does not drop the GL/GLU requirement. |
|
Lines 41-56
Link Here
|
| 41 |
virtual/x11 |
43 |
virtual/x11 |
| 42 |
)" |
44 |
)" |
| 43 |
|
45 |
|
| 44 |
S="${WORKDIR}/ClanLib-${PV}" |
46 |
S="${WORKDIR}/ClanLib-${MY_PV}" |
| 45 |
|
47 |
|
| 46 |
src_unpack() { |
48 |
src_unpack() { |
| 47 |
unpack ${A} |
49 |
unpack ${A} |
| 48 |
cd ${S} |
50 |
cd ${S} |
| 49 |
find . -name .cvsignore -exec rm -f '{}' \; |
51 |
find . -name .cvsignore -exec rm -f '{}' \; |
| 50 |
epatch "${FILESDIR}"/${PV}-port.patch \ |
52 |
epatch "${FILESDIR}"/${P}-gcc41.patch |
| 51 |
"${FILESDIR}"/${PV}-install-opengl-wrap.patch \ |
|
|
| 52 |
"${FILESDIR}"/${P}-gcc41.patch \ |
| 53 |
"${FILESDIR}"/${P}-refreshfix.patch |
| 54 |
|
53 |
|
| 55 |
if ! use doc ; then |
54 |
if ! use doc ; then |
| 56 |
sed -i \ |
55 |
sed -i \ |