2011-09-29 08:35:27 +00:00
|
|
|
# Template file for 'rest'
|
|
|
|
pkgname=rest
|
2013-09-26 16:59:18 +00:00
|
|
|
version=0.7.90
|
|
|
|
revision=1
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2012-10-11 09:13:25 +00:00
|
|
|
configure_args="--disable-static"
|
2013-04-15 15:35:43 +00:00
|
|
|
hostmakedepends="pkg-config gobject-introspection"
|
2013-09-26 16:59:18 +00:00
|
|
|
makedepends="libglib-devel libsoup-gnome-devel>=2.44 libxml2-devel"
|
2011-09-29 08:35:27 +00:00
|
|
|
short_desc="RESTful library"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-10-27 17:50:46 +00:00
|
|
|
license="GPL-2"
|
2012-10-11 09:13:25 +00:00
|
|
|
homepage="http://www.gnome.org"
|
|
|
|
distfiles="${GNOME_SITE}/$pkgname/0.7/$pkgname-$version.tar.xz"
|
2013-09-26 16:59:18 +00:00
|
|
|
checksum=1d682acaac4d946cc7c98a2dd9d65a8c83a6fdb8ca6759e70b8b5042fe66c022
|
2011-09-29 08:35:27 +00:00
|
|
|
long_desc="
|
|
|
|
This library has been designed to make it easier to access web services that
|
|
|
|
claim to be RESTful. A reasonable definition of what this means can be found
|
|
|
|
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."
|
2013-04-14 09:53:56 +00:00
|
|
|
|
|
|
|
rest-devel_package() {
|
2013-09-26 16:59:18 +00:00
|
|
|
depends="libglib-devel libsoup-devel>=2.44 libxml2-devel rest-${version}_${revision}"
|
|
|
|
short_desc+=" - development files"
|
2013-04-14 09:53:56 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove usr/share
|
2013-09-26 16:59:18 +00:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-14 09:53:56 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
rest_package() {
|
2013-09-26 16:59:18 +00:00
|
|
|
depends="libsoup-gnome>=2.44"
|
2013-04-14 09:53:56 +00:00
|
|
|
pkg_install() {
|
2013-09-26 16:59:18 +00:00
|
|
|
vmove all
|
2013-04-14 09:53:56 +00:00
|
|
|
}
|
|
|
|
}
|