ab1a088520
Signed-off-by: Juan RP <xtraeme@gmail.com>
27 lines
1 KiB
Bash
27 lines
1 KiB
Bash
# Template file for 'openmsx'
|
|
pkgname=openmsx
|
|
version=0.15.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="https://openmsx.org"
|
|
distfiles="https://github.com/openMSX/openMSX/releases/download/RELEASE_${version//\./_}/openmsx-${version}.tar.gz"
|
|
checksum=93f209d8fed2e04e62526469bb6bb431b82ea4d07ecdc45dab2b8cc4ca21d62a
|
|
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
|
|
}
|