wok rev 18651

Add libtkimg
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Dec 02 13:32:37 2015 +0100 (2015-12-02)
parents 2b9e103a4c4d
children e74d27e73a18
files libsqlite-tcl/receipt libtkimg-dev/receipt libtkimg/receipt
line diff
     1.1 --- a/libsqlite-tcl/receipt	Wed Dec 02 11:54:07 2015 +0100
     1.2 +++ b/libsqlite-tcl/receipt	Wed Dec 02 13:32:37 2015 +0100
     1.3 @@ -11,6 +11,8 @@
     1.4  WANTED="sqlite"
     1.5  HOST_ARCH="i486 arm"
     1.6  
     1.7 +DEPENDS="libsqlite tcl"
     1.8 +
     1.9  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.10  genpkg_rules()
    1.11  {
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/libtkimg-dev/receipt	Wed Dec 02 13:32:37 2015 +0100
     2.3 @@ -0,0 +1,20 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="libtkimg-dev"
     2.7 +VERSION="1.4.2"
     2.8 +CATEGORY="development"
     2.9 +SHORT_DESC="Extended image format support for Tcl/Tk, development files"
    2.10 +MAINTAINER="pascal.bellard@slitaz.org"
    2.11 +LICENSE="BSD GPL2"
    2.12 +WEB_SITE="http://tkimg.sourceforge.net/"
    2.13 +WANTED="libtkimg"
    2.14 +
    2.15 +DEPENDS="libtkimg"
    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/Img$VERSION
    2.21 +	cp -a $install/usr/lib/Img$VERSION/*.a $fs/usr/lib/Img$VERSION
    2.22 +	cp -a $install/usr/include $fs/usr
    2.23 +}
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/libtkimg/receipt	Wed Dec 02 13:32:37 2015 +0100
     3.3 @@ -0,0 +1,35 @@
     3.4 +# SliTaz package receipt.
     3.5 +
     3.6 +PACKAGE="libtkimg"
     3.7 +SOURCE="tkimg"
     3.8 +VERSION="1.4.2"
     3.9 +CATEGORY="development"
    3.10 +SHORT_DESC="Extended image format support for Tcl/Tk"
    3.11 +MAINTAINER="pascal.bellard@slitaz.org"
    3.12 +LICENSE="BSD GPL2"
    3.13 +TARBALL="$SOURCE$VERSION.tar.bz2"
    3.14 +WEB_SITE="http://tkimg.sourceforge.net/"
    3.15 +WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL"
    3.16 +
    3.17 +DEPENDS="tk"
    3.18 +BUILD_DEPENDS="tcllib tcl-dev tk-dev xorg-dev"
    3.19 +
    3.20 +# Rules to configure and make the package.
    3.21 +compile_rules()
    3.22 +{
    3.23 +	make distclean
    3.24 +	./configure --prefix=/usr \
    3.25 +		--mandir=/usr/share/man \
    3.26 +		$CONFIGURE_ARGS &&
    3.27 +	make all &&
    3.28 +	make INSTALL_ROOT=$DESTDIR install
    3.29 +}
    3.30 +
    3.31 +# Rules to gen a SliTaz package suitable for Tazpkg.
    3.32 +genpkg_rules()
    3.33 +{
    3.34 +	mkdir -p $fs/usr/lib/Img$VERSION
    3.35 +	cp -a $install/usr/lib/*.sh $fs/usr/lib
    3.36 +	cp -a $install/usr/lib/Img$VERSION/*.tcl $fs/usr/lib
    3.37 +	cp -a $install/usr/lib/Img$VERSION/*.so $fs/usr/lib/Img$VERSION
    3.38 +}