28 lines
790 B
Bash
28 lines
790 B
Bash
# Template file for 'dgen-sdl'
|
|
pkgname=dgen-sdl
|
|
version=1.33
|
|
revision=3
|
|
build_style=gnu-configure
|
|
hostmakedepends="automake libtool pkg-config nasm"
|
|
makedepends="SDL-devel libarchive-devel"
|
|
short_desc="Multi-platform Genesis/Mega Drive Emulator"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
license="BSD, GPL-2, LGPL-2.1"
|
|
homepage="http://dgen.sourceforge.net"
|
|
distfiles="${SOURCEFORGE_SITE}/dgen/${pkgname}-${version}.tar.gz"
|
|
checksum=99e2c06017c22873c77f88186ebcc09867244eb6e042c763bb094b02b8def61e
|
|
|
|
if [ -n "$CROSS_BUILD" ]; then
|
|
hostmakedepends+=" ${makedepends}"
|
|
fi
|
|
|
|
pre_configure() {
|
|
sed -i Makefile.asm.am -e 's;-o $@ -- $<;-o $@ $^;'
|
|
NOCONFIGURE=1 autoreconf -fi
|
|
}
|
|
|
|
post_install() {
|
|
vlicense COPYING
|
|
# Cyclone is a utility built for the host
|
|
rm -f ${DESTDIR}/usr/bin/cyclone
|
|
}
|