void-packages/srcpkgs/liboauth/template

26 lines
753 B
Bash

# Template file for 'liboauth'
pkgname=liboauth
version=1.0.3
revision=2
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@voidlinux.eu>"
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"
}
}