Search:  
Gentoo Wiki

Ucpt:Games-adventure/gso/gso-1.0.ebuild

#

Image:Ebuild_file.png Games-adventure/gso/gso-1.0.ebuild

Download - Bugs - Discussion - History

Back to the Index
inherit eutils games

DESCRIPTION="The Great Stroke-Off."
SRC_URI="http://nowhere/GSO.zip" # FIXME
HOMEPAGE=""

SLOT=""
LICENSE="freedist"
KEYWORDS="x86"
IUSE=""

DEPEND=">=games-engines/ags-bin-2.70"

src_install() {
	cd ${WORKDIR}
	BINDIR=/usr/games/bin
	TITLE=${PN}
	SHAREDIR=/usr/share/games/${TITLE}
	
	mkdir -p ${D}${BINDIR} ${D}${SHAREDIR}
	
	# first install packaged files
	cd GSO
	mv GSO_ReadMe.txt README
	dodoc README
	rm -f README
	cd ..
	#mkdir -p ${D}/usr/share/doc/${PF}
	
	rm -f GSO/winsetup.exe GSO/README
	mv GSO/GSO.exe GSO/ac2game.dat
	rmdir  "${D}${SHAREDIR}"
	mv GSO "${D}${SHAREDIR}"
		
	# startup script
	cd ${D}${BINDIR}
	ln -s ags-start ${TITLE}
	
	prepgamesdirs
	
	make_desktop_entry ${TITLE} "${DESCRIPTION}" 
}
 # 
Retrieved from "http://www.gentoo-wiki.info/Ucpt:Games-adventure/gso/gso-1.0.ebuild"

Last modified: Tue, 09 Aug 2005 05:55:00 +0000 Hits: 1,802