void-packages/srcpkgs/npth/template

23 lines
649 B
Bash

# Template file for 'npth'
pkgname=npth
version=1.2
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=6ddbdddb2cf49a4723f9d1ad6563c480d6760dcb63cb7726b8fc3bc2e1b6c08a
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
}
}