parent
51bad5cdf4
commit
ece917852f
|
@ -1,21 +1,26 @@
|
||||||
# Template build file for 'json-c'.
|
# Template file for 'json-c'
|
||||||
pkgname=json-c
|
pkgname=json-c
|
||||||
version=0.13.1
|
version=0.13.1
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
|
configure_args="--enable-threading $(vopt_enable rdrand)"
|
||||||
hostmakedepends="automake libtool"
|
hostmakedepends="automake libtool"
|
||||||
short_desc="A JSON implementation in C"
|
short_desc="A JSON implementation in C"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
homepage="http://oss.metaparadigm.com/$pkgname"
|
homepage="https://json-c.github.io/json-c"
|
||||||
distfiles="https://s3.amazonaws.com/json-c_releases/releases/$pkgname-$version.tar.gz"
|
distfiles="https://s3.amazonaws.com/json-c_releases/releases/${pkgname}-${version}.tar.gz"
|
||||||
checksum=b87e608d4d3f7bfdd36ef78d56d53c74e66ab278d318b71e6002a369d36f4873
|
checksum=b87e608d4d3f7bfdd36ef78d56d53c74e66ab278d318b71e6002a369d36f4873
|
||||||
|
|
||||||
CFLAGS="-Wno-error"
|
CFLAGS="-Wno-error"
|
||||||
|
|
||||||
|
build_options="rdrand"
|
||||||
|
desc_option_rdrand="Enable RDRAND Hardware RNG Hash Seed generation on x86_x64 platforms"
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
autoreconf -fi
|
autoreconf -fi
|
||||||
}
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense COPYING
|
vlicense COPYING
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue