void-packages/srcpkgs/nestopia/template
2016-06-23 20:32:49 +02:00

22 lines
780 B
Bash

# Template file for 'nestopia'
pkgname=nestopia
version=1.47
revision=2
wrksrc="rdanbrook-nestopia-549c072"
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=d6d374430a39d00ad0075f1253c82fce577f51241560c0e06ba805a6a1cbb1e7
do_build() {
make CC=$CC CXX=$CXX LDFLAGS="$LDFLAGS" PREFIX=/usr ${makejobs}
}
do_install() {
mkdir -p ${DESTDIR}/usr/{bin,share/$pkgname}
make PREFIX=${DESTDIR}/usr install
}