Merge pull request #1951 from pullmoll/SDL2_gfx
New package: SDL2_gfx-1.0.1
This commit is contained in:
commit
078c92775c
3 changed files with 40 additions and 0 deletions
|
@ -2071,3 +2071,4 @@ libskarnet.so.2 skalibs-2.3.5.1_1
|
|||
libportablexdr.so.0 portablexdr-4.9.1_1
|
||||
libtorrent-rasterbar.so.8 libtorrent1-1.0.5_1
|
||||
libtidy5.so.4 libtidy5-4.9.30_1
|
||||
libSDL2_gfx-1.0.so.0 SDL2_gfx-1.0.1_1
|
||||
|
|
1
srcpkgs/SDL2_gfx-devel
Symbolic link
1
srcpkgs/SDL2_gfx-devel
Symbolic link
|
@ -0,0 +1 @@
|
|||
SDL2_gfx
|
38
srcpkgs/SDL2_gfx/template
Normal file
38
srcpkgs/SDL2_gfx/template
Normal file
|
@ -0,0 +1,38 @@
|
|||
# Template file for 'SDL2_gfx'
|
||||
pkgname=SDL2_gfx
|
||||
version=1.0.1
|
||||
revision=1
|
||||
build_style=gnu-configure
|
||||
hostmakedepends="pkg-config"
|
||||
makedepends="SDL2-devel"
|
||||
short_desc="SDL graphics drawing primitives"
|
||||
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
|
||||
license="zlib"
|
||||
homepage="http://cms.ferzkopp.net/index.php/software/13-sdl-gfx"
|
||||
distfiles="http://www.ferzkopp.net/Software/${pkgname}/${pkgname}-${version}.tar.gz"
|
||||
checksum=d69bcbceb811b4e5712fbad3ede737166327f44b727f1388c32581dbbe8c599a
|
||||
|
||||
pre_configure() {
|
||||
case "${XBPS_TARGET_MACHINE}" in
|
||||
x86_64*|i686*)
|
||||
configure_args+=" --enable-mmx"
|
||||
;;
|
||||
*)
|
||||
configure_args+=" --disable-mmx"
|
||||
;;
|
||||
esac
|
||||
}
|
||||
post_install() {
|
||||
vlicense COPYING
|
||||
}
|
||||
SDL2_gfx-devel_package() {
|
||||
depends="SDL2-devel ${sourcepkg}>=${version}_${revision}"
|
||||
short_desc+=" - development files"
|
||||
pkg_install() {
|
||||
vmove usr/include
|
||||
vmove usr/lib/pkgconfig
|
||||
vmove usr/lib/*.a
|
||||
vmove usr/lib/*.so
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in a new issue