wok-current view wbar2/receipt @ rev 24703
updated ladspa and ladspa-dev (1.15 -> 1.17)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Mar 14 11:12:41 2022 +0100 (2022-03-14) |
parents | 6135577f4d08 |
children | e1e1678c5265 |
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 # 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_list_item/!d;s|.*commits/\(.......\).*|\1|;q'
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 }