dgen-sdl: really fix cross
This commit is contained in:
parent
fc42f3e4b2
commit
05fc4f35db
|
@ -3,7 +3,7 @@ pkgname=dgen-sdl
|
|||
version=1.33
|
||||
revision=3
|
||||
build_style=gnu-configure
|
||||
hostmakedepends="automake libtool pkg-config nasm SDL-devel"
|
||||
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>"
|
||||
|
@ -12,6 +12,10 @@ 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
|
||||
|
@ -19,4 +23,6 @@ pre_configure() {
|
|||
|
||||
post_install() {
|
||||
vlicense COPYING
|
||||
# Cyclone is a utility built for the host
|
||||
rm -f ${DESTDIR}/usr/bin/cyclone
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue