void-packages/srcpkgs/dgen-sdl/template

29 lines
820 B
Bash

# Template file for 'dgen-sdl'
pkgname=dgen-sdl
version=1.33
revision=4
build_style=gnu-configure
hostmakedepends="automake libtool pkg-config nasm"
makedepends="SDL-devel libarchive-devel"
short_desc="Multi-platform Genesis/Mega Drive Emulator"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-3-Clause, GPL-2.0-or-later, LGPL-2.1-or-later"
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
}