void-packages/srcpkgs/musl-fts/template
2016-02-27 11:52:45 +01:00

34 lines
970 B
Bash

# Template file for 'musl-fts'
pkgname=musl-fts
version=1.2.5
revision=1
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=8ce636f066b1943906f6a2d9b0064482626ee89cb926dda8faa5b05140cbba8b
pre_configure() {
./bootstrap.sh
}
post_install() {
vinstall ${pkgname}.pc 644 usr/lib/pkgconfig
vlicense COPYING
vman 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
}
}