26 lines
696 B
Bash
26 lines
696 B
Bash
# Template file for 'libbson'
|
|
pkgname=libbson
|
|
version=1.5.4
|
|
revision=1
|
|
build_style=gnu-configure
|
|
hostmakedepends="perl automake libtool"
|
|
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/archive/${version}.tar.gz"
|
|
checksum=c91fa42f68e5a18d709dd7d8b4ad23c0b6bd6e504665b56c4b05da1441ad951f
|
|
|
|
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
|
|
}
|
|
}
|