wok-next annotate libjson/receipt @ rev 21276
try to build gens-gs again
author | Hans-G?nter Theisgen |
---|---|
date | Sat Dec 07 15:51:18 2019 +0100 (2019-12-07) |
parents | a3c581bf52b8 |
children |
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" |
al@20906 | 9 WEB_SITE="https://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@21020 | 14 SPLIT="$PACKAGE-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 |
al@21020 | 19 mkdir -p $install/usr/lib |
pascal@16792 | 20 sed -i 's|^in[a-z]*_path *= |&$(DESTDIR)|' makefile |
pascal@16793 | 21 make SHARED=1 all && |
al@21020 | 22 make DESTDIR=$install install |
al@21020 | 23 make DESTDIR=$install 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 } |