wok-next annotate libjson/receipt @ rev 20488

palemoon: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Mar 12 11:00:54 2018 +0100 (2018-03-12)
parents 8d96e9390bb1
children a3c581bf52b8
rev   line source
al@20456 1 # SliTaz package receipt v2.
pascal@16792 2
pascal@16792 3 PACKAGE="libjson"
pascal@16792 4 VERSION="7.6.1"
pascal@16792 5 CATEGORY="misc"
al@20456 6 SHORT_DESC="A super-effiecient JSON reader and writer"
pascal@16792 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@16792 8 LICENSE="BSD"
pascal@16792 9 WEB_SITE="http://sourceforge.net/projects/libjson/"
al@20456 10
pascal@16792 11 TARBALL="${PACKAGE}_$VERSION.zip"
pascal@16792 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@16792 13
al@20456 14 SPLIT="libjson-dev"
pascal@16792 15
al@20456 16 compile_rules() {
pascal@16792 17 unset CXXFLAGS
pascal@16792 18 mkdir Objects_static Objects_shared _internal/Source/Dependencies
pascal@16792 19 mkdir -p $DESTDIR/usr/lib
pascal@16792 20 sed -i 's|^in[a-z]*_path *= |&$(DESTDIR)|' makefile
pascal@16793 21 make SHARED=1 all &&
pascal@16792 22 make DESTDIR=$DESTDIR install
pascal@16793 23 make DESTDIR=$DESTDIR SHARED=1 install
pascal@16792 24 }
al@20456 25
al@20456 26 genpkg_rules() {
al@20456 27 case $PACKAGE in
al@20456 28 libjson) copy @std;;
al@20456 29 *-dev) copy @dev;;
al@20456 30 esac
pascal@16792 31 }