void-packages/srcpkgs/scummvm/template

46 lines
1.6 KiB
Plaintext

# Template file for 'scummvm'
pkgname=scummvm
version=1.6.0
revision=1
hostmakedepends="pkg-config nasm"
makedepends="zlib-devel libpng-devel SDL-devel libmad-devel faad2-devel
fluidsynth-devel libvorbis-devel libtheora-devel libflac-devel freetype-devel"
short_desc="Free implementation of LucasArts' SCUMM interpreter"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.scummvm.org/"
license="GPL-2"
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.bz2"
checksum=396060da6a8f391438055c292a280048d29dc408c5b615db43256a86f0e57ec4
long_desc="
ScummVM is a 'virtual machine' for several classic graphical point-and-click
adventure games. It is designed to run Adventure Soft's Simon the Sorcerer
1 and 2, Revolution's Beneath A Steel Sky, and games based on LucasArts'
SCUMM (Script Creation Utility for Maniac Mansion) system. SCUMM is used for
many games, including Monkey Island, Day of the Tentacle, Sam and Max and more.
See the official compatibility list at http://www.scummvm.org/compatibility.php
for a full list of supported games."
do_configure() {
./configure --prefix=/usr --disable-debug \
--with-freetype2-prefix=/usr --with-sdl-prefix=/usr \
--enable-plugins --enable-all-engines
}
do_build() {
make ${makejobs}
}
do_install() {
vinstall scummvm 755 usr/bin
vinstall dists/scummvm.6 644 usr/share/man/man6
vinstall dists/scummvm.desktop 644 usr/share/applications
vinstall icons/scummvm.xpm 644 usr/share/pixmaps
vinstall gui/themes/scummmodern.zip 644 usr/share/scummvm
}
scummvm_package() {
pkg_install() {
vmove usr
}
}