mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-14 11:03:49 +02:00
dgen-sdl: really fix cross
This commit is contained in:
parent
fc42f3e4b2
commit
05fc4f35db
1 changed files with 7 additions and 1 deletions
|
@ -3,7 +3,7 @@ pkgname=dgen-sdl
|
||||||
version=1.33
|
version=1.33
|
||||||
revision=3
|
revision=3
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
hostmakedepends="automake libtool pkg-config nasm SDL-devel"
|
hostmakedepends="automake libtool pkg-config nasm"
|
||||||
makedepends="SDL-devel libarchive-devel"
|
makedepends="SDL-devel libarchive-devel"
|
||||||
short_desc="Multi-platform Genesis/Mega Drive Emulator"
|
short_desc="Multi-platform Genesis/Mega Drive Emulator"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
|
@ -12,6 +12,10 @@ homepage="http://dgen.sourceforge.net"
|
||||||
distfiles="${SOURCEFORGE_SITE}/dgen/${pkgname}-${version}.tar.gz"
|
distfiles="${SOURCEFORGE_SITE}/dgen/${pkgname}-${version}.tar.gz"
|
||||||
checksum=99e2c06017c22873c77f88186ebcc09867244eb6e042c763bb094b02b8def61e
|
checksum=99e2c06017c22873c77f88186ebcc09867244eb6e042c763bb094b02b8def61e
|
||||||
|
|
||||||
|
if [ -n "$CROSS_BUILD" ]; then
|
||||||
|
hostmakedepends+=" ${makedepends}"
|
||||||
|
fi
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
sed -i Makefile.asm.am -e 's;-o $@ -- $<;-o $@ $^;'
|
sed -i Makefile.asm.am -e 's;-o $@ -- $<;-o $@ $^;'
|
||||||
NOCONFIGURE=1 autoreconf -fi
|
NOCONFIGURE=1 autoreconf -fi
|
||||||
|
@ -19,4 +23,6 @@ pre_configure() {
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense COPYING
|
vlicense COPYING
|
||||||
|
# Cyclone is a utility built for the host
|
||||||
|
rm -f ${DESTDIR}/usr/bin/cyclone
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue