24 lines
754 B
Bash
24 lines
754 B
Bash
# Template file for 'musl-obstack'
|
|
pkgname=musl-obstack
|
|
version=1.1
|
|
revision=3
|
|
archs="*-musl"
|
|
build_style=gnu-configure
|
|
configure_args="--disable-shared"
|
|
hostmakedepends="automake libtool"
|
|
short_desc="Implementation of obstack for musl libc"
|
|
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="https://github.com/void-linux/musl-obstack"
|
|
distfiles="https://github.com/void-linux/${pkgname}/archive/v${version}.tar.gz>${pkgname}-${version}.tar.gz"
|
|
checksum=52a216613e7d55e8725e43d017bb2d49a4b1ffa1e06da472f03c7f9875df7d0d
|
|
|
|
CFLAGS="-fPIC"
|
|
pre_configure() {
|
|
sed -i "/pkgconfig_DATA/i pkgconfigdir=\$(libdir)/pkgconfig" Makefile.am
|
|
./bootstrap.sh
|
|
}
|
|
|
|
post_install() {
|
|
vinstall ${pkgname}.pc 644 usr/lib/pkgconfig
|
|
}
|