28 lines
770 B
Bash
28 lines
770 B
Bash
# Template file for 'SDL_net'
|
|
pkgname=SDL_net
|
|
version=1.2.8
|
|
revision=4
|
|
build_style=gnu-configure
|
|
configure_args="--disable-static"
|
|
hostmakedepends="pkg-config"
|
|
makedepends="SDL-devel"
|
|
short_desc="Small sample cross-platform networking library for SDL"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
license="BSD"
|
|
homepage="http://www.libsdl.org/projects/SDL_net/"
|
|
distfiles="http://www.libsdl.org/projects/$pkgname/release/$pkgname-$version.tar.gz"
|
|
checksum=5f4a7a8bb884f793c278ac3f3713be41980c5eedccecff0260411347714facb4
|
|
|
|
post_install() {
|
|
vlicense COPYING
|
|
}
|
|
|
|
SDL_net-devel_package() {
|
|
depends="SDL-devel ${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|