29 lines
764 B
Bash
29 lines
764 B
Bash
|
# 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"
|
||
|
}
|
||
|
}
|