wok-6.x view waterline/receipt @ rev 24554

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