# HG changeset patch # User Christophe Lincoln # Date 1396427937 -7200 # Node ID 4cd474907d609643a084cd6c0acd6eda856fe6f6 # Parent ac2ee8823dfa49c71b366a2776feda50c0b2e7cc ARM: add libsdl-net, libsdl-image, libsdl-mixer, libsdl-ttf diff -r ac2ee8823dfa -r 4cd474907d60 libsdl-image-dev/receipt --- a/libsdl-image-dev/receipt Wed Apr 02 10:08:04 2014 +0200 +++ b/libsdl-image-dev/receipt Wed Apr 02 10:38:57 2014 +0200 @@ -9,6 +9,7 @@ WEB_SITE="http://www.libsdl.org/projects/SDL_image/" WANTED="libsdl-image" SOURCE="SDL_image" +HOST_ARCH="i486 arm" DEPENDS="libsdl-image libsdl-dev libpng-dev jpeg-dev zlib-dev pkg-config" @@ -16,7 +17,6 @@ genpkg_rules() { mkdir -p $fs/usr/lib - cp -a $install/usr/lib/*.a $fs/usr/lib cp -a $install/usr/include $fs/usr cp -a $install/usr/lib/pkgconfig $fs/usr/lib diff -r ac2ee8823dfa -r 4cd474907d60 libsdl-image/receipt --- a/libsdl-image/receipt Wed Apr 02 10:08:04 2014 +0200 +++ b/libsdl-image/receipt Wed Apr 02 10:38:57 2014 +0200 @@ -10,6 +10,7 @@ TARBALL="$SOURCE-$VERSION.tar.gz" WEB_SITE="http://www.libsdl.org/projects/SDL_image/" WGET_URL="http://www.libsdl.org/projects/SDL_image/release/$TARBALL" +HOST_ARCH="i486 arm" DEPENDS="libsdl libpng jpeg zlib tiff" BUILD_DEPENDS="libsdl-dev libpng-dev jpeg-dev zlib-dev tiff-dev" @@ -17,7 +18,6 @@ # Rules to configure and make the package. compile_rules() { - cd $src ./configure $CONFIGURE_ARGS \ LIBS=" -lz " && make && make install diff -r ac2ee8823dfa -r 4cd474907d60 libsdl-mixer-dev/receipt --- a/libsdl-mixer-dev/receipt Wed Apr 02 10:08:04 2014 +0200 +++ b/libsdl-mixer-dev/receipt Wed Apr 02 10:38:57 2014 +0200 @@ -9,6 +9,7 @@ WEB_SITE="http://www.libsdl.org/projects/SDL_mixer/" WANTED="libsdl-mixer" SOURCE="SDL_mixer" +HOST_ARCH="i486 arm" DEPENDS="libsdl-mixer libsdl-dev libmad-dev libvorbis-dev libogg-dev " diff -r ac2ee8823dfa -r 4cd474907d60 libsdl-mixer/receipt --- a/libsdl-mixer/receipt Wed Apr 02 10:08:04 2014 +0200 +++ b/libsdl-mixer/receipt Wed Apr 02 10:38:57 2014 +0200 @@ -10,6 +10,7 @@ TARBALL="$SOURCE-$VERSION.tar.gz" WEB_SITE="http://www.libsdl.org/projects/SDL_mixer/" WGET_URL="http://www.libsdl.org/projects/SDL_mixer/release/$TARBALL" +HOST_ARCH="i486 arm" DEPENDS="libsdl libmad libvorbis libogg" BUILD_DEPENDS="libsdl libsdl-dev libmad-dev libvorbis-dev libogg-dev " @@ -17,15 +18,11 @@ # Rules to configure and make the package. compile_rules() { - cd $src ./configure \ --prefix=/usr \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ --enable-music-mp3-mad \ $CONFIGURE_ARGS && - make && - make DESTDIR=$DESTDIR install + make && make install } # Rules to gen a SliTaz package suitable for Tazpkg. diff -r ac2ee8823dfa -r 4cd474907d60 libsdl-net-dev/receipt --- a/libsdl-net-dev/receipt Wed Apr 02 10:08:04 2014 +0200 +++ b/libsdl-net-dev/receipt Wed Apr 02 10:38:57 2014 +0200 @@ -9,6 +9,7 @@ WANTED="libsdl-net" SOURCE="SDL_net" WEB_SITE="http://www.libsdl.org/projects/SDL_net/" +HOST_ARCH="i486 arm" DEPENDS="libsdl-net" diff -r ac2ee8823dfa -r 4cd474907d60 libsdl-net/receipt --- a/libsdl-net/receipt Wed Apr 02 10:08:04 2014 +0200 +++ b/libsdl-net/receipt Wed Apr 02 10:38:57 2014 +0200 @@ -10,6 +10,7 @@ TARBALL="$SOURCE-$VERSION.tar.gz" WEB_SITE="http://www.libsdl.org/projects/SDL_net/" WGET_URL="http://www.libsdl.org/projects/SDL_net/release/$TARBALL" +HOST_ARCH="i486 arm" DEPENDS="libsdl" BUILD_DEPENDS="libsdl-dev" @@ -17,7 +18,6 @@ # Rules to configure and make the package. compile_rules() { - cd $src ./configure $CONFIGURE_ARGS && make && make install } diff -r ac2ee8823dfa -r 4cd474907d60 libsdl-ttf-dev/receipt --- a/libsdl-ttf-dev/receipt Wed Apr 02 10:08:04 2014 +0200 +++ b/libsdl-ttf-dev/receipt Wed Apr 02 10:38:57 2014 +0200 @@ -9,6 +9,7 @@ WANTED="libsdl-ttf" SOURCE="SDL_ttf" WEB_SITE="http://www.libsdl.org/projects/SDL_ttf/" +HOST_ARCH="i486 arm" DEPENDS="libsdl-ttf" diff -r ac2ee8823dfa -r 4cd474907d60 libsdl-ttf/receipt --- a/libsdl-ttf/receipt Wed Apr 02 10:08:04 2014 +0200 +++ b/libsdl-ttf/receipt Wed Apr 02 10:38:57 2014 +0200 @@ -10,6 +10,7 @@ TARBALL="$SOURCE-$VERSION.tar.gz" WEB_SITE="http://www.libsdl.org/projects/SDL_ttf/" WGET_URL="http://www.libsdl.org/projects/SDL_ttf/release/$TARBALL" +HOST_ARCH="i486 arm" DEPENDS="libsdl freetype zlib" BUILD_DEPENDS="libsdl-dev freetype-dev" @@ -17,10 +18,8 @@ # Rules to configure and make the package. compile_rules() { - cd $src - ./configure --prefix=/usr $CONFIGURE_ARGS && - make && - make DESTDIR=$DESTDIR install + ./configure $CONFIGURE_ARGS && + make && make install } # Rules to gen a SliTaz package suitable for Tazpkg. diff -r ac2ee8823dfa -r 4cd474907d60 nfs-utils/receipt --- a/nfs-utils/receipt Wed Apr 02 10:08:04 2014 +0200 +++ b/nfs-utils/receipt Wed Apr 02 10:38:57 2014 +0200 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="nfs-utils" -VERSION="1.2.2" +VERSION="1.3.0" CATEGORY="system-tools" SHORT_DESC="Network FileSystem tools." MAINTAINER="pascal.bellard@slitaz.org" @@ -24,19 +24,19 @@ # Handle cross compilation. case "$ARCH" in - arm*) ARCH_ARGS="--with-tirpcinclude=/cross/arm/sysroot/usr/include/tirpc" ;; + arm*) + ARCH_ARGS="--with-tirpcinclude=/cross/$ARCH/sysroot/usr/include/tirpc" ;; esac # Rules to configure and make the package. compile_rules() { - sh autogen.sh - ./configure --prefix=/usr --infodir=/usr/share/info \ - --disable-nfsv4 --disable-gss \ - --mandir=/usr/share/man \ - $CONFIGURE_ARGS ${ARCH_ARGS} && - make && - make DESTDIR=$DESTDIR install + #sh autogen.sh + ./configure \ + --disable-nfsv4 \ + --disable-gss \ + $CONFIGURE_ARGS ${ARCH_ARGS} && + make && make install } # Rules to gen a SliTaz package suitable for Tazpkg.