36 lines
961 B
Bash
36 lines
961 B
Bash
# Template file for 'musl-fts'
|
|
pkgname=musl-fts
|
|
version=1.2.7
|
|
revision=4
|
|
archs="*-musl"
|
|
build_style=gnu-configure
|
|
hostmakedepends="automake libtool"
|
|
short_desc="Implementation of fts(3) for musl libc"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="BSD-3-Clause"
|
|
homepage="https://github.com/void-linux/musl-fts"
|
|
distfiles="https://github.com/void-linux/${pkgname}/archive/v${version}.tar.gz>${pkgname}-${version}.tar.gz"
|
|
checksum=49ae567a96dbab22823d045ffebe0d6b14b9b799925e9ca9274d47d26ff482a6
|
|
|
|
pre_configure() {
|
|
sed -i "/pkgconfig_DATA/i pkgconfigdir=\$(libdir)/pkgconfig" Makefile.am
|
|
./bootstrap.sh
|
|
}
|
|
post_install() {
|
|
vinstall ${pkgname}.pc 644 usr/lib/pkgconfig
|
|
vlicense COPYING
|
|
vman fts.3 musl-fts.3
|
|
}
|
|
|
|
musl-fts-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="${sourcepkg}-${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/share/man
|
|
vmove usr/include
|
|
vmove usr/lib/*.a
|
|
vmove usr/lib/*.so
|
|
vmove usr/lib/pkgconfig
|
|
}
|
|
}
|