wok annotate libjson/receipt @ rev 22420
these 3 packages seem not used in xfce4 v4.12, so reverting to last version in slitaz: 4.10.0: libxfcegui4 libxfcegui4-dev xfce4-mixer
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Sun Dec 15 09:01:23 2019 +0000 (2019-12-15) |
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 } |