void-packages/srcpkgs/openmsx/template
asie 5c74344b11
openmsx: update to 0.14.0.
closes #4021

Co-authored-by: maxice8 <thinkabit.ukim@gmail.com>
2019-01-22 12:42:33 -02:00

27 lines
1 KiB
Bash

# Template file for 'openmsx'
pkgname=openmsx
version=0.14.0
revision=1
hostmakedepends="pkg-config python"
makedepends="SDL-devel glew-devel libao-devel libtheora-devel libvorbis-devel
libpng-devel libxml2-devel SDL_ttf-devel tcl-devel"
short_desc="MSX emulator that aims for perfection"
maintainer="Juan RP <xtraeme@voidlinux.org>"
license="GPL-2.0-only"
homepage="http://openmsx.sourceforge.net"
distfiles="https://github.com/openMSX/openMSX/releases/download/RELEASE_${version//\./_}/openmsx-${version}.tar.gz"
checksum=eb9ae4c8420c30b69e9a05edfa8c606762b7a6bf3e55d36bfb457c2400f6a7b9
nocross="can't use CXX prefixed with triplet"
do_build() {
vsed -e 's@\(SYMLINK_FOR_BINARY:=\)true@\1false@' -i build/custom.mk
vsed -e 's@\(INSTALL_BASE:=\)/opt/openMSX@\1/usr/share/openmsx@' -i 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
}