void-packages/srcpkgs/openmsx/template

27 lines
970 B
Plaintext

# Template file for 'openmsx'
pkgname=openmsx
version=0.10.1
revision=1
short_desc="The MSX emulator that aims for perfection"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-3"
homepage="http://openmsx.sourceforget.net"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=902ac64a5773310696fddb445b8f0049ee78bd440c1057d2244f5baeb3492f70
hostmakedepends="pkg-config python"
makedepends="SDL-devel glew-devel libao-devel libtheora-devel libvorbis-devel
libpng-devel>=1.6 libxml2-devel SDL_ttf-devel tcl-devel>=8.6"
do_build() {
sed -i 's@\(SYMLINK_FOR_BINARY:=\)true@\1false@' build/custom.mk
sed -i 's@\(INSTALL_BASE:=\)/opt/openMSX@\1/usr/share/openmsx@' build/custom.mk
echo 'INSTALL_DOC_DIR:=/usr/share/doc/openmsx' >> build/custom.mk
echo 'INSTALL_SHARE_DIR:=/usr/share/openmsx' >> build/custom.mk
echo 'INSTALL_BINARY_DIR:=/usr/bin' >> build/custom.mk
make ${makejobs}
}
do_install() {
make DESTDIR=${DESTDIR} install
}