-
Notifications
You must be signed in to change notification settings - Fork 2.1k
/
template
30 lines (28 loc) · 836 Bytes
/
template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# 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"
}
}