wok-current rev 16792
Add libjson
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jul 02 20:52:57 2014 +0200 (2014-07-02) |
parents | c54f9ed61f3b |
children | 8d96e9390bb1 |
files | libjson/receipt zeromq-dev/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/libjson/receipt Wed Jul 02 20:52:57 2014 +0200 1.3 @@ -0,0 +1,31 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="libjson" 1.7 +VERSION="7.6.1" 1.8 +CATEGORY="misc" 1.9 +MAINTAINER="pascal.bellard@slitaz.org" 1.10 +LICENSE="BSD" 1.11 +SHORT_DESC="A super-effiecient JSON reader and writer." 1.12 +WEB_SITE="http://sourceforge.net/projects/libjson/" 1.13 +TARBALL="${PACKAGE}_$VERSION.zip" 1.14 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.15 + 1.16 +DEPENDS="" 1.17 +BUILD_DEPENDS="" 1.18 + 1.19 +# Rules to configure and make the package. 1.20 +compile_rules() 1.21 +{ 1.22 + unset CXXFLAGS 1.23 + mkdir Objects_static Objects_shared _internal/Source/Dependencies 1.24 + mkdir -p $DESTDIR/usr/lib 1.25 + sed -i 's|^in[a-z]*_path *= |&$(DESTDIR)|' makefile 1.26 + make -j 1 SHARED=1 all && 1.27 + make DESTDIR=$DESTDIR install 1.28 +} 1.29 + 1.30 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.31 +genpkg_rules() 1.32 +{ 1.33 + cp -a $install/* $fs/ 1.34 +}
2.1 --- a/zeromq-dev/receipt Wed Jul 02 11:48:53 2014 +0200 2.2 +++ b/zeromq-dev/receipt Wed Jul 02 20:52:57 2014 +0200 2.3 @@ -2,7 +2,6 @@ 2.4 2.5 PACKAGE="zeromq-dev" 2.6 VERSION="3.2.2.3" 2.7 -#VERSION="4.0.4" 2.8 CATEGORY="development" 2.9 MAINTAINER="pascal.bellard@slitaz.org" 2.10 LICENSE="GPL3 LGPL3"