All pastes #76667 Raw Edit

Miscellany

public text v1 · immutable
·published 2006-07-01 23:28 UTC
rendered paste body
--- /usr/portage/dev-games/clanlib/clanlib-0.7.8-r2.ebuild      2006-05-12 06:05:38.000000000 +0200
+++ clanlib-0.8.0_rc2.ebuild    2006-07-02 01:28:12.000000000 +0200
@@ -4,13 +4,15 @@
 
 inherit flag-o-matic eutils
 
+MY_PV=${PV/_rc/-RC}
+SLOT="0.8"
+
 DESCRIPTION="multi-platform game development library"
 HOMEPAGE="http://www.clanlib.org/"
-SRC_URI="http://www.clanlib.org/download/files/ClanLib-${PV}-1.tar.bz2"
+SRC_URI="http://www.clanlib.org/download/releases-${SLOT}/ClanLib-${MY_PV}.tgz"
 
-LICENSE="LGPL-2"
-SLOT="0.7"
-KEYWORDS="amd64 x86" #not big endian safe #82779
+LICENSE="clanlib"
+KEYWORDS="~amd64 ~x86" #not big endian safe #82779
 IUSE="opengl sdl vorbis doc mikmod ipv6"
 
 # opengl keyword does not drop the GL/GLU requirement.
@@ -41,16 +43,13 @@
                virtual/x11
        )"
 
-S="${WORKDIR}/ClanLib-${PV}"
+S="${WORKDIR}/ClanLib-${MY_PV}"
 
 src_unpack() {
        unpack ${A}
        cd ${S}
        find . -name .cvsignore -exec rm -f '{}' \;
-       epatch "${FILESDIR}"/${PV}-port.patch \
-               "${FILESDIR}"/${PV}-install-opengl-wrap.patch \
-               "${FILESDIR}"/${P}-gcc41.patch \
-               "${FILESDIR}"/${P}-refreshfix.patch
+       epatch "${FILESDIR}"/${P}-gcc41.patch
 
        if ! use doc ; then
                sed -i \