From 9e1001abb4bc5ee7c369cb8330542da329a97274 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 11 Oct 2012 11:13:25 +0200 Subject: [PATCH] rest: disable static, set -devel noarch. --- srcpkgs/rest/rest-devel.template | 7 +++---- srcpkgs/rest/rest.rshlibs | 2 -- srcpkgs/rest/template | 14 +++++++------- 3 files changed, 10 insertions(+), 13 deletions(-) diff --git a/srcpkgs/rest/rest-devel.template b/srcpkgs/rest/rest-devel.template index 3af50b80c5c..4c62024484c 100644 --- a/srcpkgs/rest/rest-devel.template +++ b/srcpkgs/rest/rest-devel.template @@ -1,14 +1,13 @@ # Template file for 'rest-devel'. # -depends="glib-devel libsoup-devel libxml2-devel rest" +noarch=yes +depends="glib-devel libsoup-devel libxml2-devel rest-${version}_${revision}" short_desc="${short_desc} (development files)" long_desc="${long_desc} This package contains files for development, headers, static libs, etc." - -do_install() -{ +do_install() { vmove usr/include usr vmove usr/lib/pkgconfig usr/lib vmove usr/share usr diff --git a/srcpkgs/rest/rest.rshlibs b/srcpkgs/rest/rest.rshlibs index 046681bb509..6ace0885140 100644 --- a/srcpkgs/rest/rest.rshlibs +++ b/srcpkgs/rest/rest.rshlibs @@ -2,8 +2,6 @@ libsoup-gnome-2.4.so.1 libsoup-2.4.so.1 libgio-2.0.so.0 libgobject-2.0.so.0 -libgthread-2.0.so.0 -librt.so.1 libglib-2.0.so.0 libxml2.so.2 libpthread.so.0 diff --git a/srcpkgs/rest/template b/srcpkgs/rest/template index 99fd573c7ca..26b9d8d99c5 100644 --- a/srcpkgs/rest/template +++ b/srcpkgs/rest/template @@ -1,14 +1,17 @@ # Template file for 'rest' pkgname=rest version=0.7.12 -homepage="http://www.gnome.org" -distfiles="${GNOME_SITE}/$pkgname/0.7/$pkgname-$version.tar.xz" +revision=3 +subpackages="$pkgname-devel" build_style=gnu-configure -revision=2 -makedepends="pkg-config gobject-introspection glib-devel libsoup-devel libsoup-gnome-devel libxml2-devel" +configure_args="--disable-static" +makedepends="pkg-config gobject-introspection glib-devel libsoup-devel + libsoup-gnome-devel libxml2-devel" short_desc="RESTful library" maintainer="Juan RP " license="GPL-2" +homepage="http://www.gnome.org" +distfiles="${GNOME_SITE}/$pkgname/0.7/$pkgname-$version.tar.xz" checksum=16ffa4929078dabfcfac31f9ce942072ebab67e3339ce9f378127457b03baf3a long_desc=" This library has been designed to make it easier to access web services that @@ -16,6 +19,3 @@ long_desc=" on Wikipedia [1]. However a reasonable description is that a RESTful service should have urls that represent remote objects which methods can then be called on." - -subpackages="$pkgname-devel" -