void-packages/srcpkgs/libmpack/template
2018-06-18 00:46:22 -03:00

25 lines
733 B
Bash

# Template file for 'libmpack'
pkgname=libmpack
version=1.0.5
revision=1
build_style=gnu-makefile
hostmakedepends="libtool"
short_desc="Simple implementation of msgpack in C"
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
license="MTI"
homepage="https://github.com/libmpack/libmpack"
distfiles="https://github.com/libmpack/libmpack/archive/${version}.tar.gz"
checksum=4ce91395d81ccea97d3ad4cb962f8540d166e59d3e2ddce8a22979b49f108956
make_check_target=test
nocross="libtool usage doesn't support cross-compiling"
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"
}
}