27 lines
690 B
Bash
27 lines
690 B
Bash
# Template file for 'libbson'
|
|
pkgname=libbson
|
|
version=1.9.5
|
|
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=af1aa8a00a47cf66717f2467f63cbe72401f53b4acd1af1fc2136ede4482c89a
|
|
|
|
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
|
|
}
|
|
}
|