wok-current annotate waterline/receipt @ rev 20747
Up par2 (0.8.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 10 12:08:41 2019 +0100 (2019-02-10) |
parents | 911eba0b2038 |
children | 34e801e0eb52 |
rev | line source |
---|---|
psychomaniak@19052 | 1 # SliTaz package receipt. |
psychomaniak@19052 | 2 |
psychomaniak@19052 | 3 PACKAGE="waterline" |
psychomaniak@19052 | 4 VERSION="ed8ddef" |
psychomaniak@19052 | 5 CATEGORY="x-window" |
psychomaniak@19052 | 6 SHORT_DESC="A lightweight framework for desktop widgets and applets" |
psychomaniak@19052 | 7 MAINTAINER="psychomaniak@xakep.ru" |
psychomaniak@19052 | 8 LICENSE="GPL2" |
pascal@20679 | 9 WEB_SITE="https://github.com/sde-gui/waterline" |
psychomaniak@19052 | 10 TARBALL="$PACKAGE-$VERSION.tar.xz" |
psychomaniak@19052 | 11 WGET_URL="http://git.make-linux.org/sde/$PACKAGE.git/snapshot/$TARBALL" |
psychomaniak@19052 | 12 TAGS="desktop panel taskbar" |
psychomaniak@19052 | 13 |
psychomaniak@19052 | 14 DEPENDS="libsde-utils-jansson libsde-utils-x11" |
psychomaniak@19052 | 15 BUILD_DEPENDS="automake libtool gtk+-dev jansson-dev libsde-utils \ |
psychomaniak@19052 | 16 libsde-utils-x11 libsde-utils-jansson libsde-utils-gtk \ |
psychomaniak@19052 | 17 xorg-libXcomposite-dev menu-cache-dev alsa-lib-dev" |
psychomaniak@19052 | 18 # libsde-utils-dev libsde-utils-x11-dev libsde-utils-jansson-dev libsde-utils-gtk-dev |
psychomaniak@19052 | 19 |
psychomaniak@19052 | 20 # Rules to configure and make the package. |
psychomaniak@19052 | 21 compile_rules() |
psychomaniak@19052 | 22 { |
psychomaniak@19052 | 23 rm -rf $src/.git |
psychomaniak@19052 | 24 sed 's/lxsession-logout/tazbox logout/' -i src/defaultapplications.c |
psychomaniak@19052 | 25 ./autogen.sh || return 1 |
psychomaniak@19052 | 26 ./configure \ |
psychomaniak@19052 | 27 --prefix=/usr \ |
psychomaniak@19052 | 28 --libexec=/usr/lib \ |
psychomaniak@19052 | 29 --sysconfdir=/etc \ |
psychomaniak@19052 | 30 --localstatedir=/var \ |
psychomaniak@19052 | 31 --disable-static \ |
psychomaniak@19052 | 32 --disable-maintainer-mode \ |
psychomaniak@19052 | 33 --enable-silent-rules \ |
psychomaniak@19052 | 34 $CONFIGURE_ARGS && |
psychomaniak@19052 | 35 make && |
psychomaniak@19052 | 36 make install |
psychomaniak@19052 | 37 } |
psychomaniak@19052 | 38 |
psychomaniak@19052 | 39 # Rules to gen a SliTaz package suitable for Tazpkg. |
psychomaniak@19052 | 40 genpkg_rules() |
psychomaniak@19052 | 41 { |
psychomaniak@19052 | 42 cp -a $install/* $fs |
psychomaniak@19052 | 43 mkdir -p $fs/etc/xdg/autostart |
psychomaniak@19052 | 44 cat > $fs/etc/xdg/autostart/waterline.desktop <<EOT |
psychomaniak@19052 | 45 [Desktop Entry] |
psychomaniak@19052 | 46 Type=Application |
psychomaniak@19052 | 47 Name=Waterline Desktop panel |
psychomaniak@19052 | 48 Exec=waterline |
psychomaniak@19052 | 49 EOT |
psychomaniak@19052 | 50 rm -rf $fs/usr/include |
psychomaniak@19052 | 51 rm -rf $fs/usr/lib/pkgconfig |
psychomaniak@19052 | 52 rm -r $fs/usr/lib/waterline/internals/*.la |
psychomaniak@19052 | 53 } |