mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-04-16 03:02:47 +02:00
56 lines
1.3 KiB
Plaintext
56 lines
1.3 KiB
Plaintext
# Maintainer: Ariadne Conill <ariadne@dereferenced.org>
|
|
pkgname=pkgconf
|
|
pkgver=2.2.0
|
|
pkgrel=0
|
|
pkgdesc="development framework configuration tools"
|
|
url="https://gitea.treehouse.systems/ariadne/pkgconf"
|
|
arch="all"
|
|
license="ISC"
|
|
replaces="pkgconfig"
|
|
provides="pkgconfig=1"
|
|
checkdepends="kyua atf"
|
|
subpackages="$pkgname-doc $pkgname-dev"
|
|
source="https://distfiles.ariadne.space/pkgconf/pkgconf-$pkgver.tar.xz
|
|
"
|
|
|
|
# secfixes:
|
|
# 1.9.4-r0:
|
|
# - CVE-2023-24056
|
|
|
|
build() {
|
|
./configure \
|
|
--build=$CBUILD \
|
|
--host=$CHOST \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--mandir=/usr/share/man \
|
|
--infodir=/usr/share/info \
|
|
--localstatedir=/var \
|
|
--with-pkg-config-dir=/usr/local/lib/pkgconfig:/usr/local/share/pkgconfig:/usr/lib/pkgconfig:/usr/share/pkgconfig
|
|
make
|
|
}
|
|
|
|
check() {
|
|
make check
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" install
|
|
ln -s pkgconf "$pkgdir"/usr/bin/pkg-config
|
|
}
|
|
|
|
dev() {
|
|
default_dev
|
|
|
|
# Move pkg-config back to main package (default_dev implicitly moves
|
|
# files /usr/bin/*-config to -dev).
|
|
mv "$subpkgdir"/usr/bin/pkg-config "$pkgdir"/usr/bin/
|
|
|
|
mkdir -p "$pkgdir"/usr/share/aclocal/
|
|
mv "$subpkgdir"/usr/share/aclocal/pkg.m4 "$pkgdir"/usr/share/aclocal/
|
|
}
|
|
|
|
sha512sums="
|
|
c4ff254c7323bdebc2595037df60e33f17fc5c222d7500a4b9d8b18c8b451ac35cd3ac90d31c920c23e9495ece2b82422de61e13286d43de3a5d1fe8211bd944 pkgconf-2.2.0.tar.xz
|
|
"
|