+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX noegnud-slashem-0.8.2-gcc41.patch 590 RMD160 02444ced42ffbd573e869aa3f300bef1c99c09f8 SHA1 1a155e829b9eabbd4eeda4ed1ad270f7439fa298 SHA256 45e9340f98307d2a6a65f4794aac0f62f29cad7701b38c084a5ae041e20fed83
MD5 35e24b600d243f6724adce522efbd8f9 files/noegnud-slashem-0.8.2-gcc41.patch 590
RMD160 02444ced42ffbd573e869aa3f300bef1c99c09f8 files/noegnud-slashem-0.8.2-gcc41.patch 590
DIST noegnud-0.8.2_linux_src-minimal.tar.bz2 4801644 RMD160 527cd14212b3c8556c3e566a2ec8cde4602de2f0 SHA1 3e76405ae99bc7ed721039e78201521e28cc136a SHA256 4efa6a865226ff63e8e42b1e6a712407064ace10ac6fcae56bd0e309a6d1d903
DIST noegnud-0.8.2_noegnud-0.8.2.se007E3.diff.gz 6201 RMD160 b21444a02d4c8efa301d01519c0be8db6f5d46a5 SHA1 28ecc8a03d58a1cf9ff63aa471b92d228f498435 SHA256 1c0132e06e7598d8cd1a5a76af543ece8d30b7afcb04ee8fdaf1370993a79a35
DIST se007e3.tar.gz 5073942 RMD160 08caf3101757eb4c712da3d61aafb85b61997c2b SHA1 cce7ab1f4a8e22afada00d97b2a09b76c8608e92 SHA256 ca4a0e14c64dd8a272878844cc2118094d8a983d5b922b904940b248c19fe259
-EBUILD noegnud-slashem-0.8.2.ebuild 2092 RMD160 a77fb760baab84896cd5d126744b4d853d1462b6 SHA1 84cadc81e4fba7aaa7ff9001d8490c4781d03405 SHA256 3dde2109ca44282d438f7c58875190bf88fa9d9d5e26cd0c7113b5ab4704fe5d
-MD5 78982b18dcbd5aaaf9bea8a75792119e noegnud-slashem-0.8.2.ebuild 2092
-RMD160 a77fb760baab84896cd5d126744b4d853d1462b6 noegnud-slashem-0.8.2.ebuild 2092
-SHA256 3dde2109ca44282d438f7c58875190bf88fa9d9d5e26cd0c7113b5ab4704fe5d noegnud-slashem-0.8.2.ebuild 2092
+EBUILD noegnud-slashem-0.8.2.ebuild 2136 RMD160 be0c1e4f9d2a8dbedb10ddd5da41f63157875c3f SHA1 78a0e28c82964e7babee4e57a5ecc75d6675a037 SHA256 769357b42d552205a596d5ebbe03bf88aafc3f27b10715d9f3afc6a1f1b56897
+MD5 6e4f47b09c5486c798154d540b580f4b noegnud-slashem-0.8.2.ebuild 2136
+RMD160 be0c1e4f9d2a8dbedb10ddd5da41f63157875c3f noegnud-slashem-0.8.2.ebuild 2136
+SHA256 769357b42d552205a596d5ebbe03bf88aafc3f27b10715d9f3afc6a1f1b56897 noegnud-slashem-0.8.2.ebuild 2136
MISC ChangeLog 853 RMD160 9e7ecf050dac4cf911abfee994c6ed683cf0e014 SHA1 21c14b7b9289dcddf20ced91432984ef82faa602 SHA256 a43f388dec1c0fb1bddfdb5b9941deb5d2456c2387b5e0aace50943a55371939
MD5 7df0bca7bb47e806af4758d757d131f1 ChangeLog 853
RMD160 9e7ecf050dac4cf911abfee994c6ed683cf0e014 ChangeLog 853
MD5 eb2ce41822b7ce1e3059aa17c5704470 files/digest-noegnud-slashem-0.8.2 831
RMD160 982411dfea9589e84277766c12c51bea1b172d51 files/digest-noegnud-slashem-0.8.2 831
SHA256 b1661be6a6fda54fe557cd3ccc2303ef203156293c103563218cb412b9e0f716 files/digest-noegnud-slashem-0.8.2 831
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.3 (GNU/Linux)
+
+iD8DBQFGGqWtdz7hIScOURERAhZIAJ9eK5+TSYALpT6RQBpBuPyTDgtDmgCfbQeW
+Jg8iiDm5AtFOFFkOahL3RY8=
+=LaY0
+-----END PGP SIGNATURE-----
-# 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-roguelike/noegnud-slashem/noegnud-slashem-0.8.2.ebuild,v 1.8 2006/05/21 15:17:05 tupone Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-roguelike/noegnud-slashem/noegnud-slashem-0.8.2.ebuild,v 1.9 2007/04/09 20:44:20 nyhm Exp $
inherit eutils games
LICENSE="nethack"
SLOT="0"
-KEYWORDS="x86 ppc"
+KEYWORDS="ppc x86"
IUSE=""
DEPEND="media-libs/libsdl
src_unpack() {
unpack noegnud-${PV}_linux_src-minimal.tar.bz2
- epatch ${DISTDIR}/noegnud-${PV}_noegnud-${PV}.${VAR_SNAME}${VAR_VER/e/E}.diff.gz
- ln -s ${DISTDIR}/${VAR_TAR} noegnud-${PV}/variants/tarballs/${VAR_TAR}
+ epatch "${DISTDIR}"/noegnud-${PV}_noegnud-${PV}.${VAR_SNAME}${VAR_VER/e/E}.diff.gz
+ ln -s "${DISTDIR}"/${VAR_TAR} noegnud-${PV}/variants/tarballs/${VAR_TAR}
epatch "${FILESDIR}/${P}"-gcc41.patch
}
src_compile() {
- make ${VAR_SNAME}${VAR_VER} PREFIX=${GAMES_PREFIX} || die
+ emake ${VAR_SNAME}${VAR_VER} PREFIX="${GAMES_PREFIX}" || die
}
src_install() {
- make install_${VAR_SNAME}${VAR_VER} PREFIX=${D}/${GAMES_PREFIX} || die
+ emake install_${VAR_SNAME}${VAR_VER} PREFIX="${D}/${GAMES_PREFIX}" || die
- cd ${D}/${GAMES_BINDIR}
+ cd "${D}/${GAMES_BINDIR}"
# we do this cause sometimes the installed package thinks it's a diff version :)
- local tver="`ls noegnud-*-${VAR_NAME}-${VAR_DVER} | cut -d- -f2`"
+ local tver=$(ls noegnud-*-${VAR_NAME}-${VAR_DVER} | cut -d- -f2)
rm noegnud-${VAR_NAME}-${VAR_DVER}
mv noegnud-${tver}-${VAR_NAME}-${VAR_DVER} noegnud-${VAR_NAME}
- dosed "/^HACKDIR/s:=.*:=${GAMES_LIBDIR}/noegnud-${tver}/${VAR_NAME}-${VAR_DVER}:" ${GAMES_BINDIR}/noegnud-${VAR_NAME}
+ sed -i \
+ -e "/^HACKDIR/s:=.*:=$(games_get_libdir)/noegnud-${tver}/${VAR_NAME}-${VAR_DVER}:" \
+ noegnud-${VAR_NAME} \
+ || die "sed failed"
- dodir ${GAMES_DATADIR}/noegnud_data
- cp -r ${S}/../data/* ${D}/${GAMES_DATADIR}/noegnud_data/
- dosym ${GAMES_DATADIR}/noegnud_data ${GAMES_LIBDIR}/noegnud-${tver}/data
+ insinto "${GAMES_DATADIR}"/noegnud_data
+ doins -r "${S}"/../data/* || die "doins failed"
+ dosym "${GAMES_DATADIR}"/noegnud_data "$(games_get_libdir)"/noegnud-${tver}/data
- keepdir ${GAMES_LIBDIR}/noegnud-${tver}/${VAR_NAME}-${VAR_DVER}/save
+ keepdir "$(games_get_libdir)"/noegnud-${tver}/${VAR_NAME}-${VAR_DVER}/save
prepgamesdirs
- chmod -R g+w ${D}/${GAMES_LIBDIR}/noegnud-${tver}/${VAR_NAME}-${VAR_DVER}
+ fperms -R g+w "$(games_get_libdir)"/noegnud-${tver}/${VAR_NAME}-${VAR_DVER}
}