View previous topic :: View next topic |
Author |
Message |
boolean n00b
Joined: 30 Oct 2002 Posts: 47 Location: Hillsborough, NJ
|
Posted: Sun Mar 02, 2003 11:41 pm Post subject: frotz - z-machine emulator |
|
|
i have created an ebuild (my first) of frotz, an old z-machine emulator. this can be used for playing old games like Zork (which is freeware now).
frotz-2.32.ebuild
Code: |
# ebuild
IUSE=""
S=${WORKDIR}/${P}
DESCRIPTION="Frotz is a Z-Machine emulator"
SRC_URI="http://www.ifarchive.org/if-archive/infocom/interpreters/old/frotz/Unix
Frotz232R2Std10.tar.gz"
HOMEPAGE="http://www.ifarchive.org/if-archive/infocom/interpreters/old/frotz/"
LICENSE="GPL"
KEYWORDS="x86"
SLOT="0"
RDEPEND="sys-libs/ncurses"
DEPEND="${RDEPEND}"
RESTRICT="nomirror"
src_compile() {
patch -p1 < ${FILESDIR}/frotz-2.32-lanzz.patch
cp Makefile Makefile.orig
sed -e "s:OPTS = -O2:OPTS = ${CFLAGS}:" Makefile.orig > Makefile
emake frotz || die "Compile failed"
}
src_install() {
dobin frotz
doman frotz.6
}
|
digest-frotz-2.32
Code: |
MD5 5c40f4a9da46a65cd0fd09821bf93538 UnixFrotz232R2Std10.tar.gz 63021
|
frotz tarball
digest file - should go in /usr/local/portage/app-emulation/frotz/files/digest-frotz-2.32
patch should go in /usr/local/portage/app-emulation/frotz/files/frotz-2.32-lanzz.patch
ebuild - should go in /usr/local/portage/app-emulation/frotz/frotz-2.32.ebuild
i'm sure there's some things wrong with it, if you might be so kind to point them out to me.
i'm thinking of including the zork data files with it as well (since they are free), but where would be the correct place to place them? /usr/games/zork/? /usr/local/games/zork/? or something else entirely?
thanks!
oh, the download site is pretty slow, the files are small so it is no big deal, but i shall add my url to to the SRC_URI when i work on it next
oh, and i could not find any license information included with the source. i set LICENSE="GPL" but i don't really know what to put. |
|
Back to top |
|
|
SpoonMeiser n00b
Joined: 25 Sep 2002 Posts: 62
|
Posted: Sat Mar 08, 2003 12:29 am Post subject: |
|
|
I hate to point this out, but frotz has been in portage for a long time already, it's under app-games as opposed to app-emulation though. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|