SDL_net: disable static, set -devel noarch.

This commit is contained in:
Juan RP 2012-10-10 10:16:13 +02:00
parent dd335113f1
commit 0c2eb2b479
2 changed files with 7 additions and 6 deletions

View File

@ -1,14 +1,14 @@
# Template file for 'SDL_net-devel'.
#
depends="SDL-devel SDL_net"
depends="SDL-devel SDL_net-${version}_${revision}"
short_desc="${sourcepkg} development files"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
noarch=yes
do_install() {
vmove usr/include usr
vmove "usr/lib/*.a" usr/lib
vmove usr/lib/pkgconfig usr/lib
}

View File

@ -1,19 +1,20 @@
# Template file for 'SDL_net'
pkgname=SDL_net
version=1.2.8
homepage="http://www.libsdl.org/projects/SDL_net/"
distfiles="http://www.libsdl.org/projects/$pkgname/release/$pkgname-$version.tar.gz"
revision=2
build_style=gnu-configure
makedepends="SDL-devel"
revision=1
configure_args="--disable-static"
short_desc="Small sample cross-platform networking library for SDL"
maintainer="Juan RP <xtraeme@gmail.com>"
license="BSD"
homepage="http://www.libsdl.org/projects/SDL_net/"
distfiles="http://www.libsdl.org/projects/$pkgname/release/$pkgname-$version.tar.gz"
checksum=5f4a7a8bb884f793c278ac3f3713be41980c5eedccecff0260411347714facb4
long_desc="
This is a small sample cross-platform networking library which is
supplementary to the SDL (Simple DirectMedia Layer) library."
makedepends="SDL-devel"
subpackages="$pkgname-devel"
post_install() {