wok-stable annotate cairo-dock/receipt @ rev 12459
lives: fix symlink (thanks I-Jurij)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Apr 28 08:19:20 2017 +0200 (2017-04-28) |
parents | 383ac462823b |
children |
rev | line source |
---|---|
pankso@7880 | 1 # SliTaz package receipt. |
pankso@7880 | 2 |
pankso@7880 | 3 PACKAGE="cairo-dock" |
slaxemulator@11076 | 4 VERSION="2.4.0~2" |
pankso@7880 | 5 CATEGORY="x-window" |
pankso@7880 | 6 SHORT_DESC="Cairo-Dock is a light and eye-candy dock to launch." |
pankso@7880 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@7880 | 8 DEPENDS="gtk+ cairo librsvg xorg-xcompmgr mesa gtkglext dbus \ |
pankso@7880 | 9 libcurl" |
pankso@7880 | 10 BUILD_DEPENDS="$DEPENDS cmake gtk+-dev cairo-dev librsvg-dev mesa-dev \ |
pascal@11524 | 11 gtkglext-dev dbus-dev dbus-glib-dev curl-dev libcroco" |
pankso@7880 | 12 SUGGESTED="cairo-dock-plugins" |
pankso@7880 | 13 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@7880 | 14 WEB_SITE="http://www.glx-dock.org/" |
slaxemulator@11076 | 15 WGET_URL="http://launchpad.net/cairo-dock-core/${VERSION:0:3}/${VERSION:0:5}/+download/$TARBALL" |
pankso@7880 | 16 |
pankso@7880 | 17 # Rules to configure and make the package. |
pankso@7880 | 18 compile_rules() |
pankso@7880 | 19 { |
pankso@7880 | 20 cd $src |
pankso@7880 | 21 mkdir -p build && cd build |
pankso@7880 | 22 cmake .. -DCMAKE_INSTALL_PREFIX=/usr && |
pankso@7880 | 23 make && |
slaxemulator@11076 | 24 make DESTDIR=$DESTDIR install && |
slaxemulator@11076 | 25 sed -i s/'.svg'/''/ $DESTDIR/usr/share/applications/* |
pankso@7880 | 26 } |
pankso@7880 | 27 |
pankso@7880 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@7880 | 29 genpkg_rules() |
pankso@7880 | 30 { |
pankso@7880 | 31 mkdir -p $fs/usr/lib $fs/usr/share/$PACKAGE |
pankso@7880 | 32 cp -a $_pkg/usr/bin $fs/usr |
pankso@7880 | 33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@7880 | 34 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share |
pankso@7880 | 35 } |