wok view wbar2/receipt @ rev 16190
wbar2: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Mar 30 18:45:56 2014 +0000 (2014-03-30) |
parents | d504756dc474 |
children | e1ee172acb7b |
line source
1 # SliTaz package receipt.
3 PACKAGE="wbar2"
4 VERSION="2.3.4"
5 CATEGORY="system-tools"
6 SHORT_DESC="Quick launch bar."
7 MAINTAINER="gokhlayeh@slitaz.org"
8 LICENSE="GPL3"
9 SOURCE="wbar"
10 TARBALL="$SOURCE-$VERSION.tgz"
11 WEB_SITE="http://code.google.com/p/wbar/"
12 WGET_URL="http://wbar.googlecode.com/files/$TARBALL"
13 CONFIG_FILES="/etc/default/wbar/wbar.cfg"
14 TAGS="desktop launchbar"
15 HOST_ARCH="i486 arm"
17 DEPENDS="ttf-dejavu imlib2 gtk+ libglade"
18 BUILD_DEPENDS="imlib2-dev file"
20 # Handle cross compilation
21 case "$ARCH" in
22 i?86) BUILD_DEPENDS="$BUILD_DEPENDS gtk+-dev libglade-dev intltool" ;;
23 arm*) ARCH_ARGS="--disable-wbar-config" ;;
24 esac
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 ./configure \
30 --exec-prefix=/usr \
31 --sysconfdir=/etc \
32 $CONFIGURE_ARGS ${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/share $fs/usr/share/applications
40 cp -a $install/usr/bin $fs/usr
41 cp -a $install/etc $fs
42 cp -a $install/usr/share/pixmaps $fs/usr/share
43 cp -a $install/usr/share/wbar $fs/usr/share
44 mv $fs/etc/wbar.d/wbar.desktop $fs/usr/share/applications
45 case "$ARCH" in
46 i?86) cp -a $stuff/wbar.cfg $fs/etc/wbar.d ;;
47 arm*) cp -a $stuff/wbar-arm.cfg $fs/etc/wbar.d/wbar.cfg ;;
48 esac
49 }