wok view waterline/receipt @ rev 25282
updated rlwrap (0.43 -> 0.45.2)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Jul 18 15:29:34 2022 +0100 (2022-07-18) |
parents | 34e801e0eb52 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="waterline"
4 GITHASH="ed8ddefb60835502069faa3d038a6535e5fb03ac"
5 VERSION="ed8ddef" # Mar 24, 2016
6 CATEGORY="x-window"
7 SHORT_DESC="A lightweight framework for desktop widgets and applets"
8 MAINTAINER="psychomaniak@xakep.ru"
9 LICENSE="GPL2"
10 WEB_SITE="https://github.com/sde-gui/waterline"
11 TARBALL="$PACKAGE-$VERSION.zip"
12 WGET_URL="$WEB_SITE/archive/$GITHASH.zip"
13 TAGS="desktop panel taskbar"
15 DEPENDS="libsde-utils-jansson libsde-utils-x11"
16 BUILD_DEPENDS="automake libtool gtk+-dev jansson-dev libsde-utils \
17 libsde-utils-x11 libsde-utils-jansson libsde-utils-gtk \
18 xorg-libXcomposite-dev menu-cache-dev alsa-lib-dev"
19 # libsde-utils-dev libsde-utils-x11-dev libsde-utils-jansson-dev libsde-utils-gtk-dev
21 # What is the latest version available today?
22 current_version()
23 {
24 wget -O - $WEB_SITE/commits/master 2>/dev/null | \
25 sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q'
26 }
28 # Rules to configure and make the package.
29 compile_rules()
30 {
31 rm -rf $src/.git
32 sed 's/lxsession-logout/tazbox logout/' -i src/defaultapplications.c
33 ./autogen.sh || return 1
34 ./configure \
35 --prefix=/usr \
36 --libexec=/usr/lib \
37 --sysconfdir=/etc \
38 --localstatedir=/var \
39 --disable-static \
40 --disable-maintainer-mode \
41 --enable-silent-rules \
42 $CONFIGURE_ARGS &&
43 make &&
44 make install
45 }
47 # Rules to gen a SliTaz package suitable for Tazpkg.
48 genpkg_rules()
49 {
50 cp -a $install/* $fs
51 mkdir -p $fs/etc/xdg/autostart
52 cat > $fs/etc/xdg/autostart/waterline.desktop <<EOT
53 [Desktop Entry]
54 Type=Application
55 Name=Waterline Desktop panel
56 Exec=waterline
57 EOT
58 rm -rf $fs/usr/include
59 rm -rf $fs/usr/lib/pkgconfig
60 rm -r $fs/usr/lib/waterline/internals/*.la
61 }