New package: musl-rpmatch-1.0

This commit is contained in:
Jürgen Buchmüller 2016-07-07 15:33:24 +02:00
parent 796156a6f9
commit 763470cd8a
3 changed files with 35 additions and 0 deletions

View file

@ -2548,3 +2548,4 @@ libTKXmlL.so.10 oce-0.17.1_1
libTKXmlTObj.so.10 oce-0.17.1_1
libTKXmlXCAF.so.10 oce-0.17.1_1
libTKernel.so.10 oce-0.17.1_1
librpmatch.so.0 musl-rpmatch-1.0_1

1
srcpkgs/musl-rpmatch-devel Symbolic link
View file

@ -0,0 +1 @@
musl-rpmatch

View file

@ -0,0 +1,33 @@
# 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
}
}