wok-next rev 16268

ARM: add libsexy libsndfile
author Christophe Lincoln <pankso@slitaz.org>
date Sat Apr 05 20:04:34 2014 +0200 (2014-04-05)
parents 8098d6eb4fdc
children 62b66edb40b5
files libsexy-dev/receipt libsexy/receipt libsndfile-dev/receipt libsndfile/receipt tazweb/receipt
line diff
     1.1 --- a/libsexy-dev/receipt	Sat Apr 05 19:43:34 2014 +0200
     1.2 +++ b/libsexy-dev/receipt	Sat Apr 05 20:04:34 2014 +0200
     1.3 @@ -8,6 +8,7 @@
     1.4  MAINTAINER="pankso@slitaz.org"
     1.5  LICENSE="LGPL2.1"
     1.6  WEB_SITE="http://www.chipx86.com/wiki/Libsexy"
     1.7 +HOST_ARCH="i486 arm"
     1.8  
     1.9  DEPENDS="pkg-config"
    1.10  
     2.1 --- a/libsexy/receipt	Sat Apr 05 19:43:34 2014 +0200
     2.2 +++ b/libsexy/receipt	Sat Apr 05 20:04:34 2014 +0200
     2.3 @@ -9,6 +9,7 @@
     2.4  TARBALL="$PACKAGE-$VERSION.tar.bz2"
     2.5  WEB_SITE="http://www.chipx86.com/wiki/Libsexy"
     2.6  WGET_URL="http://releases.chipx86.com/libsexy/libsexy/$TARBALL"
     2.7 +HOST_ARCH="i486 arm"
     2.8  
     2.9  DEPENDS="gtk+ xorg-libXdamage"
    2.10  BUILD_DEPENDS="pkg-config gtk+-dev xorg-xproto libxml2-dev"
    2.11 @@ -16,13 +17,9 @@
    2.12  # Rules to configure and make the package.
    2.13  compile_rules()
    2.14  {
    2.15 -	cd $src
    2.16  	./configure \
    2.17 -		--prefix=/usr \
    2.18 -		--mandir=/usr/share/man \
    2.19  		$CONFIGURE_ARGS &&
    2.20 -	make &&
    2.21 -	make DESTDIR=$DESTDIR install
    2.22 +	make && make install
    2.23  }
    2.24  
    2.25  # Rules to gen a SliTaz package suitable for Tazpkg.
     3.1 --- a/libsndfile-dev/receipt	Sat Apr 05 19:43:34 2014 +0200
     3.2 +++ b/libsndfile-dev/receipt	Sat Apr 05 20:04:34 2014 +0200
     3.3 @@ -8,6 +8,7 @@
     3.4  LICENSE="LGPL2.1"
     3.5  WANTED="libsndfile"
     3.6  WEB_SITE="http://www.mega-nerd.com/libsndfile/"
     3.7 +HOST_ARCH="i486 arm"
     3.8  
     3.9  DEPENDS="libsndfile pkg-config"
    3.10  
     4.1 --- a/libsndfile/receipt	Sat Apr 05 19:43:34 2014 +0200
     4.2 +++ b/libsndfile/receipt	Sat Apr 05 20:04:34 2014 +0200
     4.3 @@ -9,9 +9,20 @@
     4.4  TARBALL="$PACKAGE-$VERSION.tar.gz"
     4.5  WEB_SITE="http://www.mega-nerd.com/libsndfile/" 
     4.6  WGET_URL="$WEB_SITE/files/$TARBALL"
     4.7 +HOST_ARCH="i486 arm"
     4.8  
     4.9 -DEPENDS="alsa-lib flac libvorbis"
    4.10 -BUILD_DEPENDS="alsa-lib alsa-lib-dev flac-dev"
    4.11 +DEPENDS="alsa-lib libvorbis"
    4.12 +BUILD_DEPENDS="alsa-lib-dev libvorbis-dev"
    4.13 +
    4.14 +# Handle slitaz arch
    4.15 +case "$SLITAZ_ARCH" in
    4.16 +	i?86) DEPENDS="$DEPENDS flac" ;;
    4.17 +esac
    4.18 +
    4.19 +# Handle cross compilation.
    4.20 +case "$ARCH" in
    4.21 +	i?86) BUILD_DEPENDS="$UILD_DEPENDS flac-dev" ;;
    4.22 +esac
    4.23  
    4.24  # Rules to configure and make the package.
    4.25  compile_rules()
     5.1 --- a/tazweb/receipt	Sat Apr 05 19:43:34 2014 +0200
     5.2 +++ b/tazweb/receipt	Sat Apr 05 20:04:34 2014 +0200
     5.3 @@ -11,8 +11,8 @@
     5.4  WGET_URL="http://hg.slitaz.org/$PACKAGE/archive/$VERSION.tar.gz"
     5.5  HOST_ARCH="i486 arm"
     5.6  
     5.7 -DEPENDS="gtk+ libsoup libwebkit libxslt"
     5.8 -BUILD_DEPENDS="gtk+-dev libsoup-dev libwebkit-dev libxslt-dev"
     5.9 +DEPENDS="glib gtk+ libsoup libwebkit libxslt"
    5.10 +BUILD_DEPENDS="glib-dev gtk+-dev libsoup-dev libwebkit-dev libxslt-dev"
    5.11  
    5.12  # Rules to configure and make the package.
    5.13  compile_rules()