void-packages/srcpkgs/scummvm/template

32 lines
1015 B
Plaintext

# Template file for 'scummvm'
pkgname=scummvm
version=1.6.0
revision=2
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
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
}