2009-12-25 22:04:35 +00:00
|
|
|
# Template file for 'SDL_net'
|
|
|
|
pkgname=SDL_net
|
2012-01-16 14:13:34 +00:00
|
|
|
version=1.2.8
|
2014-01-05 07:36:36 +00:00
|
|
|
revision=4
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2012-10-10 08:16:13 +00:00
|
|
|
configure_args="--disable-static"
|
2013-04-12 07:01:46 +00:00
|
|
|
makedepends="SDL-devel"
|
2009-12-25 22:04:35 +00:00
|
|
|
short_desc="Small sample cross-platform networking library for SDL"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2012-01-16 14:13:34 +00:00
|
|
|
license="BSD"
|
2012-10-10 08:16:13 +00:00
|
|
|
homepage="http://www.libsdl.org/projects/SDL_net/"
|
|
|
|
distfiles="http://www.libsdl.org/projects/$pkgname/release/$pkgname-$version.tar.gz"
|
2012-01-16 14:13:34 +00:00
|
|
|
checksum=5f4a7a8bb884f793c278ac3f3713be41980c5eedccecff0260411347714facb4
|
2009-12-25 22:04:35 +00:00
|
|
|
|
2012-01-16 14:13:34 +00:00
|
|
|
post_install() {
|
|
|
|
vinstall COPYING 644 usr/share/licenses/${pkgname}
|
|
|
|
}
|
2013-04-12 07:01:46 +00:00
|
|
|
|
|
|
|
SDL_net-devel_package() {
|
2014-01-05 07:36:36 +00:00
|
|
|
depends="SDL-devel ${sourcepkg}>=${version}_${revision}"
|
|
|
|
short_desc+=" - development files"
|
2013-04-12 07:01:46 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2014-01-05 07:36:36 +00:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-12 07:01:46 +00:00
|
|
|
}
|
|
|
|
}
|