void-packages/srcpkgs/nestopia/template
2015-06-13 09:54:30 +02:00

22 lines
763 B
Bash

# Template file for 'nestopia'
pkgname=nestopia
version=1.46.2
revision=2
wrksrc="rdanbrook-nestopia-97eab76"
hostmakedepends="pkg-config"
makedepends="SDL2-devel gtk+3-devel glu-devel libarchive-devel libao-devel"
depends="desktop-file-utils"
short_desc="NES/Famicom emulator designed to emulate the NES hardware accurately"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2"
homepage="http://nestopia.sourceforge.net/"
distfiles="https://github.com/rdanbrook/nestopia/tarball/${version}>${pkgname}-${version}.tar.gz"
checksum=512a2158311fc081bfc7e217f378b44a3843fe01f34a37b29d32c01507f465c1
do_build() {
make CC=$CC CXX=$CXX PREFIX=/usr ${makejobs}
}
do_install() {
mkdir -p ${DESTDIR}/usr/{bin,share/$pkgname}
make PREFIX=${DESTDIR}/usr install
}