diff options
author | Tristan Heaven <tristan@gentoo.org> | 2007-04-09 20:59:39 +0000 |
---|---|---|
committer | Tristan Heaven <tristan@gentoo.org> | 2007-04-09 20:59:39 +0000 |
commit | a01736b5b877f3c990c6a0c9b922a5e4fe49ba15 (patch) | |
tree | 4002bb76eb4ee4d08c840c94e47776b3d2e8a3a4 /games-util/uglygs | |
parent | New masked ebuild (diff) | |
download | historical-a01736b5b877f3c990c6a0c9b922a5e4fe49ba15.tar.gz historical-a01736b5b877f3c990c6a0c9b922a5e4fe49ba15.tar.bz2 historical-a01736b5b877f3c990c6a0c9b922a5e4fe49ba15.zip |
use games_get_libdir
Package-Manager: portage-2.1.2.3
Diffstat (limited to 'games-util/uglygs')
-rw-r--r-- | games-util/uglygs/Manifest | 14 | ||||
-rw-r--r-- | games-util/uglygs/uglygs-0_rc11.ebuild | 36 |
2 files changed, 25 insertions, 25 deletions
diff --git a/games-util/uglygs/Manifest b/games-util/uglygs/Manifest index 7fdee7ef114a..7e642dfee7db 100644 --- a/games-util/uglygs/Manifest +++ b/games-util/uglygs/Manifest @@ -10,10 +10,10 @@ MD5 9740370abf89112b4187b9b4708ed76d files/0_rc11-uglygs.pl.patch 7040 RMD160 cdfba9103f53dafd6bf5dd56087c8c8c99161274 files/0_rc11-uglygs.pl.patch 7040 SHA256 577144eb6062b3652a6d91c5a6f282bf32f039db4e0c0220ca7c9f94287a73b2 files/0_rc11-uglygs.pl.patch 7040 DIST uglygs-rc11.tar.gz 9066873 RMD160 1c0ad862dfb3ef709e1f52c26f632536c8777566 SHA1 f9116584b5b871afbe1aa71a2e68482eb0ff2af1 SHA256 a304e01e0a570ba5dcac3ac3f9d4ade23b7fbe3e40222f9d9510df14ae8e09f0 -EBUILD uglygs-0_rc11.ebuild 1327 RMD160 b5c296f228adf0245d73987266e0bc46df333fe2 SHA1 b132ead198862e13123ed4208fe1c70e117ecacf SHA256 4c289fa5350616c9d788db382586f54c875629288e430aa3ae617932605d019f -MD5 11e615f8f601f3e836d676d69a31bbdd uglygs-0_rc11.ebuild 1327 -RMD160 b5c296f228adf0245d73987266e0bc46df333fe2 uglygs-0_rc11.ebuild 1327 -SHA256 4c289fa5350616c9d788db382586f54c875629288e430aa3ae617932605d019f uglygs-0_rc11.ebuild 1327 +EBUILD uglygs-0_rc11.ebuild 1499 RMD160 e0a76f8c1f9fe3672bb804f6081767959c87b682 SHA1 5a16c06cacd7b7b364fe354233970685f4b19f28 SHA256 3bd43b7042d967af9ecc843cb1cc5b40584054a8ec8671b04dc653d192958951 +MD5 b625372cc33d9fbb97ff59f455bea34c uglygs-0_rc11.ebuild 1499 +RMD160 e0a76f8c1f9fe3672bb804f6081767959c87b682 uglygs-0_rc11.ebuild 1499 +SHA256 3bd43b7042d967af9ecc843cb1cc5b40584054a8ec8671b04dc653d192958951 uglygs-0_rc11.ebuild 1499 MISC ChangeLog 1316 RMD160 4957994b2c7e47487d244aae499f53008fc08283 SHA1 5cbd6d1179898fa0ef1af4b48cfdf15dd06574b5 SHA256 91ec7227972af2c347d92e5ed20db6f6296f5ad5239c1b41680c3c99030985ba MD5 a75d8f9f103957ed2a4183ddad560ebf ChangeLog 1316 RMD160 4957994b2c7e47487d244aae499f53008fc08283 ChangeLog 1316 @@ -28,7 +28,7 @@ SHA256 291c21f2de7a3767200fbe8bf9c5472d8a5b90fbb980b4591f7931f2afa41672 files/di -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.3 (GNU/Linux) -iD8DBQFF9ZvE6J2i8a8J4okRAprYAJ9JQIZZzuoCE+rQJOmT/MqEFhQ3EgCfZp7q -05TgRaH+GTAwtDa1ru9/M2Q= -=jNCR +iD8DBQFGGqlBdz7hIScOURERAgnPAJ9sUAbizLqCoO3f6JUu+OdDm22XOwCePfao +kOzJoFcp1hGfosPNZUES5Mc= +=RdxU -----END PGP SIGNATURE----- diff --git a/games-util/uglygs/uglygs-0_rc11.ebuild b/games-util/uglygs/uglygs-0_rc11.ebuild index 29bc96c18cac..3b5da30cf9f0 100644 --- a/games-util/uglygs/uglygs-0_rc11.ebuild +++ b/games-util/uglygs/uglygs-0_rc11.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-util/uglygs/uglygs-0_rc11.ebuild,v 1.9 2007/03/12 18:24:09 genone Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-util/uglygs/uglygs-0_rc11.ebuild,v 1.10 2007/04/09 20:59:39 nyhm Exp $ inherit eutils games @@ -11,7 +11,7 @@ SRC_URI="ftp://ftp.uglypunk.com/uglygs/current/${MY_P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="x86 ppc sparc alpha hppa" +KEYWORDS="alpha hppa ppc sparc x86" IUSE="" RDEPEND="net-analyzer/rrdtool @@ -19,34 +19,34 @@ RDEPEND="net-analyzer/rrdtool S=${WORKDIR}/${MY_P} -UGLY_BASEDIR=${GAMES_LIBDIR}/${PN} - src_unpack() { unpack ${A} - cd ${S} - epatch ${FILESDIR}/${PV}-uglygs.conf.patch - sed -i "s:GENTOO_DIR:${UGLY_BASEDIR}:" uglygs.conf - epatch ${FILESDIR}/${PV}-uglygs.pl.patch - sed -i "s:GENTOO_DIR:${GAMES_SYSCONFDIR}:" uglygs.pl + cd "${S}" + epatch "${FILESDIR}"/${PV}-uglygs.conf.patch + sed -i "s:GENTOO_DIR:$(games_get_libdir)/${PN}:" uglygs.conf \ + || die "sed uglygs.conf failed" + epatch "${FILESDIR}"/${PV}-uglygs.pl.patch + sed -i "s:GENTOO_DIR:${GAMES_SYSCONFDIR}:" uglygs.pl \ + || die "sed uglygs.pl failed" } src_compile() { cd qstat - make CFLAGS="${CFLAGS}" || die + emake CFLAGS="${CFLAGS}" || die "emake failed" } src_install() { - insinto ${GAMES_SYSCONFDIR} - doins uglygs.conf qstat/qstat.cfg + insinto "${GAMES_SYSCONFDIR}" + doins uglygs.conf qstat/qstat.cfg || die "doins failed" - dogamesbin uglygs.pl || die + dogamesbin uglygs.pl || die "dogamesbin failed" - dodir ${UGLY_BASEDIR} - cp -rf data images templates tmp ${D}/${UGLY_BASEDIR} - keepdir ${UGLY_BASEDIR}/tmp + insinto "$(games_get_libdir)"/${PN} + doins -r data images templates tmp || die "doins failed" + keepdir "$(games_get_libdir)"/${PN}/tmp - exeinto ${UGLY_BASEDIR} - doexe qstat/qstat + exeinto "$(games_get_libdir)"/${PN} + doexe qstat/qstat || die "doexe failed" dodoc CHANGES README |