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
|
2014-01-05 08:36:36 +01:00
|
|
|
revision=4
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2012-10-10 10:16:13 +02:00
|
|
|
configure_args="--disable-static"
|
2014-02-18 16:55:55 +01:00
|
|
|
hostmakedepends="pkg-config"
|
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
|
|
|
|
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() {
|
2014-01-05 08:36:36 +01:00
|
|
|
depends="SDL-devel ${sourcepkg}>=${version}_${revision}"
|
|
|
|
short_desc+=" - development files"
|
2013-04-12 09:01:46 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2014-01-05 08:36:36 +01:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-12 09:01:46 +02:00
|
|
|
}
|
|
|
|
}
|