void-packages/srcpkgs/musl-rpmatch/template
2016-07-07 15:33:42 +02:00

33 lines
902 B
Bash

# Template file for 'musl-rpmatch'
pkgname=musl-rpmatch
version=1.0
revision=1
build_style=gnu-configure
configure_args="--enable-shared --enable-static"
hostmakedepends="automake libtool gettext-devel"
makedepends="gettext-devel"
short_desc="Implementation of rpmatch(3) for musl libc"
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
license="3-clause-BSD"
homepage="https://github.com/pullmoll/musl-rpmatch"
distfiles="https://github.com/pullmoll/musl-rpmatch/archive/v${version}.tar.gz"
checksum=dcbd41909bd69eaeedd20f03435b165406b514465249186ff1ca68d04fd35953
pre_configure() {
./bootstrap.sh
}
post_install() {
vinstall musl-rpmatch.pc 644 usr/lib/pkgconfig
}
musl-rpmatch-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
vmove usr/lib/*.a
vmove usr/lib/pkgconfig
}
}