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