wok-6.x annotate libjson/receipt @ rev 23273

updated pam_ldap (185 -> 186)
author Hans-G?nter Theisgen
date Sat Mar 28 14:46:49 2020 +0100 (2020-03-28)
parents 8d96e9390bb1
children 65d7d867e0c1
rev   line source
pascal@16792 1 # SliTaz package receipt.
pascal@16792 2
pascal@16792 3 PACKAGE="libjson"
pascal@16792 4 VERSION="7.6.1"
pascal@16792 5 CATEGORY="misc"
pascal@16792 6 MAINTAINER="pascal.bellard@slitaz.org"
pascal@16792 7 LICENSE="BSD"
pascal@16792 8 SHORT_DESC="A super-effiecient JSON reader and writer."
pascal@20421 9 WEB_SITE="https://sourceforge.net/projects/libjson/"
pascal@16792 10 TARBALL="${PACKAGE}_$VERSION.zip"
pascal@16792 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@16792 12
pascal@16792 13 DEPENDS=""
pascal@16792 14 BUILD_DEPENDS=""
pascal@16792 15
pascal@16792 16 # Rules to configure and make the package.
pascal@16792 17 compile_rules()
pascal@16792 18 {
pascal@16792 19 unset CXXFLAGS
pascal@16792 20 mkdir Objects_static Objects_shared _internal/Source/Dependencies
pascal@16792 21 mkdir -p $DESTDIR/usr/lib
pascal@16792 22 sed -i 's|^in[a-z]*_path *= |&$(DESTDIR)|' makefile
pascal@16793 23 make SHARED=1 all &&
pascal@16792 24 make DESTDIR=$DESTDIR install
pascal@16793 25 make DESTDIR=$DESTDIR SHARED=1 install
pascal@16792 26 }
pascal@16792 27
pascal@16792 28 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@16792 29 genpkg_rules()
pascal@16792 30 {
pascal@16793 31 mkdir -p $fs/usr/lib
pascal@16793 32 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@16792 33 }