mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-05-13 22:04:37 +02:00
43 lines
1.1 KiB
Text
43 lines
1.1 KiB
Text
# Maintainer: Laurent Bercot <ska-devel@skarnet.org>
|
|
pkgname=skalibs
|
|
# NOTE: If you're upgrading to a new version that fixes some security
|
|
# vulnerability in the APIs used by utmps (mainly timed ipcs),
|
|
# rebuild the following aports:
|
|
# - busybox
|
|
# - mingetty
|
|
# - openssh
|
|
# - util-linux
|
|
pkgver=2.14.4.0
|
|
pkgrel=0
|
|
pkgdesc="Set of general-purpose C programming libraries for skarnet.org software."
|
|
url=https://skarnet.org/software/skalibs/
|
|
arch="all"
|
|
license="ISC"
|
|
options="!check"
|
|
subpackages="$pkgname-static $pkgname-libs $pkgname-dev $pkgname-doc"
|
|
source="https://skarnet.org/software/skalibs/skalibs-$pkgver.tar.gz"
|
|
|
|
build() {
|
|
./configure \
|
|
--prefix=/usr \
|
|
--enable-pkgconfig \
|
|
--with-sysdep-devurandom=yes \
|
|
--with-sysdep-posixspawnearlyreturn=no \
|
|
--with-sysdep-procselfexe=/proc/self/exe
|
|
make
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" install
|
|
mkdir -p "$pkgdir/usr/share/doc"
|
|
cp -a "$builddir/doc" "$pkgdir/usr/share/doc/$pkgname"
|
|
}
|
|
|
|
dev() {
|
|
default_dev
|
|
amove usr/lib/skalibs/sysdeps
|
|
}
|
|
|
|
sha512sums="
|
|
a97c9ecd62e4d751a6613c01831bff5856c5d23f8fd295d539c3280c6ffa2379e67789c728552cb4d85aa03b30af7e2499b80cb8025b52ca6d1c1746b48102b1 skalibs-2.14.4.0.tar.gz
|
|
"
|