npth: update to 1.7.

This commit is contained in:
Leah Neukirchen 2024-02-29 15:18:09 +01:00
parent e60a4e0653
commit 382a618ce7
1 changed files with 8 additions and 3 deletions

View File

@ -1,6 +1,6 @@
# Template file for 'npth' # Template file for 'npth'
pkgname=npth pkgname=npth
version=1.6 version=1.7
revision=1 revision=1
build_style=gnu-configure build_style=gnu-configure
short_desc="New portable threads library" short_desc="New portable threads library"
@ -8,7 +8,12 @@ maintainer="Leah Neukirchen <leah@vuxu.org>"
license="LGPL-2.1-or-later" license="LGPL-2.1-or-later"
homepage="http://git.gnupg.org/cgi-bin/gitweb.cgi?p=npth.git" homepage="http://git.gnupg.org/cgi-bin/gitweb.cgi?p=npth.git"
distfiles="https://gnupg.org/ftp/gcrypt/${pkgname}/${pkgname}-${version}.tar.bz2" distfiles="https://gnupg.org/ftp/gcrypt/${pkgname}/${pkgname}-${version}.tar.bz2"
checksum=1393abd9adcf0762d34798dc34fdcf4d0d22a8410721e76f1e3afcd1daa4e2d1 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() { npth-devel_package() {
depends="${sourcepkg}>=${version}_${revision}" depends="${sourcepkg}>=${version}_${revision}"
@ -16,7 +21,7 @@ npth-devel_package() {
pkg_install() { pkg_install() {
vmove usr/include vmove usr/include
vmove "usr/lib/*.so" vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
vmove usr/share vmove usr/share
vmove usr/bin/npth-config
} }
} }