void-packages/srcpkgs/liboauth/template

27 lines
755 B
Plaintext

# Template file for 'liboauth'
pkgname=liboauth
version=0.9.4
revision=4
build_style=gnu-configure
configure_args="--enable-nss"
homepage="http://liboauth.sourceforge.net"
license="MIT"
hostmakedepends="pkg-config"
makedepends="libcurl-devel nss-devel"
short_desc="C library implementing OAuth Core RFC 5849"
maintainer="Juan RP <xtraeme@gmail.com>"
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz"
checksum=77e372359caca5375fbcc63ac638f349e6c93c98d291992d8ebb9bb8291ca549
liboauth-devel_package() {
depends="libcurl-devel nss-devel liboauth>=${version}_${revision}"
short_desc+=" -- development files"
pkg_install() {
vmove usr/include
vmove usr/share
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}