2011-09-29 10:35:27 +02:00
|
|
|
# Template file for 'rest'
|
|
|
|
pkgname=rest
|
2011-11-10 23:02:11 +01:00
|
|
|
version=0.7.12
|
2013-04-14 11:53:56 +02:00
|
|
|
revision=4
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2012-10-11 11:13:25 +02:00
|
|
|
configure_args="--disable-static"
|
2013-04-15 17:35:43 +02:00
|
|
|
hostmakedepends="pkg-config gobject-introspection"
|
2013-04-14 11:53:56 +02:00
|
|
|
makedepends="libglib-devel libsoup-gnome-devel libxml2-devel"
|
2011-09-29 10:35:27 +02:00
|
|
|
short_desc="RESTful library"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-10-27 19:50:46 +02:00
|
|
|
license="GPL-2"
|
2012-10-11 11:13:25 +02:00
|
|
|
homepage="http://www.gnome.org"
|
|
|
|
distfiles="${GNOME_SITE}/$pkgname/0.7/$pkgname-$version.tar.xz"
|
2011-11-10 23:02:11 +01:00
|
|
|
checksum=16ffa4929078dabfcfac31f9ce942072ebab67e3339ce9f378127457b03baf3a
|
2011-09-29 10:35:27 +02: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 11:53:56 +02:00
|
|
|
|
|
|
|
rest-devel_package() {
|
|
|
|
depends="libglib-devel libsoup-devel libxml2-devel rest-${version}_${revision}"
|
|
|
|
short_desc="${short_desc} -- development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove usr/share
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
rest_package() {
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|