void-packages/srcpkgs/npth/template
Christian Neukirchen 5d115fafcd npth: update to 1.3.
2016-11-24 13:13:35 +01:00

22 lines
649 B
Bash

# Template file for 'npth'
pkgname=npth
version=1.3
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=bca81940436aed0734eb8d0ff8b179e04cc8c087f5625204419f5f45d736a82a
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
}
}