mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-23 09:32:31 +01:00
43 lines
944 B
Plaintext
43 lines
944 B
Plaintext
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=confuse
|
|
pkgver=3.2.2
|
|
pkgrel=0
|
|
pkgdesc="C library for parsing configuration files"
|
|
url="https://github.com/martinh/libconfuse"
|
|
arch="all"
|
|
license="BSD"
|
|
makedepends="flex bison"
|
|
subpackages="$pkgname-dev $pkgname-doc"
|
|
source="https://github.com/martinh/libconfuse/releases/download/v$pkgver/confuse-$pkgver.tar.xz"
|
|
|
|
builddir="$srcdir/$pkgname-$pkgver"
|
|
|
|
# secfixes:
|
|
# 3.2.2-r0:
|
|
# - CVE-2018-14447
|
|
|
|
build() {
|
|
cd "$builddir"
|
|
./configure \
|
|
--build=$CBUILD \
|
|
--host=$CHOST \
|
|
--prefix=/usr \
|
|
--enable-shared \
|
|
--disable-nls
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd "$builddir"
|
|
make check
|
|
}
|
|
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
make DESTDIR="$pkgdir" install
|
|
install -D -m644 libconfuse.pc "$pkgdir"/usr/lib/pkgconfig/libconfuse.pc
|
|
}
|
|
|
|
sha512sums="c6baea65e064fe7f2d1bde187c6dcbb7f03c31f5d777cb04576f9cc2d94e9c96b7ee202e030e9a2c7eb619deb240d9e76fb12b3528ae5aa0d3abe231354d12c9 confuse-3.2.2.tar.xz"
|