wok annotate libjson/receipt @ rev 20050
xautolock: add deps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 01 12:54:10 2017 +0200 (2017-09-01) |
parents | 3ed228da4bd2 |
children | 86790a278e70 |
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@16792 | 9 WEB_SITE="http://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 } |