Search:  
Gentoo Wiki

Ucpt:Games-adventure/kq1/kq1-3.0.ebuild

#

Image:Ebuild_file.png Games-adventure/kq1/kq1-3.0.ebuild

Download - Bugs - Discussion - History

Back to the Index

Does not work with ags-bin under Linux/x86. Maybe wine will run it somewhen.

inherit eutils games

DESCRIPTION="Kings Quest 1 (VGA)"
SRC_URI="http://web.mit.edu/ichthyos/www/tierra/KQ1VGA.EXE http://web.mit.edu/ichthyos/www/tierra/KQ1MUSICPACK.EXE http://web.mit.edu/ichthyos/www/tierra/kq1speechpack.exe"
HOMEPAGE="http://www.agdinteractive.com/"

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

DEPEND=">=games-engines/ags-bin-2.70
	>=app-emulation/wine-20050111"

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
KQ1VGA.EXE
KQ1MUSICPACK.EXE
kq1speechpack.exe
EOF

cat > ac2game_dat_exe << EOF
kqvga.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/kq1/kq1-3.0.ebuild"

Last modified: Tue, 16 Aug 2005 07:03:00 +0000 Hits: 2,236