wok rev 16237

ARM: add libsdl-net, libsdl-image, libsdl-mixer, libsdl-ttf
author Christophe Lincoln <pankso@slitaz.org>
date Wed Apr 02 10:38:57 2014 +0200 (2014-04-02)
parents ac2ee8823dfa
children 30cd20bf889e
files libsdl-image-dev/receipt libsdl-image/receipt libsdl-mixer-dev/receipt libsdl-mixer/receipt libsdl-net-dev/receipt libsdl-net/receipt libsdl-ttf-dev/receipt libsdl-ttf/receipt nfs-utils/receipt
line diff
     1.1 --- a/libsdl-image-dev/receipt	Wed Apr 02 10:08:04 2014 +0200
     1.2 +++ b/libsdl-image-dev/receipt	Wed Apr 02 10:38:57 2014 +0200
     1.3 @@ -9,6 +9,7 @@
     1.4  WEB_SITE="http://www.libsdl.org/projects/SDL_image/"
     1.5  WANTED="libsdl-image"
     1.6  SOURCE="SDL_image"
     1.7 +HOST_ARCH="i486 arm"
     1.8  
     1.9  DEPENDS="libsdl-image libsdl-dev libpng-dev jpeg-dev zlib-dev pkg-config"
    1.10  
    1.11 @@ -16,7 +17,6 @@
    1.12  genpkg_rules()
    1.13  {
    1.14  	mkdir -p $fs/usr/lib
    1.15 -
    1.16  	cp -a $install/usr/lib/*.a $fs/usr/lib
    1.17  	cp -a $install/usr/include $fs/usr
    1.18  	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
     2.1 --- a/libsdl-image/receipt	Wed Apr 02 10:08:04 2014 +0200
     2.2 +++ b/libsdl-image/receipt	Wed Apr 02 10:38:57 2014 +0200
     2.3 @@ -10,6 +10,7 @@
     2.4  TARBALL="$SOURCE-$VERSION.tar.gz"
     2.5  WEB_SITE="http://www.libsdl.org/projects/SDL_image/"
     2.6  WGET_URL="http://www.libsdl.org/projects/SDL_image/release/$TARBALL"
     2.7 +HOST_ARCH="i486 arm"
     2.8  
     2.9  DEPENDS="libsdl libpng jpeg zlib tiff"
    2.10  BUILD_DEPENDS="libsdl-dev libpng-dev jpeg-dev zlib-dev tiff-dev"
    2.11 @@ -17,7 +18,6 @@
    2.12  # Rules to configure and make the package.
    2.13  compile_rules()
    2.14  {
    2.15 -	cd $src
    2.16  	./configure $CONFIGURE_ARGS \
    2.17  		LIBS=" -lz " &&
    2.18  	make && make install
     3.1 --- a/libsdl-mixer-dev/receipt	Wed Apr 02 10:08:04 2014 +0200
     3.2 +++ b/libsdl-mixer-dev/receipt	Wed Apr 02 10:38:57 2014 +0200
     3.3 @@ -9,6 +9,7 @@
     3.4  WEB_SITE="http://www.libsdl.org/projects/SDL_mixer/"
     3.5  WANTED="libsdl-mixer"
     3.6  SOURCE="SDL_mixer"
     3.7 +HOST_ARCH="i486 arm"
     3.8  
     3.9  DEPENDS="libsdl-mixer libsdl-dev libmad-dev libvorbis-dev libogg-dev "
    3.10  
     4.1 --- a/libsdl-mixer/receipt	Wed Apr 02 10:08:04 2014 +0200
     4.2 +++ b/libsdl-mixer/receipt	Wed Apr 02 10:38:57 2014 +0200
     4.3 @@ -10,6 +10,7 @@
     4.4  TARBALL="$SOURCE-$VERSION.tar.gz"
     4.5  WEB_SITE="http://www.libsdl.org/projects/SDL_mixer/"
     4.6  WGET_URL="http://www.libsdl.org/projects/SDL_mixer/release/$TARBALL"
     4.7 +HOST_ARCH="i486 arm"
     4.8  
     4.9  DEPENDS="libsdl libmad libvorbis libogg"
    4.10  BUILD_DEPENDS="libsdl libsdl-dev libmad-dev libvorbis-dev libogg-dev "
    4.11 @@ -17,15 +18,11 @@
    4.12  # Rules to configure and make the package.
    4.13  compile_rules()
    4.14  {
    4.15 -	cd $src
    4.16  	./configure \
    4.17  		--prefix=/usr \
    4.18 -		--mandir=/usr/share/man \
    4.19 -		--infodir=/usr/share/info \
    4.20  		--enable-music-mp3-mad \
    4.21  		$CONFIGURE_ARGS &&
    4.22 -	make &&
    4.23 -	make DESTDIR=$DESTDIR install
    4.24 +	make && make install
    4.25  }
    4.26  
    4.27  # Rules to gen a SliTaz package suitable for Tazpkg.
     5.1 --- a/libsdl-net-dev/receipt	Wed Apr 02 10:08:04 2014 +0200
     5.2 +++ b/libsdl-net-dev/receipt	Wed Apr 02 10:38:57 2014 +0200
     5.3 @@ -9,6 +9,7 @@
     5.4  WANTED="libsdl-net"
     5.5  SOURCE="SDL_net"
     5.6  WEB_SITE="http://www.libsdl.org/projects/SDL_net/"
     5.7 +HOST_ARCH="i486 arm"
     5.8  
     5.9  DEPENDS="libsdl-net"
    5.10  
     6.1 --- a/libsdl-net/receipt	Wed Apr 02 10:08:04 2014 +0200
     6.2 +++ b/libsdl-net/receipt	Wed Apr 02 10:38:57 2014 +0200
     6.3 @@ -10,6 +10,7 @@
     6.4  TARBALL="$SOURCE-$VERSION.tar.gz"
     6.5  WEB_SITE="http://www.libsdl.org/projects/SDL_net/"
     6.6  WGET_URL="http://www.libsdl.org/projects/SDL_net/release/$TARBALL"
     6.7 +HOST_ARCH="i486 arm"
     6.8  
     6.9  DEPENDS="libsdl"
    6.10  BUILD_DEPENDS="libsdl-dev"
    6.11 @@ -17,7 +18,6 @@
    6.12  # Rules to configure and make the package.
    6.13  compile_rules()
    6.14  {
    6.15 -	cd $src
    6.16  	./configure $CONFIGURE_ARGS && make && make install
    6.17  }
    6.18  
     7.1 --- a/libsdl-ttf-dev/receipt	Wed Apr 02 10:08:04 2014 +0200
     7.2 +++ b/libsdl-ttf-dev/receipt	Wed Apr 02 10:38:57 2014 +0200
     7.3 @@ -9,6 +9,7 @@
     7.4  WANTED="libsdl-ttf"
     7.5  SOURCE="SDL_ttf"
     7.6  WEB_SITE="http://www.libsdl.org/projects/SDL_ttf/"
     7.7 +HOST_ARCH="i486 arm"
     7.8  
     7.9  DEPENDS="libsdl-ttf"
    7.10  
     8.1 --- a/libsdl-ttf/receipt	Wed Apr 02 10:08:04 2014 +0200
     8.2 +++ b/libsdl-ttf/receipt	Wed Apr 02 10:38:57 2014 +0200
     8.3 @@ -10,6 +10,7 @@
     8.4  TARBALL="$SOURCE-$VERSION.tar.gz"
     8.5  WEB_SITE="http://www.libsdl.org/projects/SDL_ttf/"
     8.6  WGET_URL="http://www.libsdl.org/projects/SDL_ttf/release/$TARBALL"
     8.7 +HOST_ARCH="i486 arm"
     8.8  
     8.9  DEPENDS="libsdl freetype zlib"
    8.10  BUILD_DEPENDS="libsdl-dev freetype-dev"
    8.11 @@ -17,10 +18,8 @@
    8.12  # Rules to configure and make the package.
    8.13  compile_rules()
    8.14  {
    8.15 -	cd $src
    8.16 -	./configure --prefix=/usr $CONFIGURE_ARGS &&
    8.17 -	make &&
    8.18 -	make DESTDIR=$DESTDIR install
    8.19 +	./configure $CONFIGURE_ARGS &&
    8.20 +	make && make install
    8.21  }
    8.22  
    8.23  # Rules to gen a SliTaz package suitable for Tazpkg.
     9.1 --- a/nfs-utils/receipt	Wed Apr 02 10:08:04 2014 +0200
     9.2 +++ b/nfs-utils/receipt	Wed Apr 02 10:38:57 2014 +0200
     9.3 @@ -1,7 +1,7 @@
     9.4  # SliTaz package receipt.
     9.5  
     9.6  PACKAGE="nfs-utils"
     9.7 -VERSION="1.2.2"
     9.8 +VERSION="1.3.0"
     9.9  CATEGORY="system-tools"
    9.10  SHORT_DESC="Network FileSystem tools."
    9.11  MAINTAINER="pascal.bellard@slitaz.org"
    9.12 @@ -24,19 +24,19 @@
    9.13  
    9.14  # Handle cross compilation.
    9.15  case "$ARCH" in
    9.16 -	arm*) ARCH_ARGS="--with-tirpcinclude=/cross/arm/sysroot/usr/include/tirpc" ;;
    9.17 +	arm*) 
    9.18 +		ARCH_ARGS="--with-tirpcinclude=/cross/$ARCH/sysroot/usr/include/tirpc" ;;
    9.19  esac
    9.20  
    9.21  # Rules to configure and make the package.
    9.22  compile_rules()
    9.23  {
    9.24 -	sh autogen.sh
    9.25 -	./configure --prefix=/usr --infodir=/usr/share/info \
    9.26 -	--disable-nfsv4 --disable-gss \
    9.27 -	--mandir=/usr/share/man \
    9.28 -	$CONFIGURE_ARGS ${ARCH_ARGS} &&
    9.29 -	make &&
    9.30 -	make DESTDIR=$DESTDIR install
    9.31 +	#sh autogen.sh
    9.32 +	./configure \
    9.33 +		--disable-nfsv4 \
    9.34 +		--disable-gss \
    9.35 +		$CONFIGURE_ARGS ${ARCH_ARGS} &&
    9.36 +	make && make install
    9.37  }
    9.38  
    9.39  # Rules to gen a SliTaz package suitable for Tazpkg.