wok annotate cairo-dock-plugins/receipt @ rev 25413
updated wkhtmltopdf (0.12.5 -> 0.12.6)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Aug 04 08:30:32 2022 +0100 (2022-08-04) |
parents | 613b75574469 |
children | fe1b5660fdd1 |
rev | line source |
---|---|
pankso@7880 | 1 # SliTaz package receipt. |
pankso@7880 | 2 |
pankso@7880 | 3 PACKAGE="cairo-dock-plugins" |
Hans-G?nter@22578 | 4 VERSION="3.4.1" |
pankso@7880 | 5 CATEGORY="x-window" |
pankso@7880 | 6 SHORT_DESC="Set of plugins for Cairo-Dock." |
pankso@7880 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@14997 | 8 LICENSE="GPL3" |
Hans-G?nter@22578 | 9 WEB_SITE="http://www.glx-dock.org/" |
Hans-G?nter@22578 | 10 |
pascal@14997 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@22578 | 12 WGET_URL="https://github.com/Cairo-Dock/cairo-dock-plug-ins/releases/download/$VERSION/cairo-dock-plug-ins-$VERSION.tar.gz" |
pascal@14997 | 13 |
Hans-G?nter@22578 | 14 DEPENDS="cairo-dock dbus-glib libcurl" |
Hans-G?nter@22578 | 15 BUILD_DEPENDS="alsa-lib cairo-dev cairo-dock-dev cmake curl-dev |
Hans-G?nter@22578 | 16 dbus-dev dbus-glib-dev gtk+3-dev gtkglext-dev librsvg-dev |
Hans-G?nter@22578 | 17 libxml2-dev mesa-dev wayland-dev" |
pankso@7880 | 18 |
pascal@24055 | 19 current_version() |
pascal@24055 | 20 { |
pascal@24055 | 21 wget -O - ${WGET_URL%/down*} 2>/dev/null | \ |
pascal@24055 | 22 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q' |
pascal@24055 | 23 } |
pascal@24055 | 24 |
pankso@7880 | 25 # Rules to configure and make the package. |
pankso@7880 | 26 compile_rules() |
pankso@7880 | 27 { |
Hans-G?nter@22578 | 28 mkdir -p build && |
Hans-G?nter@22578 | 29 cd build && |
pankso@7880 | 30 cmake .. -DCMAKE_INSTALL_PREFIX=/usr && |
pankso@7880 | 31 make && |
pascal@10614 | 32 make DESTDIR=$DESTDIR install |
pankso@7880 | 33 } |
pankso@7880 | 34 |
pankso@7880 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@7880 | 36 genpkg_rules() |
pankso@7880 | 37 { |
Hans-G?nter@22578 | 38 mkdir -p $fs/usr/lib |
Hans-G?nter@22578 | 39 mkdir -p $fs/usr/share |
Hans-G?nter@22578 | 40 |
Hans-G?nter@22578 | 41 cp -a $install/usr/lib $fs/usr |
Hans-G?nter@22578 | 42 cp -a $install/usr/share/cairo-dock $fs/usr/share |
pankso@7880 | 43 } |