wok-next rev 20304

libplist (2.0.0)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Nov 10 13:03:02 2017 +0100 (2017-11-10)
parents 0a71f386d4ac
children c1b7795c5c0b
files gpxe/receipt libplist-dev/receipt libplist/receipt
line diff
     1.1 --- a/gpxe/receipt	Fri Nov 10 11:17:33 2017 +0100
     1.2 +++ b/gpxe/receipt	Fri Nov 10 13:03:02 2017 +0100
     1.3 @@ -24,6 +24,8 @@
     1.4  	done
     1.5  	sed -i 's/ = ++ns->cur_rx %/++; ns->cur_rx %=/' drivers/net/ns83820.c
     1.6  	sed -i 's/ = (++tp->cur_rx) %/++; tp->cur_rx %=/' drivers/net/tulip.c
     1.7 +	sed -i 's/? s : ___strtok//' core/stringextra.c
     1.8 +	sed -i '/timer2_running/d' include/timer.h
     1.9  	make EXTRA_CFLAGS="-fno-strict-aliasing -Wno-error=unused-but-set-variable"  bin/gpxe.lkrn bin/undionly.kpxe  2>&1 | grep -v housekeeping: | grep -v blib.list
    1.10  }
    1.11  
     2.1 --- a/libplist-dev/receipt	Fri Nov 10 11:17:33 2017 +0100
     2.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.3 @@ -1,20 +0,0 @@
     2.4 -# SliTaz package receipt.
     2.5 -
     2.6 -PACKAGE="libplist-dev"
     2.7 -VERSION="1.4"
     2.8 -CATEGORY="development"
     2.9 -SHORT_DESC="Development files for libplist"
    2.10 -MAINTAINER="slaxemulator@gmail.com"
    2.11 -LICENSE="GPL2"
    2.12 -WEB_SITE="http://libimobiledevice.org/"
    2.13 -WANTED="libplist"
    2.14 -
    2.15 -DEPENDS="libplist pkg-config"
    2.16 -
    2.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
    2.18 -genpkg_rules()
    2.19 -{
    2.20 -	mkdir -p $fs/usr/lib
    2.21 -	cp -ar $install/usr/include $fs/usr
    2.22 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    2.23 -}
     3.1 --- a/libplist/receipt	Fri Nov 10 11:17:33 2017 +0100
     3.2 +++ b/libplist/receipt	Fri Nov 10 13:03:02 2017 +0100
     3.3 @@ -1,7 +1,7 @@
     3.4 -# SliTaz package receipt.
     3.5 +# SliTaz package receipt v2.
     3.6  
     3.7  PACKAGE="libplist"
     3.8 -VERSION="1.4"
     3.9 +VERSION="2.0.0"
    3.10  CATEGORY="multimedia"
    3.11  SHORT_DESC="A library to handle Apple Property List format whereas it's binary or XMl"
    3.12  MAINTAINER="slaxemulator@gmail.com"
    3.13 @@ -11,23 +11,32 @@
    3.14  WGET_URL="http://www.libimobiledevice.org/downloads/$TARBALL"
    3.15  
    3.16  DEPENDS="glib libxml2"
    3.17 -BUILD_DEPENDS="libxml2-dev glib-dev cmake swig python python-dev "
    3.18 +BUILD_DEPENDS="libxml2-dev glib-dev swig python python-dev python-cython"
    3.19 +SPLIT="libplist-dev"
    3.20  
    3.21  # Rules to configure and make the package.
    3.22  compile_rules()
    3.23  {
    3.24 -	cd $src
    3.25 -	mkdir build
    3.26 -	cd build
    3.27 -	cmake ../ -DCMAKE_SKIP_RPATH=ON -DCMAKE_INSTALL_PREFIX:PATH=/usr
    3.28 +	./configure --prefix=/usr \
    3.29 +		$CONFIGURE_ARGS &&
    3.30  	make && make DESTDIR=$DESTDIR install
    3.31  }
    3.32  
    3.33  # Rules to gen a SliTaz package suitable for Tazpkg.
    3.34  genpkg_rules()
    3.35  {
    3.36 -	mkdir -p $fs/usr/lib 
    3.37 -	cp -a $install/usr/lib/*.so* $fs/usr/lib/
    3.38 -	cp -a $install/usr/lib/python* $fs/usr/lib
    3.39 -	cp -a $install/usr/bin $fs/usr
    3.40 +	case $PACKAGE in
    3.41 +	libplist)
    3.42 +		mkdir -p $fs/usr/lib 
    3.43 +		cp -a $install/usr/lib/*.so* $fs/usr/lib/
    3.44 +		cp -a $install/usr/lib/python* $fs/usr/lib
    3.45 +		cp -a $install/usr/bin $fs/usr
    3.46 +		;;
    3.47 +	libplist-dev)
    3.48 +		DEPENDS="libplist pkg-config"
    3.49 +		mkdir -p $fs/usr/lib
    3.50 +		cp -ar $install/usr/include $fs/usr
    3.51 +		cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    3.52 +		;;
    3.53 +	esac
    3.54  }