wok rev 16249
ARM: add vte with sakura
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Apr 03 23:22:36 2014 +0200 (2014-04-03) |
parents | 128aae84d74c |
children | 6739a11f9858 |
files | sakura/receipt vte-dev/receipt vte-terminal/receipt vte/receipt |
line diff
1.1 --- a/sakura/receipt Thu Apr 03 22:56:54 2014 +0200 1.2 +++ b/sakura/receipt Thu Apr 03 23:22:36 2014 +0200 1.3 @@ -9,9 +9,15 @@ 1.4 WEB_SITE="http://www.pleyades.net/david/projects/sakura" 1.5 TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.6 WGET_URL="https://launchpad.net/sakura/trunk/$VERSION/+download/$TARBALL" 1.7 +HOST_ARCH="i486 arm" 1.8 1.9 DEPENDS="gtk+ vte xorg-libXdamage" 1.10 -BUILD_DEPENDS="gtk+-dev vte-dev gettext cmake wget" 1.11 +BUILD_DEPENDS="gtk+-dev vte-dev xorg-libXdamage-dev" 1.12 + 1.13 +# Handle cross compilation. 1.14 +case "$ARCH" in 1.15 + i?86) BUILD_DEPENDS="$BUILD_DEPENDS gettext cmake wget" ;; 1.16 +esac 1.17 1.18 # Rules to configure and make the package. 1.19 compile_rules()
2.1 --- a/vte-dev/receipt Thu Apr 03 22:56:54 2014 +0200 2.2 +++ b/vte-dev/receipt Thu Apr 03 23:22:36 2014 +0200 2.3 @@ -8,8 +8,9 @@ 2.4 MAINTAINER="pankso@slitaz.org" 2.5 LICENSE="GPL2" 2.6 WEB_SITE="http://www.gnome.org/" 2.7 +HOST_ARCH="i486 arm" 2.8 2.9 -DEPENDS="vte pkg-config" 2.10 +DEPENDS="vte" 2.11 2.12 # Rules to gen a SliTaz package suitable for Tazpkg. 2.13 genpkg_rules() 2.14 @@ -17,7 +18,9 @@ 2.15 mkdir -p $fs/usr/lib 2.16 cp -a $install/usr/lib/*.*a $fs/usr/lib 2.17 cp -a $install/usr/lib/pkgconfig $fs/usr/lib 2.18 - cp -a $install/usr/lib/girepository-1.0 $fs/usr/lib 2.19 + [ -d "$install/usr/lib/girepository-1.0" ] && 2.20 + cp -a $install/usr/lib/girepository-1.0 $fs/usr/lib 2.21 + [ -d "$install/usr/share/gir-1.0" ] && \ 2.22 + cp -a $install/usr/share/gir-1.0 $fs/usr/share 2.23 cp -a $install/usr/include $fs/usr 2.24 - cp -a $install/usr/share/gir-1.0 $fs/usr/share 2.25 }
3.1 --- a/vte-terminal/receipt Thu Apr 03 22:56:54 2014 +0200 3.2 +++ b/vte-terminal/receipt Thu Apr 03 23:22:36 2014 +0200 3.3 @@ -9,6 +9,7 @@ 3.4 LICENSE="GPL2" 3.5 WEB_SITE="http://www.gnome.org/" 3.6 TAGS="terminal" 3.7 +HOST_ARCH="i486 arm" 3.8 3.9 DEPENDS="expat vte" 3.10
4.1 --- a/vte/receipt Thu Apr 03 22:56:54 2014 +0200 4.2 +++ b/vte/receipt Thu Apr 03 23:22:36 2014 +0200 4.3 @@ -9,22 +9,29 @@ 4.4 TARBALL="$PACKAGE-$VERSION.tar.bz2" 4.5 WEB_SITE="http://www.gnome.org/" 4.6 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" 4.7 -LOCALE="" 4.8 +HOST_ARCH="i486 arm" 4.9 4.10 DEPENDS="gtk+ ncurses xorg-libXdamage" 4.11 -BUILD_DEPENDS="pygtk-dev python-dev gtk+-dev perl perl-xml-parser \ 4.12 -intltool ncurses-dev gobject-introspection-dev" 4.13 +BUILD_DEPENDS="gtk+-dev ncurses-dev " 4.14 + 4.15 +# Handle cross compilation. 4.16 +case "$ARCH" in 4.17 + i?86) 4.18 + BUILD_DEPENDS="pygtk-dev python-dev gobject-introspection-dev 4.19 + perl perl-xml-parser" 4.20 + ARCH_ARGS="--enable-introspection=yes" ;; 4.21 + arm) 4.22 + ARCH_ARGS="--enable-introspection=no" ;; 4.23 +esac 4.24 4.25 # Rules to configure and make the package. 4.26 compile_rules() 4.27 { 4.28 - cd $src 4.29 ./configure \ 4.30 --libexecdir=/usr/lib/vte \ 4.31 --with-html-dir=/usr/share/doc \ 4.32 --with-pcre \ 4.33 --disable-static \ 4.34 - --enable-introspection \ 4.35 $CONFIGURE_ARGS && 4.36 make && make install 4.37 }