2011-09-29 09:03:27 +00:00
|
|
|
# Template file for 'liboauth'
|
|
|
|
pkgname=liboauth
|
|
|
|
version=0.9.4
|
2013-04-13 08:15:49 +00:00
|
|
|
revision=3
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2011-09-29 09:03:27 +00:00
|
|
|
configure_args="--enable-nss"
|
|
|
|
homepage="http://liboauth.sourceforge.net"
|
|
|
|
license="MIT"
|
2012-05-23 16:26:56 +00:00
|
|
|
makedepends="pkg-config libcurl-devel nss-devel"
|
2011-09-29 09:03:27 +00:00
|
|
|
short_desc="C library implementing OAuth Core RFC 5849"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2013-04-13 08:15:49 +00:00
|
|
|
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz"
|
2011-09-29 09:03:27 +00:00
|
|
|
checksum=77e372359caca5375fbcc63ac638f349e6c93c98d291992d8ebb9bb8291ca549
|
|
|
|
long_desc="
|
|
|
|
liboauth is a collection of POSIX-c functions implementing the OAuth Core
|
|
|
|
RFC 5849 standard. liboauth provides functions to escape and encode
|
|
|
|
parameters according to OAuth specification and offers high-level
|
|
|
|
functionality to sign requests or verify OAuth signatures as well as
|
|
|
|
perform HTTP requests."
|
|
|
|
|
2013-04-13 08:15:49 +00:00
|
|
|
liboauth-devel_package() {
|
|
|
|
depends="libcurl-devel nss-devel liboauth>=${version}"
|
|
|
|
short_desc+=" -- development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/share
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove "usr/lib/*.a"
|
|
|
|
}
|
|
|
|
}
|