void-packages/srcpkgs/libmpack/template
2021-08-27 14:42:22 -03:00

30 lines
836 B
Bash

# Template file for 'libmpack'
pkgname=libmpack
version=1.0.5
revision=2
build_style=gnu-makefile
make_check_target=test
make_build_args="LIBTOOL=${XBPS_CROSS_BASE}/usr/bin/libtool"
make_install_args="LIBTOOL=${XBPS_CROSS_BASE}/usr/bin/libtool"
makedepends="libtool"
short_desc="Simple implementation of msgpack in C"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://github.com/libmpack/libmpack"
distfiles="https://github.com/libmpack/libmpack/archive/${version}.tar.gz"
checksum=4ce91395d81ccea97d3ad4cb962f8540d166e59d3e2ddce8a22979b49f108956
post_install() {
vlicense LICENSE-MIT
}
libmpack-devel_package() {
depends="libmpack-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove "usr/lib/*.a"
}
}