diff options
author | Romain Perier <mrpouet@gentoo.org> | 2009-08-26 19:49:10 +0200 |
---|---|---|
committer | Romain Perier <mrpouet@gentoo.org> | 2009-08-26 19:49:10 +0200 |
commit | c6d881b0b0e025ca4960ce25da97a7a26de886ec (patch) | |
tree | 0659cfa4d4118b8e6e6366e0b9b94b2c5d4104a8 /dev-libs | |
parent | dev-games/clanlib: (diff) | |
download | gamerlay-c6d881b0b0e025ca4960ce25da97a7a26de886ec.tar.gz gamerlay-c6d881b0b0e025ca4960ce25da97a7a26de886ec.tar.bz2 gamerlay-c6d881b0b0e025ca4960ce25da97a7a26de886ec.zip |
dev-games/clanlib: Quote $WORKDIR
dev-libs/bulletss:
- Drop all arch except ~x86 and ~amd64 (see dmd-bin)
- Add dmd-bin, mesa, libsdl into RDEPEND
- Drop bison from depends (see base profile)
- Drop unzip from depends (see ebuild.sh, blame me if it's wrong :P)
- Clean-up src_install() (die and so on)
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/bulletss/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/bulletss/bulletss-0.0.1.ebuild | 38 |
2 files changed, 18 insertions, 22 deletions
diff --git a/dev-libs/bulletss/Manifest b/dev-libs/bulletss/Manifest index 282f5ba..40eda88 100644 --- a/dev-libs/bulletss/Manifest +++ b/dev-libs/bulletss/Manifest @@ -1,4 +1,4 @@ AUX fix.diff 226 RMD160 4b135c3e86911487a5ac4d72187152dfd584c1dd SHA1 ac2f651abaf9e2ac70daf8a58714950a5bd01b36 SHA256 0f2276933accabf0d8162ce990684aaa2344e1abd11cf2976977545d9d9757f9 DIST bulletss.zip 488290 RMD160 78f039dcdd62a20a9104b5774bb4642b4e6f8cda SHA1 034a1a70b6a647e7f8d1acd208db9af138c4df9c SHA256 6646a79b888b21f93070e1e3333f15ff5dd969608e54d1118f981faec049e985 -EBUILD bulletss-0.0.1.ebuild 956 RMD160 0c9059836697fba913507c2a70291ec339dd760f SHA1 0052b26616edc04c1c8cdbf3a227097bcce90d05 SHA256 fa9808fec32eb8f28a43bb622c97fee4b57c92d3c64ef6d1eea6c78a42a644ae +EBUILD bulletss-0.0.1.ebuild 1105 RMD160 a075fcdb9a0ec6a21e62ce90ff8cafe748ae5166 SHA1 5c40173039e421cc5c8902bd0bd4f9e270bcbd69 SHA256 5b57011d18a7e4f1d14ec107b8504b687165d17d2260aba440410926d286348d MISC metadata.xml 161 RMD160 734c72757bdba2e93d5c7cfa946fd9eb69e01681 SHA1 e721608e30cdca8dd809c1024687fe4887c49293 SHA256 5102a957a119374da719ca711f473e89fd4183d4e91e86f59e2fc4dce7e607dc diff --git a/dev-libs/bulletss/bulletss-0.0.1.ebuild b/dev-libs/bulletss/bulletss-0.0.1.ebuild index 27f2d0e..e26be24 100644 --- a/dev-libs/bulletss/bulletss-0.0.1.ebuild +++ b/dev-libs/bulletss/bulletss-0.0.1.ebuild @@ -4,29 +4,25 @@ EAPI="2" -inherit d-games multilib - -IUSE="" +inherit eutils DESCRIPTION="A Library of Bullet Markup Language for D-Lang" -SRC_URI="http://my.vector.co.jp/servlet/System.FileDownload/download/http/0/301119/pack/win95/game/tool/bulletss.zip" HOMEPAGE="http://shinh.skr.jp/bulletss/" +SRC_URI="http://my.vector.co.jp/servlet/System.FileDownload/download/http/0/301119/pack/win95/game/tool/${PN}.zip" -SLOT="0" LICENSE="BSD" -KEYWORDS="ppc x86 ~alpha" +SLOT="0" +KEYWORDS="~amd64 ~x86" IUSE="" -DEPEND="dev-lang/perl - sys-devel/bison - app-arch/unzip" -RDEPEND="" +RDEPEND="dev-lang/dmd-bin + media-libs/libsdl + media-libs/mesa" -S="${WORKDIR}"/bulletss +DEPEND="${RDEPEND} + dev-lang/perl" -src_unpack() { - unpack ${A} -} +S="${WORKDIR}"/bulletss src_prepare(){ cd "${WORKDIR}"/bulletss/ @@ -34,20 +30,20 @@ src_prepare(){ } src_compile() { - emake -C bulletml || die + emake -C bulletml || die "emake failed" } src_install() { - dodoc README* + dodoc README* || die "dodoc failed" cd "${S}"/bulletml - dolib.a libbulletml_d.a + dolib.a libbulletml_d.a || die "dolib.a failed" insinto /usr/include/bulletml-d - doins *.h + doins *.h || die "doins headers file failed" - dodir /usr/lib/dmd/phobos + dodir /usr/lib/dmd/phobos || die "dodir failed" insinto /usr/lib/dmd/phobos - doins bulletml.d - dosed "s:\(alias bit bool\)://\1:" /usr/lib/dmd/phobos/bulletml.d + doins bulletml.d || die "doins bulletml.d failed" + dosed "s:\(alias bit bool\)://\1:" /usr/lib/dmd/phobos/bulletml.d || die "dosed failed" } |