wok-6.x view wbar2/receipt @ rev 17598
Up: cmake 3.1.2
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Tue Feb 10 20:18:55 2015 +0000 (2015-02-10) |
parents | 6dd5b7ae0e11 |
children | 6135577f4d08 |
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="pankso@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 gtk+-dev libglade-dev"
20 # Handle cross compilation
21 case "$ARCH" in
22 i?86) BUILD_DEPENDS="$BUILD_DEPENDS intltool file" ;;
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 &&
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 }