26 lines
1,016 B
Bash
26 lines
1,016 B
Bash
# Template file for 'openmsx'
|
|
pkgname=openmsx
|
|
version=0.13.0
|
|
revision=2
|
|
short_desc="The MSX emulator that aims for perfection"
|
|
maintainer="Juan RP <xtraeme@voidlinux.org>"
|
|
license="GPL-3"
|
|
homepage="http://openmsx.sourceforge.net"
|
|
distfiles="https://github.com/openMSX/openMSX/releases/download/RELEASE_${version//\./_}/openmsx-${version}.tar.gz"
|
|
checksum=41e37c938be6fc9f90659f8808418133601a85475058725d3e0dccf2902e62cb
|
|
hostmakedepends="pkg-config python"
|
|
makedepends="SDL-devel glew-devel libao-devel libtheora-devel libvorbis-devel
|
|
libpng-devel libxml2-devel SDL_ttf-devel tcl-devel"
|
|
nopie=yes
|
|
|
|
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
|
|
}
|