comparison lib/jsoncpp/jsoncpp.sh @ 766:e91fbcb3d1ef

vanilla: consolidate FHS
author David Demelier <markand@malikania.fr>
date Fri, 09 Aug 2019 20:10:00 +0200
parents 25cecc6dca48
children a133976e0783
comparison
equal deleted inserted replaced
765:859f76ffb512 766:e91fbcb3d1ef
38 CC="$CC" \ 38 CC="$CC" \
39 CFLAGS="$CFLAGS" \ 39 CFLAGS="$CFLAGS" \
40 CXX="$CXX" \ 40 CXX="$CXX" \
41 CXXFLAGS="$CXXFLAGS" \ 41 CXXFLAGS="$CXXFLAGS" \
42 LDFLAGS="$LDFLAGS" \ 42 LDFLAGS="$LDFLAGS" \
43 meson \ 43 meson . build \
44 --prefix / \ 44 --prefix / \
45 --buildtype release \ 45 --buildtype release \
46 --default-library shared \ 46 --default-library shared
47 . build
48 # https://github.com/open-source-parsers/jsoncpp/issues/910 47 # https://github.com/open-source-parsers/jsoncpp/issues/910
49 rm -f version 48 rm -f version
50 ninja -C build 49 ninja -C build
51 DESTDIR=$DESTDIR ninja -C build install 50 DESTDIR=$DESTDIR ninja -C build install
51 sed -i -e "s|prefix=/|prefix=|" $DESTDIR/lib/pkgconfig/*.pc
52 52
53 cd .. 53 cd ..
54 rm -rf $PKGNAME-$PKGVERSION 54 rm -rf $PKGNAME-$PKGVERSION
55 } 55 }