use doins
authorTristan Heaven <tristan@gentoo.org>
Thu, 26 Apr 2007 15:39:15 +0000 (15:39 +0000)
committerTristan Heaven <tristan@gentoo.org>
Thu, 26 Apr 2007 15:39:15 +0000 (15:39 +0000)
Package-Manager: portage-2.1.2.4

games-arcade/gish-demo/Manifest
games-arcade/gish-demo/gish-demo-1.0.0.ebuild

index a6084fac52b17e7803154e616b721b46ff113ccb..e3d14d876547dda53a1602b95c702f18b067c9fe 100644 (file)
@@ -1,12 +1,15 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
 AUX gish-wrapper 113 RMD160 622c4329532cc6752ec11401cf809a08e3acc9ed SHA1 50a1d6188f07d1cc5dc91f1d6260df311d426b5d SHA256 bd9efa765a25209f4497be83dd9c1062c21089ac6e2619bc5f5a3143f9608d25
 MD5 1ddbcefc315d0a3e7f75359422c18bde files/gish-wrapper 113
 RMD160 622c4329532cc6752ec11401cf809a08e3acc9ed files/gish-wrapper 113
 SHA256 bd9efa765a25209f4497be83dd9c1062c21089ac6e2619bc5f5a3143f9608d25 files/gish-wrapper 113
 DIST gishdemo-1.0.0.tar.gz 13637244 RMD160 c52fbf33295fe62d7789a62665bc9a55f0b66a23 SHA1 1ef42a7e5fe4e7e03a5c52d112eb1441f6bc33c4 SHA256 b0e985a65e446d06c73a28493faa3714431d5ae49d1ab6dbeea03f1b0eefe8ee
-EBUILD gish-demo-1.0.0.ebuild 1447 RMD160 3e744038c63c1e5c4995d8f9323f1f576d2b96c3 SHA1 02bfbe610ce76a68d86777b71aac8c5af450fb4a SHA256 6313466815d585abb57e20f91212f3479ff0169e47ef402c8ef60fef636ab434
-MD5 063c21a58d78ad8c56860f0bc3dd0fd0 gish-demo-1.0.0.ebuild 1447
-RMD160 3e744038c63c1e5c4995d8f9323f1f576d2b96c3 gish-demo-1.0.0.ebuild 1447
-SHA256 6313466815d585abb57e20f91212f3479ff0169e47ef402c8ef60fef636ab434 gish-demo-1.0.0.ebuild 1447
+EBUILD gish-demo-1.0.0.ebuild 1315 RMD160 d3c67467dd21ff8794c2d7ed593ad838f3cb2a68 SHA1 91ed0a39cdecc453e7f3bad9058446a5efe69f7e SHA256 5d2358e49b6fd902610cb176db9162ec9378e81ec29cfe9ca57ef820b3b1f004
+MD5 204db4c3207f234f08724dd9e4850cdb gish-demo-1.0.0.ebuild 1315
+RMD160 d3c67467dd21ff8794c2d7ed593ad838f3cb2a68 gish-demo-1.0.0.ebuild 1315
+SHA256 5d2358e49b6fd902610cb176db9162ec9378e81ec29cfe9ca57ef820b3b1f004 gish-demo-1.0.0.ebuild 1315
 MISC ChangeLog 1676 RMD160 b147cef297197ab359bcd46c2939a8370e6d16dc SHA1 37ee8af34b1d3463f3e9373612859f46db413bd3 SHA256 f7ae1158f8550bb8a870651711e0902e3159b0cbeb9eca0ebe1eeeeb2dad3fca
 MD5 5f48b1593fbbd998dbee7dd99c8eae8c ChangeLog 1676
 RMD160 b147cef297197ab359bcd46c2939a8370e6d16dc ChangeLog 1676
@@ -18,3 +21,10 @@ SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 metadata
 MD5 244f7fe9e59d2d13eeb21e33dfad8486 files/digest-gish-demo-1.0.0 250
 RMD160 d115b59e61ac81e559e1e0b358c37b81641d586b files/digest-gish-demo-1.0.0 250
 SHA256 4867327f085476e8289dc2958407e266d1b1eb23122850cf44ad79bef8fd2f5e files/digest-gish-demo-1.0.0 250
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.3 (GNU/Linux)
+
+iD8DBQFGMMeqdz7hIScOURERAoYiAJ0Q6ESSK26g7nxDTT0sHIUaPMSlHgCgyiI4
+2c5evIfjPCvJNzImhIA2i6g=
+=kHCI
+-----END PGP SIGNATURE-----
index 268977b36cb54ddc95a4ce12c0051913503ea0d9..51d2b5a7887b4c5eabdad188518d9e6aace2b7b3 100644 (file)
@@ -1,6 +1,6 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2007 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/gish-demo/gish-demo-1.0.0.ebuild,v 1.12 2006/10/02 08:01:14 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/gish-demo/gish-demo-1.0.0.ebuild,v 1.13 2007/04/26 15:39:15 nyhm Exp $
 
 inherit eutils multilib games
 
@@ -13,7 +13,7 @@ SLOT="0"
 KEYWORDS="-* ~amd64 x86"
 IUSE=""
 RESTRICT="strip"
-QA_EXECSTACK="${GAMES_PREFIX_OPT:1}/gish-demo/gish"
+QA_EXECSTACK="${GAMES_PREFIX_OPT:1}/${PN}/gish"
 
 RDEPEND="media-libs/libsdl
        media-libs/openal
@@ -21,37 +21,27 @@ RDEPEND="media-libs/libsdl
        virtual/opengl
        media-libs/libvorbis
        amd64? (
-               >=app-emulation/emul-linux-x86-xlibs-2.1
-               >=app-emulation/emul-linux-x86-sdl-2.1 )"
+               app-emulation/emul-linux-x86-xlibs
+               app-emulation/emul-linux-x86-sdl
+       )"
 
 S=${WORKDIR}/gishdemo
 
-pkg_setup() {
-       games_pkg_setup
-       # Binary x86 package
-       has_multilib_profile && ABI="x86"
-}
-
-src_unpack() {
-       unpack ${A}
-       cd "${S}"
-       find . -type f -print0 | xargs -0 chmod a-x
-       chmod a+x gish
-}
-
 src_install() {
        local dir=${GAMES_PREFIX_OPT}/${PN}
-       dodir "${dir}" "${GAMES_BINDIR}"
 
-       cp -pPR * "${D}"/${dir}/
+       insinto "${dir}"
+       doins -r * || die "doins failed"
+       fperms +x "${dir}"/gish
        games_make_wrapper gish ./gish-wrapper "${dir}"
 
        # looks like when they built the game they accidently
        # linked it against openssl ... lets fake it
+       use amd64 && multilib_toolchain_setup x86
        dosym /$(get_libdir)/libc.so.6 "${dir}"/libssl.so.4
        dosym /$(get_libdir)/libc.so.6 "${dir}"/libcrypto.so.4
        exeinto "${dir}"
-       doexe "${FILESDIR}"/gish-wrapper
+       doexe "${FILESDIR}"/gish-wrapper || die "doexe failed"
 
        prepgamesdirs
 }