wok-current annotate cairo-dock/receipt @ rev 14789
Fix ownership and permissions for some files in some packages: adeskbar, ajaxterm, amsn, anacron, arora, asciiquarium, assaultcube-data, asterisk-sound-fr, asterisk-sound, attr-dev, attr, audacious, avidemux, awstats, bind-dev, binutils, blogotext, bootchart, btanks, bzip2-dev, c-client, cairo-dock.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Jul 08 11:45:27 2013 +0300 (2013-07-08) |
parents | 6b09507225ec |
children | 7d6089953592 |
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" |
al@14789 | 8 WEB_SITE="http://www.glx-dock.org/" |
al@14789 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@14789 | 10 WGET_URL="https://launchpad.net/cairo-dock-core/${VERSION:0:3}/${VERSION:0:5}/+download/$TARBALL" |
al@14789 | 11 |
al@14789 | 12 DEPENDS="gtk+ cairo librsvg xorg-xcompmgr mesa gtkglext dbus libcurl" |
pankso@7880 | 13 BUILD_DEPENDS="$DEPENDS cmake gtk+-dev cairo-dev librsvg-dev mesa-dev \ |
pascal@12631 | 14 gtkglext-dev dbus-dev dbus-glib-dev curl-dev libcroco wget libxml2-dev" |
pankso@7880 | 15 SUGGESTED="cairo-dock-plugins" |
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 |
pascal@12876 | 21 sed -i 's|<glib/g.*h>|<glib.h>|' src/gldit/cairo-dock-keybinder.h |
pankso@7880 | 22 mkdir -p build && cd build |
pankso@7880 | 23 cmake .. -DCMAKE_INSTALL_PREFIX=/usr && |
pankso@7880 | 24 make && |
slaxemulator@11076 | 25 make DESTDIR=$DESTDIR install && |
slaxemulator@11076 | 26 sed -i s/'.svg'/''/ $DESTDIR/usr/share/applications/* |
pankso@7880 | 27 } |
pankso@7880 | 28 |
pankso@7880 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@7880 | 30 genpkg_rules() |
pankso@7880 | 31 { |
pankso@7880 | 32 mkdir -p $fs/usr/lib $fs/usr/share/$PACKAGE |
pascal@13796 | 33 cp -a $install/usr/bin $fs/usr |
pascal@13796 | 34 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@13796 | 35 cp -a $install/usr/share/$PACKAGE $fs/usr/share |
al@14789 | 36 chmod a+x $fs/usr/lib/libgldi.so.2.4.0~2 |
pankso@7880 | 37 } |