wok view wbar2/receipt @ rev 20679
Update some WEB_SITE
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jan 26 12:26:47 2019 +0100 (2019-01-26) |
parents | e1ee172acb7b |
children | 34e801e0eb52 |
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="https://github.com/rodolf0/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 }