-
Notifications
You must be signed in to change notification settings - Fork 2.1k
/
template
29 lines (27 loc) · 855 Bytes
/
template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Template file for 'npth'
pkgname=npth
version=1.7
revision=2
build_style=gnu-configure
configure_args="--enable-install-npth-config"
short_desc="New portable threads library"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="LGPL-2.1-or-later"
homepage="http://git.gnupg.org/cgi-bin/gitweb.cgi?p=npth.git"
distfiles="https://gnupg.org/ftp/gcrypt/${pkgname}/${pkgname}-${version}.tar.bz2"
checksum=8589f56937b75ce33b28d312fccbf302b3b71ec3f3945fde6aaa74027914ad05
post_configure() {
# don't depend on silly glibc internals
vsed -i -e 's/defined(__USE_UNIX98) || defined(__USE_XOPEN2K)/1/' src/npth.h
}
npth-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" -- development files"
pkg_install() {
vmove usr/bin/npth-config
vmove usr/include
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
vmove usr/share
}
}