24 lines
673 B
Bash
24 lines
673 B
Bash
|
# Template file for 'libbson'
|
||
|
pkgname=libbson
|
||
|
version=1.2.0
|
||
|
revision=1
|
||
|
build_pie=yes
|
||
|
build_style=gnu-configure
|
||
|
hostmakedepends="perl"
|
||
|
short_desc="The libbson BSON serialization library"
|
||
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||
|
license="Apache-2.0"
|
||
|
homepage="https://github.com/mongodb/libbson"
|
||
|
distfiles="https://github.com/mongodb/libbson/releases/download/${version}/libbson-${version}.tar.gz"
|
||
|
checksum=f238c74fe29c3b0153aec76c3e0c55a6cfb93ad5766f6244bc896937133dcf3d
|
||
|
|
||
|
libbson-devel_package() {
|
||
|
short_desc+=" - development files"
|
||
|
depends="${sourcepkg}>=${version}_${revision}"
|
||
|
pkg_install() {
|
||
|
vmove usr/include
|
||
|
vmove usr/lib/*.so
|
||
|
vmove usr/lib/pkgconfig
|
||
|
}
|
||
|
}
|