Summary: | falconeye - a graphical version of nethack | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Jeld The Dark Elf <jeld> |
Component: | New packages | Assignee: | Ferry Meyndert (RETIRED) <m0rpheus> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Jeld The Dark Elf
2002-02-09 17:16:05 UTC
Since I seem to have problems creating attachment here is the .ebuild -------------------------------------------cut here---------------------------------------------- #Copyright 2002 Gentoo Technologies, Inc. #Distributed under the terms of the GNU General Public License, v2 or later #Author Dmitriy Kropivnitskiy <nigde@mitechki.net> A=nethack_source_331_jtp_193.zip S=${WORKDIR}/${P} DESCRIPTION="" SRC_URI="http://falconseye.sourceforge.net/nethack_source_331_jtp_193.zip" HOMEPAGE="http://falconseye.sourceforge.net/" DEPEND="media-libs/libsdl dev-util/yacc" RDEPEND="media-libs/libsdl" src_unpack() { unzip /usr/portage/distfiles/${A} } src_compile() { cd ${WORKDIR}/sys/unix source setup.sh cd ../../ make PREFIX=/usr GAME=falconseye GAMEDIR=/usr/share/falconseye SHELLDIR=/usr/bin cd doc make } src_install() { cd ${WORKDIR} make PREFIX=${D}/usr GAME=falconseye GAMEDIR=${D}/usr/share/falconseye SHELLDIR=${D}/usr/bin install # Have to remake the shell script with real path information sed -e 's;/usr/games/lib/nethackdir;/usr/share/falconseye;' \ -e 's;HACKDIR/nethack;HACKDIR/falconseye;' \ < ${WORKDIR}/sys/unix/nethack.sh \ > ${D}/usr/bin/falconseye cd doc doman *.6 } -------------------------------------------------------------------------------------------------------------------- Good, except you don't need the A= definition ($A is auto-defined using $SRC_URI by Portage) and you need to add zip to the DEPEND. Resubmit with fixes and I'll forward it to a dev to add to cvs. Here is the fix --------------------------------------------------------------------------------------------------- #Copyright 2002 Gentoo Technologies, Inc. #Distributed under the terms of the GNU General Public License, v2 or later #Author Dmitriy Kropivnitskiy <nigde@mitechki.net> aka Jeld The Dark Elf S=${WORKDIR}/${P} DESCRIPTION="" SRC_URI="http://falconseye.sourceforge.net/nethack_source_331_jtp_193.zip" HOMEPAGE="http://falconseye.sourceforge.net/" DEPEND="media-libs/libsdl dev-util/yacc app-arch/unzip" RDEPEND="media-libs/libsdl" src_unpack() { unzip /usr/portage/distfiles/${A} } src_compile() { cd ${WORKDIR}/sys/unix source setup.sh cd ../../ make PREFIX=/usr GAME=falconseye GAMEDIR=/usr/share/falconseye SHELLDIR=/usr/bin cd doc make } src_install() { cd ${WORKDIR} make PREFIX=${D}/usr GAME=falconseye GAMEDIR=${D}/usr/share/falconseye SHELLDIR=${D}/usr/bin install # Have to remake the shell script with real path information sed -e 's;/usr/games/lib/nethackdir;/usr/share/falconseye;' \ -e 's;HACKDIR/nethack;HACKDIR/falconseye;' \ < ${WORKDIR}/sys/unix/nethack.sh \ > ${D}/usr/bin/falconseye cd doc doman *.6 } --------------------------------------------------------------------------------------------------- |