35 lines
1.1 KiB
Bash
35 lines
1.1 KiB
Bash
# Template file for 'musl-fts'
|
|
pkgname=musl-fts
|
|
version=1.2.7
|
|
revision=3
|
|
build_style=gnu-configure
|
|
hostmakedepends="automake libtool"
|
|
only_for_archs="aarch64-musl armv6l-musl armv7l-musl i686-musl mips-musl mipshf-musl mipsel-musl mipselhf-musl x86_64-musl armv5tel-musl ppc-musl ppc64le-musl ppc64-musl"
|
|
short_desc="Implementation of fts(3) for musl libc"
|
|
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
|
|
license="BSD"
|
|
homepage="https://github.com/pullmoll/musl-fts"
|
|
distfiles="https://github.com/pullmoll/${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
|
|
}
|
|
}
|