diff options
author | Mike Frysinger <vapier@gentoo.org> | 2003-12-29 04:46:08 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2003-12-29 04:46:08 +0000 |
commit | f428850581fef56ae41afa13743199f3fb549ef6 (patch) | |
tree | cdfc93ede10388d79efc8f198598a435f7769824 /games-strategy/mylink/mylink-0.93.ebuild | |
parent | Added the mount-boot eclass to the silo ebuilds. Thanks for fo0bar from #gen... (diff) | |
download | gentoo-2-f428850581fef56ae41afa13743199f3fb549ef6.tar.gz gentoo-2-f428850581fef56ae41afa13743199f3fb549ef6.tar.bz2 gentoo-2-f428850581fef56ae41afa13743199f3fb549ef6.zip |
initial ebuild #33802
Diffstat (limited to 'games-strategy/mylink/mylink-0.93.ebuild')
-rw-r--r-- | games-strategy/mylink/mylink-0.93.ebuild | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/games-strategy/mylink/mylink-0.93.ebuild b/games-strategy/mylink/mylink-0.93.ebuild new file mode 100644 index 000000000000..62bcd60b6415 --- /dev/null +++ b/games-strategy/mylink/mylink-0.93.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-strategy/mylink/mylink-0.93.ebuild,v 1.1 2003/12/29 04:46:08 vapier Exp $ + +inherit games eutils + +DESCRIPTION="a free Uplink clone" +HOMEPAGE="http://home.as-netz.de/gblech/klasse10/misc/mylink/mylink.html" +SRC_URI="http://home.as-netz.de/gblech/klasse10/misc/mylink/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="x86" + +DEPEND=">=dev-lang/perl-5.8.0 + >=dev-lang/tk-8.3.4 + dev-perl/Data-Dumper + dev-perl/Digest-MD5 + dev-perl/libwww-perl + dev-perl/frontier-rpc" + +S=${WORKDIR}/MyLink + +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/${PV}-path.patch + sed -i "s:GENTOO_DIR:${GAMES_DATADIR}/${PN}:" MyLinkI18N.pm + sed -i \ + -e "s,^require[ ]*\(.*\)[ ]*;,require \"${GAMES_DATADIR}/${PN}/\1.pm\";," \ + -e "s,contrib/,${GAMES_DATADIR}/${PN}/contrib/,g" \ + -e "s,graphics/,${GAMES_DATADIR}/${PN}/graphics/,g" \ + -e "s,data/,${GAMES_DATADIR}/${PN}/data/,g" \ + -e "s,database\.db,${GAMES_DATADIR}/${PN}/database\.db,g" \ + *.pm *.pl \ + || die "path fixing failed" + rm Makefile +} + +src_install() { + local dir=${GAMES_DATADIR}/${PN} + dodir ${dir} + cp -r *.pm *.txt database.db data graphics ${D}/${dir}/ + newgamesbin MyLinkd.pl MyLinkd + newgamesbin MyLinkTk.pl MyLinkTk + prepgamesdirs + fperms g+w ${GAMES_DATADIR}/${PN}/database.db +} |