diff --git a/jsoncpp/.footprint b/jsoncpp/.footprint new file mode 100644 index 00000000..49027445 --- /dev/null +++ b/jsoncpp/.footprint @@ -0,0 +1,18 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/include/ +drwxr-xr-x root/root usr/include/json/ +-rw-r--r-- root/root usr/include/json/allocator.h +-rw-r--r-- root/root usr/include/json/assertions.h +-rw-r--r-- root/root usr/include/json/config.h +-rw-r--r-- root/root usr/include/json/forwards.h +-rw-r--r-- root/root usr/include/json/json.h +-rw-r--r-- root/root usr/include/json/json_features.h +-rw-r--r-- root/root usr/include/json/reader.h +-rw-r--r-- root/root usr/include/json/value.h +-rw-r--r-- root/root usr/include/json/version.h +-rw-r--r-- root/root usr/include/json/writer.h +drwxr-xr-x root/root usr/lib/ +lrwxrwxrwx root/root usr/lib/libjsoncpp.so -> libjsoncpp.so.25 +-rwxr-xr-x root/root usr/lib/libjsoncpp.so.25 +drwxr-xr-x root/root usr/lib/pkgconfig/ +-rw-r--r-- root/root usr/lib/pkgconfig/jsoncpp.pc diff --git a/jsoncpp/.signature b/jsoncpp/.signature new file mode 100644 index 00000000..8911c63a --- /dev/null +++ b/jsoncpp/.signature @@ -0,0 +1,5 @@ +untrusted comment: verify with /etc/ports/core.pub +RWRJc1FUaeVeqkniwZO/MTF25T+Q9cb2FJLnMy2KlBS1HgoErtPgTyJFp355Dq5xmhs3xGpANwI2tJUCwE5dnQbZKSAV0Qjj1g0= +SHA256 (Pkgfile) = a6fa26411deacc44f77c167d237e4f34a7b7bbec7a3d9ffe9344f00987ab67a8 +SHA256 (.footprint) = 4580fce6df8142de5a77f4e2aa3dae8e23efa67b6de4bfdae3d41afb16dd697e +SHA256 (jsoncpp-1.9.5.tar.gz) = f409856e5920c18d0c2fb85276e24ee607d2a09b5e7d5f0a371368903c275da2 diff --git a/jsoncpp/Pkgfile b/jsoncpp/Pkgfile new file mode 100644 index 00000000..5c6fb14a --- /dev/null +++ b/jsoncpp/Pkgfile @@ -0,0 +1,22 @@ +# Description: C++ library for interacting with JSON +# URL: https://github.com/open-source-parsers/jsoncpp +# Maintainer: CRUX System Team, core-ports at crux dot nu + +name=jsoncpp +version=1.9.5 +release=1 +source=(https://github.com/open-source-parsers/jsoncpp/archive/$version/$name-$version.tar.gz) + +build() { + echo ${version} > $name-$version/version + + meson setup $name-$version build \ + --prefix=/usr \ + --buildtype=plain \ + --wrap-mode nodownload \ + -D b_lto=true \ + -D b_pie=true \ + --default-library shared + meson compile -C build + DESTDIR=$PKG meson install -C build +}