From 0c2eb2b4799e65960a19375bde289d1c62c68fc8 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 10 Oct 2012 10:16:13 +0200 Subject: [PATCH] SDL_net: disable static, set -devel noarch. --- srcpkgs/SDL_net/SDL_net-devel.template | 4 ++-- srcpkgs/SDL_net/template | 9 +++++---- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/srcpkgs/SDL_net/SDL_net-devel.template b/srcpkgs/SDL_net/SDL_net-devel.template index ab427cd057..023cad8ef3 100644 --- a/srcpkgs/SDL_net/SDL_net-devel.template +++ b/srcpkgs/SDL_net/SDL_net-devel.template @@ -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 } diff --git a/srcpkgs/SDL_net/template b/srcpkgs/SDL_net/template index 6349087c00..7fa3740bb9 100644 --- a/srcpkgs/SDL_net/template +++ b/srcpkgs/SDL_net/template @@ -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 " 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() {