28 lines
689 B
Bash
28 lines
689 B
Bash
# Template file for 'libbson'
|
|
pkgname=libbson
|
|
version=1.8.2
|
|
revision=1
|
|
build_style=gnu-configure
|
|
hostmakedepends="perl automake libtool"
|
|
short_desc="The 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/archive/${version}.tar.gz"
|
|
checksum=3a92ce0378c4507eab5c131fd9402324e8afe708ffac203b5a8dfd1e1a62be60
|
|
|
|
pre_configure() {
|
|
NOCONFIGURE=1 ./autogen.sh
|
|
}
|
|
|
|
|
|
libbson-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/*.so
|
|
vmove usr/lib/pkgconfig
|
|
}
|
|
}
|