void-packages/srcpkgs/SDL_net/template

36 lines
930 B
Text
Raw Normal View History

# Template file for 'SDL_net'
pkgname=SDL_net
2012-01-16 14:13:34 +00:00
version=1.2.8
revision=3
build_style=gnu-configure
configure_args="--disable-static"
makedepends="SDL-devel"
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"
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
long_desc="
This is a small sample cross-platform networking library which is
supplementary to the SDL (Simple DirectMedia Layer) library."
2012-01-16 14:13:34 +00:00
post_install() {
vinstall COPYING 644 usr/share/licenses/${pkgname}
}
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
}
}