diff options
author | Laurent Bercot <ska-adelie@skarnet.org> | 2024-10-10 03:42:03 +0000 |
---|---|---|
committer | Laurent Bercot <ska-adelie@skarnet.org> | 2024-10-10 03:42:03 +0000 |
commit | 4e89d81352ae514e0798ce0015819265b2d3bde0 (patch) | |
tree | c74b27fc36008a491d5f3086c9f1c54170bc6444 | |
parent | 1d4a7a53ef2b329549187bf7c60a6c98a2896fc8 (diff) | |
download | packages-4e89d81352ae514e0798ce0015819265b2d3bde0.tar.gz packages-4e89d81352ae514e0798ce0015819265b2d3bde0.tar.bz2 packages-4e89d81352ae514e0798ce0015819265b2d3bde0.tar.xz packages-4e89d81352ae514e0798ce0015819265b2d3bde0.zip |
system/s6-rc: upgrade to 0.5.5.0
Also add a .pc file.
-rw-r--r-- | system/s6-rc/APKBUILD | 22 | ||||
-rw-r--r-- | system/s6-rc/s6-rc.pc.in | 7 |
2 files changed, 18 insertions, 11 deletions
diff --git a/system/s6-rc/APKBUILD b/system/s6-rc/APKBUILD index 6fbcf44e1..a45dcc5aa 100644 --- a/system/s6-rc/APKBUILD +++ b/system/s6-rc/APKBUILD @@ -1,37 +1,37 @@ # Contributor: Laurent Bercot <ska-adelie@skarnet.org> # Maintainer: Laurent Bercot <ska-adelie@skarnet.org> pkgname=s6-rc -pkgver=0.5.4.3 +pkgver=0.5.5.0 pkgrel=0 pkgdesc="skarnet.org's service manager, working on top of s6" url="https://skarnet.org/software/s6-rc/" arch="all" options="!check" license="ISC" -_skalibs_version=2.14 -_s6_version=2.12 +_skalibs_version=2.14.3 +_execline_version=2.9.6 +_s6_version=2.13.1 depends="execline" depends_dev="skalibs-dev>=$_skalibs_version s6-dev>=$_s6_version" -makedepends="$depends_dev execline-dev" +makedepends="$depends_dev execline-dev>=$_execline_version" 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-rc.pc.in" build() { ./configure \ --enable-shared \ - --enable-static \ - --enable-allstatic \ --enable-static-libc \ - --libdir=/usr/lib \ - --libexecdir="/lib/$pkgname" \ - --with-dynlib=/lib + --libexecdir="/lib/$pkgname" make } package() { make DESTDIR="$pkgdir" install + sed -e "s/@@VERSION@@/$pkgver/g; s/@@SKALIBS_VERSION@@/${_skalibs_version}/g; s/@@S6_VERSION@@/${_s6_version}/g;" "$srcdir/$pkgname.pc.in" > "$srcdir/$pkgname.pc" + install -D -m 0644 "$srcdir/$pkgname.pc" "$pkgdir/usr/lib/pkgconfig/$pkgname.pc" mkdir -p -m 0755 "$pkgdir/usr/share/doc" cp -a "$builddir/doc" "$pkgdir/usr/share/doc/$pkgname" } -sha512sums="7a54a32ea1261de79b9494adde74b50dbefce831f5a00f9d3772c9b64fd71918ce54a16dff828de0fb762633255226ca935357f9f31c4264716b7041a5f5f8bb s6-rc-0.5.4.3.tar.gz" +sha512sums="8769c71eaf1416fb1d2040865585e0c3c7abb0c9732313d3534f82be8f50417500796cda41a434e8a521bff77960ba23009e51080892700a158ae61537303081 s6-rc-0.5.5.0.tar.gz +1ca049b2ad49a8ad22f9136d4a82ab692616e82e14b27657b82433b937c5f7ff193ad230a9c968498fb0a1597a4f58174757576444a27bd865347cf28c149ae2 s6-rc.pc.in" diff --git a/system/s6-rc/s6-rc.pc.in b/system/s6-rc/s6-rc.pc.in new file mode 100644 index 000000000..1b8f1b180 --- /dev/null +++ b/system/s6-rc/s6-rc.pc.in @@ -0,0 +1,7 @@ +Name: s6-rc +Description: The C interface to the s6-rc service manager +URL: https://skarnet.org/software/s6-rc/ +Version: @@VERSION@@ +Requires.private: s6 >= @@S6_VERSION@@, skalibs >= @@SKALIBS_VERSION@@ +Libs: -ls6rc + |