wok diff tint2/receipt @ rev 16815
Up gsettings-desktop-schemas (3.12.2)
author | Yuri Pourre <yuripourre@gmail.com> |
---|---|
date | Thu Jul 10 23:12:54 2014 -0300 (2014-07-10) |
parents | 380ffe05937a |
children | 1c8303b6f511 |
line diff
1.1 --- a/tint2/receipt Sat Aug 10 17:00:38 2013 +0000 1.2 +++ b/tint2/receipt Thu Jul 10 23:12:54 2014 -0300 1.3 @@ -11,19 +11,26 @@ 1.4 WGET_URL="$WEB_SITE/$TARBALL" 1.5 CONFIG_FILES="/etc/xdg/tint2/tint2rc" 1.6 TAGS="desktop panel taskbar" 1.7 +HOST_ARCH="i486 arm" 1.8 1.9 DEPENDS="gtk+ cairo pango glib imlib2 xorg-libXinerama xcb-util freetype" 1.10 -BUILD_DEPENDS="pygtk-dev cmake pkg-config imlib2-dev xcb-util-dev" 1.11 +BUILD_DEPENDS="cairo-dev pango-dev glib-dev imlib2-dev xorg-libXinerama-dev \ 1.12 +xcb-util-dev freetype-dev" 1.13 + 1.14 +# Handle cross compilation 1.15 +case "$ARCH" in 1.16 + i?86) BUILD_DEPENDS="$BUILD_DEPENDS pygtk-dev cmake pkg-config" ;; 1.17 + arm*) ARCH_ARGS="-DENABLE_TINT2CONF=OFF" ;; 1.18 +esac 1.19 1.20 # Rules to configure and make the package. 1.21 compile_rules() 1.22 { 1.23 - cd $src 1.24 - [ -d build ] || mkdir build 1.25 - cd build 1.26 - cmake -DCMAKE_INSTALL_PREFIX=/usr ../ && 1.27 - make && 1.28 - make DESTDIR=$DESTDIR install 1.29 + mkdir build && cd build 1.30 + cmake \ 1.31 + -DCMAKE_INSTALL_PREFIX=/usr \ 1.32 + $ARCH_ARGS .. && 1.33 + make && make install 1.34 } 1.35 1.36 # Rules to gen a SliTaz package suitable for Tazpkg.