atari800: misc tweaks (close #1215)

- Set comment on first line to follow void-packages style.
- Do not force opengl, let configure enable/disable it.
- Do not strip bins via install(8) -s, let xbps-src do this.

This fixes cross compilation and makes xbps-src generate a working -dbg pkg.
This commit is contained in:
Juan RP 2015-03-28 04:17:41 +01:00
parent 403c959bee
commit de363f334e
1 changed files with 9 additions and 3 deletions

View File

@ -1,5 +1,6 @@
pkgname="atari800"
version="3.1.0"
# Template file for 'atari800'
pkgname=atari800
version=3.1.0
revision=1
build_style=gnu-configure
short_desc="Emulator of Atari 800/800XL/130XE/5200 with various extensions"
@ -10,7 +11,7 @@ build_wrksrc="src"
homepage="http://atari800.sourceforge.net"
configure_args="
--disable-sdltest
--with-video=sdl --with-opengl --with-sound=sdl --with-x --with-readline
--with-video=sdl --with-sound=sdl --with-x --with-readline
--enable-rserial --enable-rnetwork
--enable-linuxjoystick --enable-eventrecording
--enable-voicebox --enable-stereosound
@ -22,3 +23,8 @@ configure_args="
--enable-bufferedlog --enable-newcycleexact --enable-unalignedwords"
distfiles="${SOURCEFORGE_SITE}/atari800/atari800/${version}/atari800-${version}.tar.gz"
checksum="901b02cce92ddb0b614f8034e6211f24cbfc2f8fb1c6581ba0097b1e68f91e0c"
pre_configure() {
# Do not strip bins.
sed -i '/@INSTALL_PROGRAM@/s/-s//' Makefile.in
}