New package: fceux-2.2.2

This commit is contained in:
bra1nwave 2016-02-21 20:08:56 +01:00
parent de38c29c6e
commit 67b3716e15
3 changed files with 38 additions and 0 deletions

View file

@ -0,0 +1,11 @@
--- SConstruct.orig
+++ SConstruct
@@ -236,6 +237,6 @@
env.Alias('install', env.Command(share_dst, share_src, [Copy(share_dst, share_src)]))
env.Alias('install', env.Command(man_dst, man_src, [Copy(man_dst, man_src)]))
env.Alias('install', env.Command(man_net_dst, man_net_src, [Copy(man_net_dst, man_net_src)]))
-env.Alias('install', env.Command(image_dst, image_src, [Copy(image_dst, image_src)]))
-env.Alias('install', env.Command(desktop_dst, desktop_src, [Copy(desktop_dst, desktop_src)]))
+env.Alias('install', env.Command(image_dst, image_src, [Mkdir(image_dst),Copy(image_dst, image_src)]))
+env.Alias('install', env.Command(desktop_dst, desktop_src, [Mkdir(desktop_dst),Copy(desktop_dst, desktop_src)]))
env.Alias('install', (prefix + "/bin/"))

View file

@ -0,0 +1,10 @@
--- SConstruct.orig
+++ SConstruct
@@ -34,6 +34,7 @@
prefix = GetOption('prefix')
env = Environment(options = opts)
+env.Append(ENV = {'PATH' : os.environ['PATH']})
if env['RELEASE']:
env.Append(CPPDEFINES=["PUBLIC_RELEASE"])

17
srcpkgs/fceux/template Normal file
View file

@ -0,0 +1,17 @@
# Template file for 'fceux'
pkgname=fceux
version=2.2.2
revision=1
build_style=scons
hostmakedepends="pkg-config scons"
makedepends="zlib-devel lua51-devel SDL-devel gtk+-devel gd-devel glew-devel gdk-pixbuf-devel"
short_desc="The all in one NES/Famicom Emulator"
maintainer="bra1nwave <brainwave@openmailbox.org>"
license="GPL-2"
homepage="http://www.fceux.com/"
distfiles="${SOURCEFORGE_SITE}/fceultra/Source%20Code/${version}%20src/${pkgname}-${version}.src.tar.gz"
checksum=804d11bdb4a195f3a580ce5d2d01be877582763378637e16186a22459f5fe5e1
do_install() {
scons --prefix=${DESTDIR}/usr install
}