wok-current view tint2/receipt @ rev 16169
ARM: add tint2 and wbar2 for a nice OpenBox desktop
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Mar 30 00:47:31 2014 +0100 (2014-03-30) |
parents | 380ffe05937a |
children | 1c8303b6f511 |
line source
1 # SliTaz package receipt.
3 PACKAGE="tint2"
4 VERSION="0.11"
5 CATEGORY="misc"
6 SHORT_DESC="taskbar and panel"
7 MAINTAINER="jozee@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 LICENSE="GPL2"
10 WEB_SITE="http://tint2.googlecode.com/files/"
11 WGET_URL="$WEB_SITE/$TARBALL"
12 CONFIG_FILES="/etc/xdg/tint2/tint2rc"
13 TAGS="desktop panel taskbar"
14 HOST_ARCH="i486 arm"
16 DEPENDS="gtk+ cairo pango glib imlib2 xorg-libXinerama xcb-util freetype"
17 BUILD_DEPENDS="cairo-dev pango-dev glib-dev imlib2-dev xorg-libXinerama-dev \
18 xcb-util-dev freetype-dev"
20 # Handle cross compilation
21 case "$ARCH" in
22 i?86) BUILD_DEPENDS="$BUILD_DEPENDS pygtk-dev cmake pkg-config" ;;
23 arm*) ARCH_ARGS="-DENABLE_TINT2CONF=OFF" ;;
24 esac
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 mkdir build && cd build
30 cmake \
31 -DCMAKE_INSTALL_PREFIX=/usr \
32 $ARCH_ARGS .. &&
33 make && make install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr
40 cp -a $install/etc $fs
41 cp -a $install/usr/bin $fs/usr
42 }