wok-current rev 16083
ARM: add cairo giblib gperf
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Mar 15 21:09:44 2014 +0100 (2014-03-15) |
parents | 4ba762f15bab |
children | 53082fab5f1e |
files | cairo-dev/receipt cairo/receipt giblib-dev/receipt giblib/receipt gperf/receipt |
line diff
1.1 --- a/cairo-dev/receipt Sat Mar 15 20:54:02 2014 +0100 1.2 +++ b/cairo-dev/receipt Sat Mar 15 21:09:44 2014 +0100 1.3 @@ -8,6 +8,7 @@ 1.4 LICENSE="MPL LGPL2.1" 1.5 WEB_SITE="http://www.cairographics.org/" 1.6 WANTED="cairo" 1.7 +HOST_ARCH="i486 arm" 1.8 1.9 DEPENDS="pixman-dev xorg-libXrender-dev glib-dev libxcb-dev xcb-util-dev \ 1.10 cairo fontconfig-dev freetype-dev libpng-dev expat-dev pkg-config"
2.1 --- a/cairo/receipt Sat Mar 15 20:54:02 2014 +0100 2.2 +++ b/cairo/receipt Sat Mar 15 21:09:44 2014 +0100 2.3 @@ -6,14 +6,21 @@ 2.4 SHORT_DESC="2D graphics library." 2.5 MAINTAINER="pankso@slitaz.org" 2.6 LICENSE="MPL LGPL2.1" 2.7 +TARBALL="$PACKAGE-$VERSION.tar.xz" 2.8 +WEB_SITE="http://www.cairographics.org/" 2.9 +WGET_URL="http://cairographics.org/releases/$TARBALL" 2.10 +HOST_ARCH="i486 arm" 2.11 + 2.12 DEPENDS="glib pixman libpng zlib expat fontconfig freetype xorg-libX11 \ 2.13 xorg-libXau xorg-libXdmcp xorg-libXrender xcb-util libxcb" 2.14 BUILD_DEPENDS="pkg-config glib-dev libpng-dev zlib-dev fontconfig-dev \ 2.15 freetype-dev xorg-libX11-dev pixman-dev xorg-libXau-dev xorg-libXdmcp-dev \ 2.16 xorg-libXrender-dev xcb-util-dev libxcb-dev expat-dev libxml2-dev" 2.17 -TARBALL="$PACKAGE-$VERSION.tar.xz" 2.18 -WEB_SITE="http://www.cairographics.org/" 2.19 -WGET_URL="http://cairographics.org/releases/$TARBALL" 2.20 + 2.21 +# Handle cross compilation 2.22 +case "$ARCH" in 2.23 + arm*) export CFLAGS="$CFLAGS -L/cross/$ARCH/sysroot/usr/lib" ;; 2.24 +esac 2.25 2.26 # Rules to configure and make the package. 2.27 compile_rules()
3.1 --- a/giblib-dev/receipt Sat Mar 15 20:54:02 2014 +0100 3.2 +++ b/giblib-dev/receipt Sat Mar 15 21:09:44 2014 +0100 3.3 @@ -8,6 +8,7 @@ 3.4 LICENSE="MIT" 3.5 WANTED="giblib" 3.6 WEB_SITE="http://linuxbrit.co.uk/feh/" 3.7 +HOST_ARCH="i486 arm" 3.8 3.9 DEPENDS="giblib" 3.10
4.1 --- a/giblib/receipt Sat Mar 15 20:54:02 2014 +0100 4.2 +++ b/giblib/receipt Sat Mar 15 21:09:44 2014 +0100 4.3 @@ -9,15 +9,23 @@ 4.4 TARBALL="$PACKAGE-$VERSION.tar.gz" 4.5 WEB_SITE="http://linuxbrit.co.uk/feh/" 4.6 WGET_URL="http://linuxbrit.co.uk/downloads/$TARBALL" 4.7 +HOST_ARCH="i486 arm" 4.8 4.9 DEPENDS="imlib2 freetype xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext" 4.10 BUILD_DEPENDS="imlib2-dev imlib2 xorg-xproto freetype-dev xorg-libXext-dev" 4.11 4.12 +# Handle cross compilation 4.13 +case "$ARCH" in 4.14 + arm*) export CFLAGS="$CFLAGS -L/cross/$ARCH/sysroot/usr/lib" ;; 4.15 +esac 4.16 + 4.17 # Rules to configure and make the package. 4.18 compile_rules() 4.19 { 4.20 - cd $src 4.21 - ./configure --prefix=/usr $CONFIGURE_ARGS && 4.22 + 4.23 + ./configure \ 4.24 + --prefix=/usr \ 4.25 + $CONFIGURE_ARGS && 4.26 make && 4.27 make DESTDIR=$DESTDIR install 4.28 }
5.1 --- a/gperf/receipt Sat Mar 15 20:54:02 2014 +0100 5.2 +++ b/gperf/receipt Sat Mar 15 21:09:44 2014 +0100 5.3 @@ -9,17 +9,13 @@ 5.4 TARBALL="$PACKAGE-$VERSION.tar.gz" 5.5 WEB_SITE="http://www.gnu.org/software/gperf/" 5.6 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" 5.7 +HOST_ARCH="i486 arm" 5.8 5.9 # Rules to configure and make the package. 5.10 compile_rules() 5.11 { 5.12 - cd $src 5.13 - ./configure \ 5.14 - --prefix=/usr \ 5.15 - --mandir=/usr/share/man \ 5.16 - $CONFIGURE_ARGS 5.17 - make 5.18 - make DESTDIR=$DESTDIR install 5.19 + ./configure $CONFIGURE_ARGS 5.20 + make && make install 5.21 } 5.22 5.23 # Rules to gen a SliTaz package suitable for Tazpkg.