void-packages/srcpkgs/liboauth/template

27 lines
749 B
Plaintext

# Template file for 'liboauth'
pkgname=liboauth
version=1.0.3
revision=1
build_style=gnu-configure
configure_args="--enable-nss"
hostmakedepends="pkg-config"
makedepends="libcurl-devel nss-devel"
short_desc="C library implementing OAuth Core RFC 5849"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://liboauth.sourceforge.net"
license="MIT"
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz"
checksum=0df60157b052f0e774ade8a8bac59d6e8d4b464058cc55f9208d72e41156811f
liboauth-devel_package() {
depends="${makedepends} ${sourcepkg}=${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"
}
}