2012-12-23 11:54:04 +01:00
|
|
|
# Template file for 'openmsx'
|
|
|
|
pkgname=openmsx
|
|
|
|
version=0.9.1
|
2013-05-22 11:44:13 +02:00
|
|
|
revision=3
|
2012-12-23 11:54:04 +01:00
|
|
|
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=06b82dd7a06baa52ce3aa96545b28103328258e472bd5d99254f4af17492f33e
|
|
|
|
|
2013-05-22 11:44:13 +02:00
|
|
|
hostmakedepends="pkg-config python"
|
|
|
|
makedepends="SDL-devel glew-devel libao-devel
|
2013-04-30 11:57:05 +02:00
|
|
|
libtheora-devel libvorbis-devel libpng-devel>=1.6 libxml2-devel
|
2013-05-22 11:44:13 +02:00
|
|
|
SDL_ttf-devel tcl-devel>=8.6"
|
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
|
|
|
|
}
|
2013-04-14 05:01:48 +02:00
|
|
|
|
|
|
|
openmsx_package() {
|
|
|
|
pkg_install() {
|
2013-04-30 11:57:05 +02:00
|
|
|
vmove all
|
2013-04-14 05:01:48 +02:00
|
|
|
}
|
|
|
|
}
|