diff options
author | Chris Gianelloni <wolf31o2@gentoo.org> | 2004-03-11 12:14:23 +0000 |
---|---|---|
committer | Chris Gianelloni <wolf31o2@gentoo.org> | 2004-03-11 12:14:23 +0000 |
commit | 17be784f668a3c829a9d3bbd900f7bcd81d8304e (patch) | |
tree | 23973a7a6fa95d1d68121bcfbaf21147c6107eb2 /games-strategy | |
parent | Fixes gcc 3.3 compilation errors. (diff) | |
download | historical-17be784f668a3c829a9d3bbd900f7bcd81d8304e.tar.gz historical-17be784f668a3c829a9d3bbd900f7bcd81d8304e.tar.bz2 historical-17be784f668a3c829a9d3bbd900f7bcd81d8304e.zip |
Fixing up ebuild to use complete paths and ${S}. Closing bug #44327.
Diffstat (limited to 'games-strategy')
-rw-r--r-- | games-strategy/ufo-ai/ChangeLog | 6 | ||||
-rw-r--r-- | games-strategy/ufo-ai/Manifest | 4 | ||||
-rw-r--r-- | games-strategy/ufo-ai/ufo-ai-0.10.040218.ebuild | 24 |
3 files changed, 21 insertions, 13 deletions
diff --git a/games-strategy/ufo-ai/ChangeLog b/games-strategy/ufo-ai/ChangeLog index 64cb66cb9eaf..0293d648c77c 100644 --- a/games-strategy/ufo-ai/ChangeLog +++ b/games-strategy/ufo-ai/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for games-strategy/ufo-ai # Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-strategy/ufo-ai/ChangeLog,v 1.1 2004/03/11 02:26:22 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-strategy/ufo-ai/ChangeLog,v 1.2 2004/03/11 12:14:23 wolf31o2 Exp $ + + 11 Mar 2004; Chris Gianelloni <wolf31o2@gentoo.org> + ufo-ai-0.10.040218.ebuild: + Fixing up ebuild to use complete paths and . Closing bug #44327. *ufo-ai-0.10.040218 (10 Mar 2004) diff --git a/games-strategy/ufo-ai/Manifest b/games-strategy/ufo-ai/Manifest index 3df02861fc6c..4259372b7db2 100644 --- a/games-strategy/ufo-ai/Manifest +++ b/games-strategy/ufo-ai/Manifest @@ -1,5 +1,5 @@ -MD5 0d96ac60a831265d5fa18cf242ffff98 ufo-ai-0.10.040218.ebuild 1168 -MD5 1df437a3a48623ebe3bf93c13381ac5c ChangeLog 468 +MD5 2d02eb0c6e6ca0697115245f8012c755 ufo-ai-0.10.040218.ebuild 1465 +MD5 184c44d86bcd1bca5d5e87368f7ee4e1 ChangeLog 620 MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158 MD5 741c23ff1ac99c9aaf9ffead77cf26c4 files/digest-ufo-ai-0.10.040218 135 MD5 1d3e244409fa8c09b2b88c4a9ee455bd files/0.10.040218-Makefile.patch 1221 diff --git a/games-strategy/ufo-ai/ufo-ai-0.10.040218.ebuild b/games-strategy/ufo-ai/ufo-ai-0.10.040218.ebuild index afca1a2002e5..782e8f25c736 100644 --- a/games-strategy/ufo-ai/ufo-ai-0.10.040218.ebuild +++ b/games-strategy/ufo-ai/ufo-ai-0.10.040218.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-strategy/ufo-ai/ufo-ai-0.10.040218.ebuild,v 1.1 2004/03/11 02:26:22 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-strategy/ufo-ai/ufo-ai-0.10.040218.ebuild,v 1.2 2004/03/11 12:14:23 wolf31o2 Exp $ inherit games @@ -21,28 +21,32 @@ DEPEND="virtual/glibc media-libs/libogg" src_unpack() { - unpack ${A} - cd source/linux - epatch ${FILESDIR}/${PV}-Makefile.patch + unpack ${A} || die "unpack failed" + cd ${S}/source/linux || die "change dir" + epatch ${FILESDIR}/${PV}-Makefile.patch || die "patching" } src_compile() { - cd source/linux + cd ${S}/source/linux || die "change dir" make build_release \ OPTCFLAGS="${CFLAGS}" \ || die "make failed" - cd ../.. } src_install() { dodir ${GAMES_DATADIR}/${PN} - cp -rf ufo/* ${D}${GAMES_DATADIR}/${PN} - cd source/linux/releasei386-glibc + cp -rf ${S}/ufo/* ${D}${GAMES_DATADIR}/${PN} || die "copy data" + cd ${S}/source/linux/releasei386-glibc || die "change dir" exeinto ${GAMES_DATADIR}/${PN} - doexe ref_gl.so ref_glx.so ufo + doexe ${S}/source/linux/releasei386-glibc/{ref_gl.so,ref_glx.so,ufo} \ + || die "doexe ufo" exeinto ${GAMES_DATADIR}/${PN}/base - doexe gamei386.so + doexe ${S}/source/linux/releasei386-glibc/gamei386.so \ + || die "doexe gamei386.so" games_make_wrapper ufo-ai ./ufo ${GAMES_DATADIR}/${PN} prepgamesdirs } +pkg_postinst() { + games_pkg_postinst +} |