void-packages/srcpkgs/scummvm/template

48 lines
1.6 KiB
Plaintext

# Template file for 'scummvm'
pkgname=scummvm
version=1.4.1
revision=1
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.bz2"
checksum=fa0a7f0d59524611be0c5b9be9ac7f8e7a72bab1826732e056f88332aa3139da
short_desc="Free implementation of LucasArts' SCUMM interpreter"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.scummvm.org/"
license="GPL-2"
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."
Add_dependency build pkg-config
Add_dependency build nasm
Add_dependency build zlib-devel
Add_dependency build libpng-devel
Add_dependency build SDL-devel
Add_dependency build libmad-devel
Add_dependency build fluidsynth-devel
Add_dependency build libvorbis-devel
Add_dependency build libtheora-devel
Add_dependency build libflac-devel
Add_dependency build faad2-devel
do_configure() {
./configure --prefix=/usr --backend=sdl --disable-debug \
--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
}