wok rev 16793

Add libjson-dev
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jul 02 21:08:49 2014 +0200 (2014-07-02)
parents 3ed228da4bd2
children 40ecb18026a9
files libjson-dev/receipt libjson/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/libjson-dev/receipt	Wed Jul 02 21:08:49 2014 +0200
     1.3 @@ -0,0 +1,19 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="libjson-dev"
     1.7 +VERSION="7.6.1"
     1.8 +CATEGORY="development"
     1.9 +MAINTAINER="pascal.bellard@slitaz.org"
    1.10 +LICENSE="BSD"
    1.11 +SHORT_DESC="A super-effiecient JSON reader and writer, development files"
    1.12 +WEB_SITE="http://sourceforge.net/projects/libjson/"
    1.13 +WANTED="libjson"
    1.14 +
    1.15 +DEPENDS="libjson"
    1.16 +
    1.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.18 +genpkg_rules()
    1.19 +{
    1.20 +	mkdir -p $fs/usr/lib
    1.21 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.22 +}
     2.1 --- a/libjson/receipt	Wed Jul 02 20:52:57 2014 +0200
     2.2 +++ b/libjson/receipt	Wed Jul 02 21:08:49 2014 +0200
     2.3 @@ -20,12 +20,14 @@
     2.4  	mkdir Objects_static Objects_shared _internal/Source/Dependencies
     2.5  	mkdir -p $DESTDIR/usr/lib 
     2.6  	sed -i 's|^in[a-z]*_path *= |&$(DESTDIR)|' makefile
     2.7 -	make -j 1 SHARED=1 all &&
     2.8 +	make SHARED=1 all &&
     2.9  	make DESTDIR=$DESTDIR install
    2.10 +	make DESTDIR=$DESTDIR SHARED=1 install
    2.11  }
    2.12  	
    2.13  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.14  genpkg_rules()
    2.15  {
    2.16 -	cp -a $install/* $fs/
    2.17 +	mkdir -p $fs/usr/lib
    2.18 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    2.19  }