void-packages/srcpkgs/SDL_gfx/template

40 lines
939 B
Bash
Raw Normal View History

2015-04-24 20:59:55 +00:00
# Template file for 'SDL_gfx'
pkgname=SDL_gfx
version=2.0.25
2015-04-25 08:19:07 +00:00
revision=2
2015-04-24 20:59:55 +00:00
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="SDL-devel"
2015-04-25 03:35:08 +00:00
short_desc="Graphics drawing primitives for SDL"
2015-04-24 20:59:55 +00:00
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
license="BSD"
homepage="http://cms.ferzkopp.net/index.php/software/13-sdl-gfx"
distfiles="http://www.ferzkopp.net/Software/SDL_gfx-2.0/SDL_gfx-2.0.25.tar.gz"
checksum=556eedc06b6cf29eb495b6d27f2dcc51bf909ad82389ba2fa7bdc4dec89059c0
pre_configure() {
case "${XBPS_TARGET_MACHINE}" in
x86_64*|i686*)
configure_args+=" --enable-mmx"
;;
*)
configure_args+=" --disable-mmx"
;;
esac
}
post_install() {
vlicense COPYING
vlicense LICENSE
}
SDL_gfx-devel_package() {
2015-04-25 01:06:17 +00:00
depends="SDL-devel ${sourcepkg}>=${version}_${revision}"
2015-04-24 20:59:55 +00:00
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
2015-04-25 08:19:07 +00:00
vmove usr/lib/*.a
vmove usr/lib/*.so
2015-04-24 20:59:55 +00:00
}
}