wok-next rev 20675

Up libiodbc (3.52.12), add libmbim.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat May 12 17:04:31 2018 +0300 (2018-05-12)
parents ca6fe141ca35
children 22ac97725527
files libiodbc/receipt libksba/receipt libmbim/receipt libmng/receipt libmng/stuff/index.html libpaper/receipt
line diff
     1.1 --- a/libiodbc/receipt	Sat May 12 05:17:48 2018 +0300
     1.2 +++ b/libiodbc/receipt	Sat May 12 17:04:31 2018 +0300
     1.3 @@ -1,28 +1,48 @@
     1.4  # SliTaz package receipt v2.
     1.5  
     1.6  PACKAGE="libiodbc"
     1.7 -VERSION="3.52.7"
     1.8 +VERSION="3.52.12"
     1.9  CATEGORY="system-tools"
    1.10  SHORT_DESC="Independent Open DataBase Connectivity"
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12  LICENSE="GPL2"
    1.13  WEB_SITE="http://www.iodbc.org/"
    1.14 +LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/libiodbc.html"
    1.15  
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17 -WGET_URL="http://www.iodbc.org/downloads/iODBC/$TARBALL"
    1.18 +WGET_URL="$SF_MIRROR/iodbc/$TARBALL"
    1.19  
    1.20 -SPLIT="libiodbc-dev"
    1.21 +BUILD_DEPENDS="gtk+-dev chrpath"
    1.22 +SPLIT="libiodbc-gui libiodbc libiodbc-dev"
    1.23  
    1.24  compile_rules() {
    1.25 -	./configure $CONFIGURE_ARGS &&
    1.26 +	./configure \
    1.27 +		--with-iodbc-inidir=/etc/iodbc \
    1.28 +		--includedir=/usr/include/iodbc \
    1.29 +		--disable-libodbc \
    1.30 +		--disable-static \
    1.31 +		$CONFIGURE_ARGS &&
    1.32  	fix libtool &&
    1.33  	make &&
    1.34 -	make install
    1.35 +	make install || return 1
    1.36 +
    1.37 +	# remove rpath pointing to "/home/slitaz/wok/libiodbc/source/libiodbc-3.52.12/iodbc/.libs"
    1.38 +	chrpath -d $install/usr/bin/iodbctest*
    1.39  }
    1.40  
    1.41  genpkg_rules() {
    1.42  	case $PACKAGE in
    1.43 -		libiodbc) copy @std;;
    1.44 -		*-dev)    copy @dev;;
    1.45 +		libiodbc-gui)
    1.46 +			copy iodbcadm-gtk libdrvproxy.so* libiodbcadm.so*
    1.47 +			DEPENDS="glib gtk+ libiodbc"
    1.48 +			;;
    1.49 +		libiodbc)
    1.50 +			copy @std @rm
    1.51 +			rm -r $fs/usr/share # remove samples/ with underlayind dirs
    1.52 +			;;
    1.53 +		*-dev)
    1.54 +			copy @dev samples/
    1.55 +			DEPENDS="libiodbc" # exclude gui package
    1.56 +			;;
    1.57  	esac
    1.58  }
     2.1 --- a/libksba/receipt	Sat May 12 05:17:48 2018 +0300
     2.2 +++ b/libksba/receipt	Sat May 12 17:04:31 2018 +0300
     2.3 @@ -7,6 +7,7 @@
     2.4  MAINTAINER="pankso@slitaz.org"
     2.5  LICENSE="GPL3"
     2.6  WEB_SITE="https://www.gnupg.org/related_software/libksba/"
     2.7 +LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/libksba.html"
     2.8  
     2.9  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    2.10  WGET_URL="https://www.gnupg.org/ftp/gcrypt/libksba/$TARBALL"
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/libmbim/receipt	Sat May 12 17:04:31 2018 +0300
     3.3 @@ -0,0 +1,38 @@
     3.4 +# SliTaz package receipt v2.
     3.5 +
     3.6 +PACKAGE="libmbim"
     3.7 +VERSION="1.16.0"
     3.8 +CATEGORY="libs"
     3.9 +SHORT_DESC="MBIM modem protocol helper library"
    3.10 +MAINTAINER="al.bobylev@gmail.com"
    3.11 +LICENSE="GPL2"
    3.12 +WEB_SITE="https://www.freedesktop.org/wiki/Software/libmbim/"
    3.13 +LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/libmbim.html"
    3.14 +
    3.15 +TARBALL="$PACKAGE-$VERSION.tar.xz"
    3.16 +WGET_URL="https://www.freedesktop.org/software/libmbim/$TARBALL"
    3.17 +
    3.18 +BUILD_DEPENDS="glib-dev libgudev-dev help2man"
    3.19 +SPLIT="libmbim-dev"
    3.20 +
    3.21 +compile_rules() {
    3.22 +	./configure \
    3.23 +		--disable-static \
    3.24 +		$CONFIGURE_ARGS &&
    3.25 +	fix libtool &&
    3.26 +	make &&
    3.27 +	make install
    3.28 +}
    3.29 +
    3.30 +genpkg_rules() {
    3.31 +	case $PACKAGE in
    3.32 +		libmbim)
    3.33 +			copy @std
    3.34 +			DEPENDS=""
    3.35 +			;;
    3.36 +		*-dev)
    3.37 +			copy @dev
    3.38 +			DEPENDS=""
    3.39 +			;;
    3.40 +	esac
    3.41 +}
     4.1 --- a/libmng/receipt	Sat May 12 05:17:48 2018 +0300
     4.2 +++ b/libmng/receipt	Sat May 12 17:04:31 2018 +0300
     4.3 @@ -3,10 +3,11 @@
     4.4  PACKAGE="libmng"
     4.5  VERSION="2.0.3"
     4.6  CATEGORY="graphics"
     4.7 -SHORT_DESC="Multiple-image Network Graphics (MNG) Reference Library"
     4.8 +SHORT_DESC="Multiple-image Network Graphics (MNG) reference library"
     4.9  MAINTAINER="allan316@gmail.com"
    4.10  LICENSE="zlib/libpng"
    4.11  WEB_SITE="http://libmng.com/"
    4.12 +LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/libmng.html"
    4.13  
    4.14  TARBALL="$PACKAGE-$VERSION.tar.xz"
    4.15  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    4.16 @@ -22,7 +23,7 @@
    4.17  	make &&
    4.18  	make install || return 1
    4.19  
    4.20 -	cook_pick_docs doc/libmng.txt
    4.21 +	cook_pick_docs doc/libmng.txt doc/*.png $stuff/index.html
    4.22  }
    4.23  
    4.24  genpkg_rules() {
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/libmng/stuff/index.html	Sat May 12 17:04:31 2018 +0300
     5.3 @@ -0,0 +1,6 @@
     5.4 +<p>Visual representation of the functional and technical design of the library.</p>
     5.5 +<hr>
     5.6 +<p><img src="Plan1.png"/></p>
     5.7 +<hr>
     5.8 +<p><img src="Plan2.png"/></p>
     5.9 +<hr>
     6.1 --- a/libpaper/receipt	Sat May 12 05:17:48 2018 +0300
     6.2 +++ b/libpaper/receipt	Sat May 12 17:04:31 2018 +0300
     6.3 @@ -7,6 +7,7 @@
     6.4  MAINTAINER="pankso@slitaz.org"
     6.5  LICENSE="GPL2"
     6.6  WEB_SITE="https://packages.debian.org/unstable/source/libpaper"
     6.7 +LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/libpaper.html"
     6.8  
     6.9  TARBALL="libpaper_$VERSION.tar.gz"
    6.10  WGET_URL="http://ftp.debian.org/debian/pool/main/libp/libpaper/$TARBALL"
    6.11 @@ -25,8 +26,11 @@
    6.12  	make install || return 1
    6.13  
    6.14  	install -m755 $stuff/run-parts $install/usr/bin
    6.15 +
    6.16  	mkdir -p $install/etc
    6.17  	echo 'a4' > $install/etc/papersize
    6.18 +
    6.19 +	mkdir -p $install/etc/libpaper.d
    6.20  }
    6.21  
    6.22  genpkg_rules() {
    6.23 @@ -38,7 +42,3 @@
    6.24  		*-dev) copy @dev;;
    6.25  	esac
    6.26  }
    6.27 -
    6.28 -post_install_libpaper() {
    6.29 -	mkdir -p "$1/etc/libpaper.d"
    6.30 -}