diff options
-rw-r--r-- | user/s6-dns/APKBUILD | 16 | ||||
-rw-r--r-- | user/s6-dns/s6-dns.pc.in | 6 |
2 files changed, 14 insertions, 8 deletions
diff --git a/user/s6-dns/APKBUILD b/user/s6-dns/APKBUILD index fe725f999..58de23ace 100644 --- a/user/s6-dns/APKBUILD +++ b/user/s6-dns/APKBUILD @@ -1,36 +1,36 @@ # Contributor: Laurent Bercot <ska-adelie@skarnet.org> # Maintainer: Laurent Bercot <ska-adelie@skarnet.org> pkgname=s6-dns -pkgver=2.3.7.2 +pkgver=2.4.0.0 pkgrel=0 pkgdesc="skarnet.org's DNS client libraries and command-line DNS client utilities" url="https://skarnet.org/software/s6-dns/" arch="all" options="!check" license="ISC" -_skalibs_version=2.14 +_skalibs_version=2.14.3 depends="" depends_dev="skalibs-dev>=$_skalibs_version" makedepends="$depends_dev" subpackages="$pkgname-dev $pkgname-libs $pkgname-doc" -source="https://skarnet.org/software/$pkgname/$pkgname-$pkgver.tar.gz" +source="https://skarnet.org/software/$pkgname/$pkgname-$pkgver.tar.gz s6-dns.pc.in" build() { ./configure \ --enable-shared \ - --enable-static \ --disable-allstatic \ --prefix=/usr \ - --libdir=/usr/lib \ - --libexecdir="/usr/lib/$pkgname" \ - --with-dynlib=/lib + --libexecdir="/usr/lib/$pkgname" make } package() { make DESTDIR="$pkgdir" install mkdir -p -m 0755 "$pkgdir/usr/share/doc" + sed -e "s/@@VERSION@@/$pkgver/g; s/@@SKALIBS_VERSION@@/${_skalibs_version}/g;" "$srcdir/$pkgname.pc.in" > "$srcdir/$pkgname.pc" + install -D -m 0644 "$srcdir/$pkgname.pc" "$pkgdir/usr/lib/pkgconfig/$pkgname.pc" cp -a "$builddir/doc" "$pkgdir/usr/share/doc/$pkgname" } -sha512sums="4dc89e3b8ba22e4e63e8e5a84432ce444865712755c600b4bc62b49dda13c09c372ff2169b0db4790d0f07c392005dda76ed1df5ef8335d2f382d09919b53eae s6-dns-2.3.7.2.tar.gz" +sha512sums="6c9eb8ad4501ac20733747ae0065ed1d19abd2c61e29e98fc6d0421367ec9ece951daea287e4ec8c4301a74b6f96b8a0e376b4b3ba046cca515b8b57d69600e2 s6-dns-2.4.0.0.tar.gz +fd93571da2d2a6c2dea00219414f9ee5fe3bc09a4a6a7fd002b9251c22ff682eddfeff4bf9c6c90d8b02681fc8117328a1fd9689839ab457d354870c522bf5e7 s6-dns.pc.in" diff --git a/user/s6-dns/s6-dns.pc.in b/user/s6-dns/s6-dns.pc.in new file mode 100644 index 000000000..1edd81bca --- /dev/null +++ b/user/s6-dns/s6-dns.pc.in @@ -0,0 +1,6 @@ +Name: s6-dns +Description: A DNS client library for sync+async single-threaded resolution +URL: https://skarnet.org/software/s6-dns/ +Version: @@VERSION@@ +Requires.private: skalibs >= @@SKALIBS_VERSION@@ +Libs: -ls6dns |