void-packages/srcpkgs/npth/template

23 lines
649 B
Bash

# Template file for 'npth'
pkgname=npth
version=1.1
revision=1
build_style=gnu-configure
short_desc="New portable threads library"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="GPL-2,LGPL-3"
homepage="http://git.gnupg.org/cgi-bin/gitweb.cgi?p=npth.git"
distfiles="ftp://ftp.gnupg.org/gcrypt/${pkgname}/${pkgname}-${version}.tar.bz2"
checksum=896c561eb2ec8da35f11828fb04a3fbff12d41ff657c799056d7dc4a66e5df7f
npth-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" -- development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
vmove usr/share
vmove usr/bin/npth-config
}
}