mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-18 22:06:04 +01:00
libraries/jsoncpp: Updated for version 1.7.5
Signed-off-by: Larry Hajali <larryhaja[at]gmail[dot]com>
This commit is contained in:
parent
943ab964a0
commit
75b3d90fe5
2 changed files with 6 additions and 6 deletions
|
@ -23,7 +23,7 @@
|
||||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
PRGNAM=jsoncpp
|
PRGNAM=jsoncpp
|
||||||
VERSION=${VERSION:-1.7.4}
|
VERSION=${VERSION:-1.7.5}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
|
|
||||||
|
@ -80,7 +80,7 @@ cd build
|
||||||
-DBUILD_STATIC_LIBS:BOOL=OFF \
|
-DBUILD_STATIC_LIBS:BOOL=OFF \
|
||||||
-DBUILD_SHARED_LIBS:BOOL=ON \
|
-DBUILD_SHARED_LIBS:BOOL=ON \
|
||||||
-DJSONCPP_WITH_TESTS:BOOL=OFF \
|
-DJSONCPP_WITH_TESTS:BOOL=OFF \
|
||||||
-DINCLUDE_INSTALL_DIR=/usr/include/$PRGNAM \
|
-DINCLUDE_INSTALL_DIR="/usr/include/$PRGNAM" \
|
||||||
-DCMAKE_BUILD_TYPE=Release ..
|
-DCMAKE_BUILD_TYPE=Release ..
|
||||||
|
|
||||||
make VERBOSE=1
|
make VERBOSE=1
|
||||||
|
@ -91,7 +91,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
|
||||||
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||||
|
|
||||||
# Cosmetic fix.
|
# Cosmetic fix.
|
||||||
sed -i 's|//usr|/usr|' $PKG/usr/lib${LIBDIRSUFFIX}/pkgconfig/$PRGNAM.pc
|
sed -i '/^includedir/s|\$.*//|/|' $PKG/usr/lib${LIBDIRSUFFIX}/pkgconfig/$PRGNAM.pc
|
||||||
|
|
||||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
cp -a AUTHORS LICENSE NEWS.txt README.md $PKG/usr/doc/$PRGNAM-$VERSION
|
cp -a AUTHORS LICENSE NEWS.txt README.md $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
PRGNAM="jsoncpp"
|
PRGNAM="jsoncpp"
|
||||||
VERSION="1.7.4"
|
VERSION="1.7.5"
|
||||||
HOMEPAGE="https://github.com/open-source-parsers/jsoncpp"
|
HOMEPAGE="https://github.com/open-source-parsers/jsoncpp"
|
||||||
DOWNLOAD="https://github.com/open-source-parsers/jsoncpp/archive/1.7.4/jsoncpp-1.7.4.tar.gz"
|
DOWNLOAD="https://github.com/open-source-parsers/jsoncpp/archive/1.7.5/jsoncpp-1.7.5.tar.gz"
|
||||||
MD5SUM="51a6d5f8832d668daf97790ea59c4926"
|
MD5SUM="2d5877044dca4edaa8d6d5d3b5df4ff5"
|
||||||
DOWNLOAD_x86_64=""
|
DOWNLOAD_x86_64=""
|
||||||
MD5SUM_x86_64=""
|
MD5SUM_x86_64=""
|
||||||
REQUIRES=""
|
REQUIRES=""
|
||||||
|
|
Loading…
Reference in a new issue