wok-undigest rev 1181

fix binutils: cp ncurses from cooking wok
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Mon Nov 02 06:14:54 2015 +0100 (2015-11-02)
parents b86fd11b1871
children a825cbe61089
files binutils/receipt gnome-panel/receipt libgweather-dev/receipt libgweather/receipt mplayer/receipt ncurses-dev/receipt ncurses/receipt
line diff
     1.1 --- a/binutils/receipt	Mon Nov 02 05:55:43 2015 +0100
     1.2 +++ b/binutils/receipt	Mon Nov 02 06:14:54 2015 +0100
     1.3 @@ -71,3 +71,4 @@
     1.4  	chown -R root:root $fs/usr/include/libiberty.h
     1.5  	chmod 644 $fs/usr/include/libiberty.h
     1.6  }
     1.7 +
     2.1 --- a/gnome-panel/receipt	Mon Nov 02 05:55:43 2015 +0100
     2.2 +++ b/gnome-panel/receipt	Mon Nov 02 06:14:54 2015 +0100
     2.3 @@ -47,4 +47,3 @@
     2.4  		$fs/usr/share/icons/hicolor
     2.5  	rm $fs/usr/share/gnome-panelrc
     2.6  }
     2.7 -
     3.1 --- a/libgweather-dev/receipt	Mon Nov 02 05:55:43 2015 +0100
     3.2 +++ b/libgweather-dev/receipt	Mon Nov 02 06:14:54 2015 +0100
     3.3 @@ -19,4 +19,3 @@
     3.4  	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
     3.5  	cp -a $install/usr/include $fs/usr
     3.6  }
     3.7 -
     4.1 --- a/libgweather/receipt	Mon Nov 02 05:55:43 2015 +0100
     4.2 +++ b/libgweather/receipt	Mon Nov 02 06:14:54 2015 +0100
     4.3 @@ -11,7 +11,7 @@
     4.4  WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
     4.5  
     4.6  DEPENDS="GConf gtk+ libsoup"
     4.7 -BUILD_DEPENDS="GConf-dev gtk+-dev libsoup-dev glib-dev"
     4.8 +BUILD_DEPENDS="GConf-dev gtk+-dev libsoup-dev glib-dev sqlite-dev"
     4.9  
    4.10  # Rules to configure and make the package.
    4.11  compile_rules()
     5.1 --- a/mplayer/receipt	Mon Nov 02 05:55:43 2015 +0100
     5.2 +++ b/mplayer/receipt	Mon Nov 02 06:14:54 2015 +0100
     5.3 @@ -60,4 +60,4 @@
     5.4  	cp $src/etc/example.conf $fs/etc/mplayer
     5.5  	# Config to use Xv by default.
     5.6  	cp $stuff/mplayer.conf $fs/etc/mplayer
     5.7 -}
     5.8 \ No newline at end of file
     5.9 +}
     6.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.2 +++ b/ncurses-dev/receipt	Mon Nov 02 06:14:54 2015 +0100
     6.3 @@ -0,0 +1,24 @@
     6.4 +# SliTaz package receipt.
     6.5 +
     6.6 +PACKAGE="ncurses-dev"
     6.7 +VERSION="5.9"
     6.8 +CATEGORY="development"
     6.9 +SHORT_DESC="Devel files for the ncurses library."
    6.10 +MAINTAINER="pankso@slitaz.org"
    6.11 +LICENSE="MIT"
    6.12 +WANTED="ncurses"
    6.13 +WEB_SITE="http://invisible-island.net/ncurses/"
    6.14 +HOST_ARCH="i486 arm"
    6.15 +
    6.16 +DEPENDS="ncursesw-dev ncurses libtinfo"
    6.17 +
    6.18 +# Rules to gen a SliTaz package suitable for Tazpkg.
    6.19 +genpkg_rules()
    6.20 +{
    6.21 +	mkdir -p $fs/lib $fs/usr/bin
    6.22 +	cp -a $install/lib/*.a $fs/lib
    6.23 +	# Use include file from ncursesw-dev
    6.24 +	#cp -a $install/usr/include $fs/usr
    6.25 +	cp $install/usr/bin/ncurses5-config $fs/usr/bin
    6.26 +	chmod 755 $fs/usr/bin/*
    6.27 +}
     7.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     7.2 +++ b/ncurses/receipt	Mon Nov 02 06:14:54 2015 +0100
     7.3 @@ -0,0 +1,52 @@
     7.4 +# SliTaz package receipt.
     7.5 +
     7.6 +PACKAGE="ncurses"
     7.7 +VERSION="5.9"
     7.8 +CATEGORY="base-system"
     7.9 +SHORT_DESC="Library of functions to manage display on terminals."
    7.10 +MAINTAINER="pankso@slitaz.org"
    7.11 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    7.12 +LICENSE="MIT"
    7.13 +WEB_SITE="http://invisible-island.net/ncurses/"
    7.14 +WGET_URL="ftp://invisible-island.net/ncurses/$TARBALL"
    7.15 +HOST_ARCH="i486 arm"
    7.16 +
    7.17 +DEPENDS="ncurses-common libtinfo libtic"
    7.18 +BUILD_DEPENDS=""
    7.19 +
    7.20 +# Rules to configure and make the package.
    7.21 +compile_rules()
    7.22 +{
    7.23 +	# Ncurses need an installed /usr/bin/tic witch is in ncursesw-extra. And
    7.24 +	# when cross compiling we can't use the freshly cooked binary. See cook log:
    7.25 +	#
    7.26 +	#** Building terminfo database, please wait...
    7.27 +	#Running /usr/bin/tic to install /home/slitaz/wok/ncurses/install/usr/share/terminfo
    7.28 +	#
    7.29 +	if [ ! -d "/var/lib/tazpkg/installed/ncursesw-extra" ]; then
    7.30 +		echo "Installing: ncursesw-extra"
    7.31 +		tazpkg get-install ncursesw-extra 2>/dev/null 1>/dev/null
    7.32 +	fi
    7.33 +	cd $src
    7.34 +	mkdir -p $DESTDIR/usr/lib/terminfo
    7.35 +	sed -i 's|\tsh $(srcdir)/MKhashsize.sh|\tash $(srcdir)/MKhashsize.sh|' \
    7.36 +		include/Makefile.in
    7.37 +	./configure \
    7.38 +		--libdir=/lib \
    7.39 +		--sysconfdir=/etc \
    7.40 +		--with-shared \
    7.41 +		--without-debug \
    7.42 +		--without-ada \
    7.43 +		--with-build-cc="gcc -D_GNU_SOURCE" \
    7.44 +		--with-termlib \
    7.45 +		--with-ticlib \
    7.46 +		$CONFIGURE_ARGS &&
    7.47 +	make && make install
    7.48 +}
    7.49 +
    7.50 +# Rules to gen a SliTaz package suitable for Tazpkg.
    7.51 +genpkg_rules()
    7.52 +{
    7.53 +    mkdir -p $fs/lib
    7.54 +    cp -a $install/lib/libncurses.so* $fs/lib
    7.55 +}