Search:  
Gentoo Wiki

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

#

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

Download - Bugs - Discussion - History

Back to the Index
inherit eutils games

DESCRIPTION="Calsoon 2"
SRC_URI="http://www.gaspop.com/files/calsoon2installer.exe http://konterbande.org/calsoon2installer.exe"
HOMEPAGE="http://www.gaspop.com"

SLOT=""
LICENSE="freedist-asexeonly-nocd"
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
	for F in ${A}; do
		cp ${DISTDIR}/${F} ${D}${SHAREDIR}/.
	done
	
	# setup user-space installer info
	cd ${D}${SHAREDIR}

cat > wine_user_setup_exe << EOF
calsoon2installer.exe
EOF

cat > ac2game_dat_exe << EOF
Looncalsoon.exe
EOF

	# 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/calsoon2/calsoon2-1.0.ebuild"

Last modified: Sun, 21 Aug 2005 22:23:00 +0000 Hits: 1,687