wok annotate cairo-dock/receipt @ rev 23488
updated python-gdata (2.0.16 -> 2.0.18)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Apr 05 17:27:30 2020 +0100 (2020-04-05) |
parents | 7d6089953592 |
children | afae00265386 |
rev | line source |
---|---|
pankso@7880 | 1 # SliTaz package receipt. |
pankso@7880 | 2 |
pankso@7880 | 3 PACKAGE="cairo-dock" |
Hans-G?nter@22578 | 4 VERSION="3.4.1" |
pankso@7880 | 5 CATEGORY="x-window" |
Hans-G?nter@22578 | 6 SHORT_DESC="A light and eye-candy dock to launch." |
pankso@7880 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@14997 | 8 LICENSE="GPL3" |
al@14789 | 9 WEB_SITE="http://www.glx-dock.org/" |
Hans-G?nter@22578 | 10 |
al@14789 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@22578 | 12 WGET_URL="https://launchpad.net/cairo-dock-core/${VERSION%.*}/$VERSION/+download/$TARBALL" |
al@14789 | 13 |
pankso@7880 | 14 SUGGESTED="cairo-dock-plugins" |
Hans-G?nter@22578 | 15 DEPENDS="cairo dbus gtk+ gtkglext libcurl librsvg mesa xorg-xcompmgr" |
Hans-G?nter@22578 | 16 BUILD_DEPENDS="cairo-dev cmake curl-dev dbus-dev dbus-glib-dev gtk+3-dev |
Hans-G?nter@22578 | 17 gtkglext-dev libcroco librsvg-dev libxml2-dev mesa-dev wayland-dev" |
pankso@7880 | 18 |
pankso@7880 | 19 # Rules to configure and make the package. |
pankso@7880 | 20 compile_rules() |
pankso@7880 | 21 { |
Hans-G?nter@22578 | 22 sed -i 's|<glib/g.*h>|<glib.h>|' \ |
Hans-G?nter@22578 | 23 src/gldit/cairo-dock-keybinder.h |
Hans-G?nter@22578 | 24 |
Hans-G?nter@22578 | 25 mkdir -p build && |
Hans-G?nter@22578 | 26 cd build && |
pankso@7880 | 27 cmake .. -DCMAKE_INSTALL_PREFIX=/usr && |
pankso@7880 | 28 make && |
slaxemulator@11076 | 29 make DESTDIR=$DESTDIR install && |
Hans-G?nter@22578 | 30 |
slaxemulator@11076 | 31 sed -i s/'.svg'/''/ $DESTDIR/usr/share/applications/* |
pankso@7880 | 32 } |
pankso@7880 | 33 |
pankso@7880 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@7880 | 35 genpkg_rules() |
pankso@7880 | 36 { |
Hans-G?nter@22578 | 37 mkdir -p $fs/usr/lib |
Hans-G?nter@22578 | 38 mkdir -p $fs/usr/share/$PACKAGE |
Hans-G?nter@22578 | 39 |
Hans-G?nter@22578 | 40 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@22578 | 41 cp -a $install/usr/lib/*.so* $fs/usr/lib |
Hans-G?nter@22578 | 42 cp -a $install/usr/share/$PACKAGE $fs/usr/share |
Hans-G?nter@22578 | 43 chmod a+x $fs/usr/lib/libgldi.so.$VERSION |
pankso@7880 | 44 } |