wok rev 16095

ARMadd fbff, fbgrab, fbida, fbvnc, libexif. Fixe and update receipt
author Christophe Lincoln <pankso@slitaz.org>
date Sun Mar 16 19:34:26 2014 +0100 (2014-03-16)
parents 1e9ca6f4ca16
children 0b6c57347733
files fbff/receipt fbgrab/receipt fbida/receipt fbvnc/receipt libexif-dev/receipt libexif/receipt
line diff
     1.1 --- a/fbff/receipt	Sun Mar 16 14:51:45 2014 +0000
     1.2 +++ b/fbff/receipt	Sun Mar 16 19:34:26 2014 +0100
     1.3 @@ -1,14 +1,16 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="fbff"
     1.7 -VERSION="20120427"
     1.8 +VERSION="20130221"
     1.9  CATEGORY="multimedia"
    1.10  SHORT_DESC="FFmpeg client in frame buffer."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12  LICENSE="GPL2"
    1.13 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.14  WEB_SITE="http://repo.or.cz/w/fbff.git"
    1.15 -TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.16 +WGET_URL="git|git://repo.or.cz/fbff.git"
    1.17  TAGS="video"
    1.18 +HOST_ARCH="i486 arm"
    1.19  
    1.20  DEPENDS="ffmpeg zlib"
    1.21  BUILD_DEPENDS="ffmpeg-dev zlib-dev"
    1.22 @@ -16,15 +18,11 @@
    1.23  # Rules to configure and make the package.
    1.24  compile_rules()
    1.25  {
    1.26 -	[ -s $SOURCES_REPOSITORY/$TARBALL ] || 
    1.27 -	  wget -O $SOURCES_REPOSITORY/$TARBALL \
    1.28 -	   $WEB_SITE//snapshot/bcf8322de9d8b5d94f82db6fc6c6266fd5616fa7.tar.gz
    1.29 -	mkdir -p $src
    1.30 -	cd $src
    1.31 -	tar xzf $SOURCES_REPOSITORY/$TARBALL
    1.32 -	mkdir $DESTDIR
    1.33 -	cd fbff
    1.34 -	make && cp fbff $DESTDIR
    1.35 +	case "$ARCH" in
    1.36 +		arm*) sed -i s"#/opt#/cross/$ARCH/sysroot/usr#" Makefile ;;
    1.37 +	esac &&
    1.38 +	sed -i s"/cc/${HOST_SYSTEM}-gcc/" Makefile &&
    1.39 +	make
    1.40  }
    1.41  
    1.42  
    1.43 @@ -32,5 +30,5 @@
    1.44  genpkg_rules()
    1.45  {
    1.46  	mkdir -p $fs/usr/bin
    1.47 -	cp $install/fbff $fs/usr/bin
    1.48 +	cp $src/fbff $fs/usr/bin
    1.49  }
     2.1 --- a/fbgrab/receipt	Sun Mar 16 14:51:45 2014 +0000
     2.2 +++ b/fbgrab/receipt	Sun Mar 16 19:34:26 2014 +0100
     2.3 @@ -1,14 +1,15 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="fbgrab"
     2.7 -VERSION="1.0"
     2.8 +VERSION="1.2"
     2.9  CATEGORY="misc"
    2.10  SHORT_DESC="Frame buffer grabber."
    2.11  MAINTAINER="pascal.bellard@slitaz.org"
    2.12  LICENSE="GPL2"
    2.13 -WEB_SITE="http://hem.bredband.net/gmogmo/fbgrab/"
    2.14 +WEB_SITE="http://fbgrab.monells.se/"
    2.15  TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.16  WGET_URL="${WEB_SITE}$TARBALL"
    2.17 +HOST_ARCH="i486 arm"
    2.18  
    2.19  DEPENDS="libpng zlib"
    2.20  BUILD_DEPENDS="libpng-dev zlib-dev"
    2.21 @@ -16,8 +17,7 @@
    2.22  # Rules to configure and make the package.
    2.23  compile_rules()
    2.24  {
    2.25 -	cd $src
    2.26 -	sed -i '/splint/d' Makefile
    2.27 +	#sed -i '/splint/d' Makefile
    2.28  	make
    2.29  }
    2.30  
     3.1 --- a/fbida/receipt	Sun Mar 16 14:51:45 2014 +0000
     3.2 +++ b/fbida/receipt	Sun Mar 16 19:34:26 2014 +0100
     3.3 @@ -1,7 +1,7 @@
     3.4  # SliTaz package receipt.
     3.5  
     3.6  PACKAGE="fbida"
     3.7 -VERSION="2.07"
     3.8 +VERSION="2.09"
     3.9  CATEGORY="utilities"
    3.10  SHORT_DESC="Image viewer for the framebuffer console"
    3.11  MAINTAINER="devl547@gmail.com"
    3.12 @@ -9,6 +9,7 @@
    3.13  TARBALL="$PACKAGE-$VERSION.tar.gz"
    3.14  WEB_SITE="http://linux.bytesex.org/fbida/"
    3.15  WGET_URL="http://dl.bytesex.org/releases/$PACKAGE/$TARBALL"
    3.16 +HOST_ARCH="i486 arm"
    3.17  
    3.18  DEPENDS="libpng giflib tiff jpeg ttf-bitstream-vera libexif zlib \
    3.19  libcurl freetype fontconfig"
    3.20 @@ -17,14 +18,14 @@
    3.21  # Rules to configure and make the package.
    3.22  compile_rules()
    3.23  {
    3.24 -	cd $src
    3.25 -	make -j2 && make DESTDIR=$DESTDIR install
    3.26 +	make
    3.27  }
    3.28  
    3.29  # Rules to gen a SliTaz package suitable for Tazpkg.
    3.30  genpkg_rules()
    3.31  {
    3.32 -	mkdir -p $fs/usr
    3.33 -	cp -a $install/usr/local/bin $fs/usr
    3.34 +	mkdir -p $fs/usr/bin
    3.35 +	for tool in fbi fbgs exiftran; do
    3.36 +		cp -a ${src}/${tool} $fs/usr/bin
    3.37 +	done
    3.38  }
    3.39 -
     4.1 --- a/fbvnc/receipt	Sun Mar 16 14:51:45 2014 +0000
     4.2 +++ b/fbvnc/receipt	Sun Mar 16 19:34:26 2014 +0100
     4.3 @@ -1,34 +1,33 @@
     4.4  # SliTaz package receipt.
     4.5  
     4.6  PACKAGE="fbvnc"
     4.7 -VERSION="20110416"
     4.8 +VERSION="20130314"
     4.9  CATEGORY="network"
    4.10  SHORT_DESC="VNC client in frame buffer."
    4.11  MAINTAINER="pascal.bellard@slitaz.org"
    4.12  LICENSE="GPL2"
    4.13 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    4.14  WEB_SITE="http://repo.or.cz/w/fbvnc.git"
    4.15 -TARBALL="$PACKAGE-$VERSION.tar.gz"
    4.16 +WGET_URL="git|git://repo.or.cz/fbvnc.git"
    4.17  TAGS="vnc remote-desktop"
    4.18 +HOST_ARCH="i486 arm"
    4.19 +
    4.20 +# Git must be installed in a cross chroot
    4.21 +case "$ARCH" in
    4.22 +	i?86) BUILD_DEPENDS="git" ;;
    4.23 +esac
    4.24  
    4.25  # Rules to configure and make the package.
    4.26  compile_rules()
    4.27  {
    4.28 -	[ -s $SOURCES_REPOSITORY/$TARBALL ] || 
    4.29 -	  wget -O $SOURCES_REPOSITORY/$TARBALL \
    4.30 -	   $WEB_SITE/snapshot/e42bc02b14b3331e7c7f45c6b42179d0af99ed7b.tar.gz
    4.31 -	mkdir -p $src
    4.32 -	cd $src
    4.33 -	tar xzf $SOURCES_REPOSITORY/$TARBALL
    4.34 -	mkdir $DESTDIR
    4.35 -	cd fbvnc
    4.36 -	patch -p0 < $stuff/fbvnc.u &&
    4.37 -	make && cp fbvnc $DESTDIR
    4.38 +	#patch -p0 < $stuff/fbvnc.u &&
    4.39 +	sed -i s"/cc/${HOST_SYSTEM}-gcc/" Makefile &&
    4.40 +	make
    4.41  }
    4.42  
    4.43 -
    4.44  # Rules to gen a SliTaz package suitable for Tazpkg.
    4.45  genpkg_rules()
    4.46  {
    4.47  	mkdir -p $fs/usr/bin
    4.48 -	cp $install/fbvnc $fs/usr/bin
    4.49 +	cp -a $src/fbvnc $fs/usr/bin
    4.50  }
     5.1 --- a/libexif-dev/receipt	Sun Mar 16 14:51:45 2014 +0000
     5.2 +++ b/libexif-dev/receipt	Sun Mar 16 19:34:26 2014 +0100
     5.3 @@ -8,6 +8,7 @@
     5.4  MAINTAINER="pankso@slitaz.org"
     5.5  LICENSE="LGPL2.1"
     5.6  WEB_SITE="http://libexif.sourceforge.net/"
     5.7 +HOST_ARCH="i486 arm"
     5.8  
     5.9  DEPENDS="libexif pkg-config"
    5.10  
     6.1 --- a/libexif/receipt	Sun Mar 16 14:51:45 2014 +0000
     6.2 +++ b/libexif/receipt	Sun Mar 16 19:34:26 2014 +0100
     6.3 @@ -9,11 +9,11 @@
     6.4  TARBALL="$PACKAGE-$VERSION.tar.gz"
     6.5  WEB_SITE="http://libexif.sourceforge.net/"
     6.6  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
     6.7 +HOST_ARCH="i486 arm"
     6.8  
     6.9  # Rules to configure and make the package.
    6.10  compile_rules()
    6.11  {
    6.12 -	cd $src
    6.13  	./configure \
    6.14  		--prefix=/usr \
    6.15  		$CONFIGURE_ARGS