rapidjson: clear all JSON licensed code
This commit is contained in:
parent
285da1c362
commit
dbd6d0fd9b
1 changed files with 12 additions and 5 deletions
|
@ -1,18 +1,25 @@
|
||||||
# Template build file for 'rapidjson'.
|
# Template file for 'rapidjson'
|
||||||
pkgname=rapidjson
|
pkgname=rapidjson
|
||||||
version=1.1.0
|
version=1.1.0
|
||||||
revision=2
|
revision=3
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
archs=noarch
|
short_desc="Fast JSON parser/generator for C++ with both SAX/DOM style API"
|
||||||
short_desc="A fast JSON parser/generator for C++ with both SAX/DOM style API"
|
|
||||||
maintainer="Alexander Egorenkov <egorenar-dev@posteo.net>"
|
maintainer="Alexander Egorenkov <egorenar-dev@posteo.net>"
|
||||||
license="BSD, MIT"
|
license="BSD-3-Clause, MIT"
|
||||||
homepage="https://github.com/miloyip/rapidjson"
|
homepage="https://github.com/miloyip/rapidjson"
|
||||||
distfiles="https://github.com/miloyip/${pkgname}/archive/v${version}.tar.gz"
|
distfiles="https://github.com/miloyip/${pkgname}/archive/v${version}.tar.gz"
|
||||||
checksum=bf7ced29704a1e696fbccf2a2b4ea068e7774fa37f6d7dd4039d0787f8bed98e
|
checksum=bf7ced29704a1e696fbccf2a2b4ea068e7774fa37f6d7dd4039d0787f8bed98e
|
||||||
|
|
||||||
CXXFLAGS="-Wno-type-limits"
|
CXXFLAGS="-Wno-type-limits"
|
||||||
|
|
||||||
|
post_patch() {
|
||||||
|
# Remove bin/jsonchecker, which is the JSON licensed files
|
||||||
|
rm -rf bin/jsonchecker
|
||||||
|
vsed -i license.txt \
|
||||||
|
-e 's/To avoid the problematic JSON.*//' \
|
||||||
|
-e '/Under the JSON License/,/OTHER DEALINGS IN THE SOFTWARE/d'
|
||||||
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense license.txt
|
vlicense license.txt
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue