# HG changeset patch # User Christophe Lincoln # Date 1396721074 -7200 # Node ID 90efe33adc112b6fbbae18118f8b31ce87084911 # Parent 8098d6eb4fdcd0d0de7196fdc8bfb4ee264a34c2 ARM: add libsexy libsndfile diff -r 8098d6eb4fdc -r 90efe33adc11 libsexy-dev/receipt --- a/libsexy-dev/receipt Sat Apr 05 19:43:34 2014 +0200 +++ b/libsexy-dev/receipt Sat Apr 05 20:04:34 2014 +0200 @@ -8,6 +8,7 @@ MAINTAINER="pankso@slitaz.org" LICENSE="LGPL2.1" WEB_SITE="http://www.chipx86.com/wiki/Libsexy" +HOST_ARCH="i486 arm" DEPENDS="pkg-config" diff -r 8098d6eb4fdc -r 90efe33adc11 libsexy/receipt --- a/libsexy/receipt Sat Apr 05 19:43:34 2014 +0200 +++ b/libsexy/receipt Sat Apr 05 20:04:34 2014 +0200 @@ -9,6 +9,7 @@ TARBALL="$PACKAGE-$VERSION.tar.bz2" WEB_SITE="http://www.chipx86.com/wiki/Libsexy" WGET_URL="http://releases.chipx86.com/libsexy/libsexy/$TARBALL" +HOST_ARCH="i486 arm" DEPENDS="gtk+ xorg-libXdamage" BUILD_DEPENDS="pkg-config gtk+-dev xorg-xproto libxml2-dev" @@ -16,13 +17,9 @@ # Rules to configure and make the package. compile_rules() { - cd $src ./configure \ - --prefix=/usr \ - --mandir=/usr/share/man \ $CONFIGURE_ARGS && - make && - make DESTDIR=$DESTDIR install + make && make install } # Rules to gen a SliTaz package suitable for Tazpkg. diff -r 8098d6eb4fdc -r 90efe33adc11 libsndfile-dev/receipt --- a/libsndfile-dev/receipt Sat Apr 05 19:43:34 2014 +0200 +++ b/libsndfile-dev/receipt Sat Apr 05 20:04:34 2014 +0200 @@ -8,6 +8,7 @@ LICENSE="LGPL2.1" WANTED="libsndfile" WEB_SITE="http://www.mega-nerd.com/libsndfile/" +HOST_ARCH="i486 arm" DEPENDS="libsndfile pkg-config" diff -r 8098d6eb4fdc -r 90efe33adc11 libsndfile/receipt --- a/libsndfile/receipt Sat Apr 05 19:43:34 2014 +0200 +++ b/libsndfile/receipt Sat Apr 05 20:04:34 2014 +0200 @@ -9,9 +9,20 @@ TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="http://www.mega-nerd.com/libsndfile/" WGET_URL="$WEB_SITE/files/$TARBALL" +HOST_ARCH="i486 arm" -DEPENDS="alsa-lib flac libvorbis" -BUILD_DEPENDS="alsa-lib alsa-lib-dev flac-dev" +DEPENDS="alsa-lib libvorbis" +BUILD_DEPENDS="alsa-lib-dev libvorbis-dev" + +# Handle slitaz arch +case "$SLITAZ_ARCH" in + i?86) DEPENDS="$DEPENDS flac" ;; +esac + +# Handle cross compilation. +case "$ARCH" in + i?86) BUILD_DEPENDS="$UILD_DEPENDS flac-dev" ;; +esac # Rules to configure and make the package. compile_rules() diff -r 8098d6eb4fdc -r 90efe33adc11 tazweb/receipt --- a/tazweb/receipt Sat Apr 05 19:43:34 2014 +0200 +++ b/tazweb/receipt Sat Apr 05 20:04:34 2014 +0200 @@ -11,8 +11,8 @@ WGET_URL="http://hg.slitaz.org/$PACKAGE/archive/$VERSION.tar.gz" HOST_ARCH="i486 arm" -DEPENDS="gtk+ libsoup libwebkit libxslt" -BUILD_DEPENDS="gtk+-dev libsoup-dev libwebkit-dev libxslt-dev" +DEPENDS="glib gtk+ libsoup libwebkit libxslt" +BUILD_DEPENDS="glib-dev gtk+-dev libsoup-dev libwebkit-dev libxslt-dev" # Rules to configure and make the package. compile_rules()