wok-next view wbar2/receipt @ rev 20674
Up putty (0.70)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat May 12 05:17:48 2018 +0300 (2018-05-12) |
parents | da9e80c5d4bb |
children | 9b3461bf373c |
line source
1 # SliTaz package receipt v2.
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 WEB_SITE="http://code.google.com/p/wbar/"
11 TARBALL="wbar-$VERSION.tgz"
12 WGET_URL="http://wbar.googlecode.com/files/$TARBALL"
14 BUILD_DEPENDS_arm="imlib2-dev gtk+-dev libglade-dev xorg-libX11-dev"
15 BUILD_DEPENDS="imlib2-dev gtk+-dev libglade-dev xorg-libX11-dev intltool file"
17 compile_rules() {
18 case "$ARCH" in
19 arm*) ARCH_ARGS="--disable-wbar-config";;
20 esac
22 ./configure \
23 CXXFLAGS="-Wno-error=literal-suffix" \
24 --exec-prefix=/usr \
25 $CONFIGURE_ARGS &&
26 make &&
27 make install || return 1
29 mkdir -p $install/usr/share/applications/
30 mv $install/etc/wbar.d/wbar.desktop $install/usr/share/applications/
32 case "$ARCH" in
33 arm*) cp $stuff/wbar-arm.cfg $install/etc/wbar.d/wbar.cfg;;
34 *) cp $stuff/wbar.cfg $install/etc/wbar.d/wbar.cfg;;
35 esac
36 }
38 genpkg_rules() {
39 copy @std
40 DEPENDS="ttf-dejavu imlib2 gtk+ libglade"
41 CONFIG_FILES="/etc/default/wbar/wbar.cfg"
42 TAGS="desktop launchbar"
43 }