2011-09-29 11:03:27 +02:00
|
|
|
# Template file for 'liboauth'
|
|
|
|
pkgname=liboauth
|
|
|
|
version=0.9.4
|
2014-02-19 09:33:51 +01:00
|
|
|
revision=4
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2011-09-29 11:03:27 +02:00
|
|
|
configure_args="--enable-nss"
|
|
|
|
homepage="http://liboauth.sourceforge.net"
|
|
|
|
license="MIT"
|
2014-02-19 09:33:51 +01:00
|
|
|
hostmakedepends="pkg-config"
|
|
|
|
makedepends="libcurl-devel nss-devel"
|
2011-09-29 11:03:27 +02:00
|
|
|
short_desc="C library implementing OAuth Core RFC 5849"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2013-04-13 10:15:49 +02:00
|
|
|
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz"
|
2011-09-29 11:03:27 +02:00
|
|
|
checksum=77e372359caca5375fbcc63ac638f349e6c93c98d291992d8ebb9bb8291ca549
|
|
|
|
|
2013-04-13 10:15:49 +02:00
|
|
|
liboauth-devel_package() {
|
2014-02-19 09:33:51 +01:00
|
|
|
depends="libcurl-devel nss-devel liboauth>=${version}_${revision}"
|
2013-04-13 10:15:49 +02:00
|
|
|
short_desc+=" -- development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/share
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove "usr/lib/*.a"
|
2014-02-19 09:33:51 +01:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-13 10:15:49 +02:00
|
|
|
}
|
|
|
|
}
|