2012-12-23 11:54:04 +01:00
|
|
|
# Template file for 'openmsx'
|
|
|
|
pkgname=openmsx
|
2015-03-12 12:02:08 +01:00
|
|
|
version=0.11.0
|
|
|
|
revision=1
|
2012-12-23 11:54:04 +01:00
|
|
|
short_desc="The MSX emulator that aims for perfection"
|
2015-04-10 09:16:30 +02:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2012-12-23 11:54:04 +01:00
|
|
|
license="GPL-3"
|
2015-03-12 12:02:08 +01:00
|
|
|
homepage="http://openmsx.sourceforge.net"
|
2012-12-23 11:54:04 +01:00
|
|
|
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
|
2015-03-12 12:02:08 +01:00
|
|
|
checksum=93611a12b3860f31ef081d625e9e7f68a48c81c564d629801def868a87b75a77
|
2012-12-23 11:54:04 +01:00
|
|
|
|
2013-05-22 11:44:13 +02:00
|
|
|
hostmakedepends="pkg-config python"
|
2015-03-27 10:50:40 +01:00
|
|
|
makedepends="SDL-devel glew-devel libao-devel libtheora-devel libvorbis-devel
|
|
|
|
libpng-devel libxml2-devel SDL_ttf-devel tcl-devel"
|
2012-12-23 11:54:04 +01:00
|
|
|
|
|
|
|
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
|
|
|
|
}
|