Merge pull request #2592 from pullmoll/SDL2_net
New package: SDL2_net-2.0.0
This commit is contained in:
commit
a7d05dbc91
3 changed files with 30 additions and 0 deletions
|
@ -1671,6 +1671,7 @@ libsmm-local.so.3 libopensc-0.13.0_2
|
||||||
libSDL2_ttf-2.0.so.0 SDL2_ttf-2.0.12_1
|
libSDL2_ttf-2.0.so.0 SDL2_ttf-2.0.12_1
|
||||||
librtlsdr.so.0 librtlsdr-0.5.3_1
|
librtlsdr.so.0 librtlsdr-0.5.3_1
|
||||||
libSDL2_mixer-2.0.so.0 SDL2_mixer-2.0.0_1
|
libSDL2_mixer-2.0.so.0 SDL2_mixer-2.0.0_1
|
||||||
|
libSDL2_net-2.0.so.0 SDL2_net-2.0.0_1
|
||||||
libnxml.so.0 libnxml-0.18.3_1
|
libnxml.so.0 libnxml-0.18.3_1
|
||||||
libmrss.so.0 libmrss-0.19.2_1
|
libmrss.so.0 libmrss-0.19.2_1
|
||||||
libuv.so.1 libuv-1.0.0_1
|
libuv.so.1 libuv-1.0.0_1
|
||||||
|
|
1
srcpkgs/SDL2_net-devel
Symbolic link
1
srcpkgs/SDL2_net-devel
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
SDL2_net
|
28
srcpkgs/SDL2_net/template
Normal file
28
srcpkgs/SDL2_net/template
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
# Template file for 'SDL2_net'
|
||||||
|
pkgname=SDL2_net
|
||||||
|
version=2.0.0
|
||||||
|
revision=1
|
||||||
|
build_style=gnu-configure
|
||||||
|
configure_args="--disable-static"
|
||||||
|
hostmakedepends="pkg-config"
|
||||||
|
makedepends="SDL2-devel"
|
||||||
|
short_desc="SDL2 networking module"
|
||||||
|
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
|
||||||
|
license="BSD"
|
||||||
|
homepage="https://www.libsdl.org/projects/SDL_net/"
|
||||||
|
distfiles="https://www.libsdl.org/projects/SDL_net/release/${pkgname}-${version}.tar.gz"
|
||||||
|
checksum=d715be30783cc99e541626da52079e308060b21d4f7b95f0224b1d06c1faacab
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
vlicense COPYING.txt
|
||||||
|
}
|
||||||
|
|
||||||
|
SDL2_net-devel_package() {
|
||||||
|
depends="SDL2-devel ${sourcepkg}>=${version}_${revision}"
|
||||||
|
short_desc+=" - development files"
|
||||||
|
pkg_install() {
|
||||||
|
vmove usr/include
|
||||||
|
vmove usr/lib/pkgconfig
|
||||||
|
vmove "usr/lib/*.so"
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in a new issue