2009-12-25 23:04:35 +01:00
|
|
|
# Template file for 'SDL_net'
|
|
|
|
pkgname=SDL_net
|
2012-01-16 15:13:34 +01:00
|
|
|
version=1.2.8
|
2013-04-12 09:01:46 +02:00
|
|
|
revision=3
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2012-10-10 10:16:13 +02:00
|
|
|
configure_args="--disable-static"
|
2013-04-12 09:01:46 +02:00
|
|
|
makedepends="SDL-devel"
|
2009-12-25 23:04:35 +01:00
|
|
|
short_desc="Small sample cross-platform networking library for SDL"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2012-01-16 15:13:34 +01:00
|
|
|
license="BSD"
|
2012-10-10 10:16:13 +02:00
|
|
|
homepage="http://www.libsdl.org/projects/SDL_net/"
|
|
|
|
distfiles="http://www.libsdl.org/projects/$pkgname/release/$pkgname-$version.tar.gz"
|
2012-01-16 15:13:34 +01:00
|
|
|
checksum=5f4a7a8bb884f793c278ac3f3713be41980c5eedccecff0260411347714facb4
|
2009-12-25 23:04:35 +01:00
|
|
|
long_desc="
|
|
|
|
This is a small sample cross-platform networking library which is
|
|
|
|
supplementary to the SDL (Simple DirectMedia Layer) library."
|
|
|
|
|
2012-01-16 15:13:34 +01:00
|
|
|
post_install() {
|
|
|
|
vinstall COPYING 644 usr/share/licenses/${pkgname}
|
|
|
|
}
|
2013-04-12 09:01:46 +02:00
|
|
|
|
|
|
|
SDL_net-devel_package() {
|
|
|
|
depends="SDL-devel SDL_net>=${version}"
|
|
|
|
short_desc+=" -- development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
SDL_net_package() {
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|