void-packages/srcpkgs/musl-fts/template

33 lines
934 B
Bash

# Template file for 'musl-fts'
pkgname=musl-fts
version=1.2
revision=3
build_style=gnu-configure
hostmakedepends="automake libtool"
only_for_archs="aarch64-musl armv6l-musl armv7l-musl i686-musl mips-musl mipsel-musl mipselhf-musl x86_64-musl"
short_desc="Implementation of fts(3) for musl libc"
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
license="BSD"
homepage="http://github.com/pullmoll/musl-fts"
distfiles="https://github.com/pullmoll/${pkgname}/archive/v${version}.tar.gz>${pkgname}-${version}.tar.gz"
checksum=ba8b99a80378559b51976eb7e189967be37e46590675f6cdf493c5c2df7e361e
pre_configure() {
./bootstrap.sh
}
post_install() {
vinstall ${pkgname}.pc 644 usr/lib/pkgconfig
vlicense COPYING
}
musl-fts-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.a
vmove usr/lib/*.so
vmove usr/lib/pkgconfig
}
}