wok view wbar2/receipt @ rev 25249

updated python-websocket-client (0.57.0 -> 0.59.0)
author Hans-G?nter Theisgen
date Thu Jul 14 07:30:53 2022 +0100 (2022-07-14)
parents e1e1678c5265
children c965782a38e0
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="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/$SOURCE/$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 # What is the latest version available today?
27 current_version()
28 {
29 wget -O - $WEB_SITE/commits/dev-3.0 2>/dev/null | \
30 sed '/Commits on/!d;s|.*on |"|;s|<.*|"|;q' | xargs date +%Y%m%d -d
31 }
33 # Rules to configure and make the package.
34 compile_rules()
35 {
36 ./configure \
37 --exec-prefix=/usr \
38 --sysconfdir=/etc \
39 $CONFIGURE_ARGS &&
40 make && make install
41 }
43 # Rules to gen a SliTaz package suitable for Tazpkg.
44 genpkg_rules()
45 {
46 mkdir -p $fs/usr/share $fs/usr/share/applications
47 cp -a $install/usr/bin $fs/usr
48 cp -a $install/etc $fs
49 cp -a $install/usr/share/pixmaps $fs/usr/share
50 cp -a $install/usr/share/wbar $fs/usr/share
51 mv $fs/etc/wbar.d/wbar.desktop $fs/usr/share/applications
52 case "$ARCH" in
53 i?86) cp -a $stuff/wbar.cfg $fs/etc/wbar.d ;;
54 arm*) cp -a $stuff/wbar-arm.cfg $fs/etc/wbar.d/wbar.cfg ;;
55 esac
56 }