wok view 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 |
line source
1 # SliTaz package receipt.
3 PACKAGE="cairo-dock"
4 VERSION="2.4.0~2"
5 CATEGORY="x-window"
6 SHORT_DESC="Cairo-Dock is a light and eye-candy dock to launch."
7 MAINTAINER="pankso@slitaz.org"
8 WEB_SITE="http://www.glx-dock.org/"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WGET_URL="https://launchpad.net/cairo-dock-core/${VERSION:0:3}/${VERSION:0:5}/+download/$TARBALL"
12 DEPENDS="gtk+ cairo librsvg xorg-xcompmgr mesa gtkglext dbus libcurl"
13 BUILD_DEPENDS="$DEPENDS cmake gtk+-dev cairo-dev librsvg-dev mesa-dev \
14 gtkglext-dev dbus-dev dbus-glib-dev curl-dev libcroco wget libxml2-dev"
15 SUGGESTED="cairo-dock-plugins"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 sed -i 's|<glib/g.*h>|<glib.h>|' src/gldit/cairo-dock-keybinder.h
22 mkdir -p build && cd build
23 cmake .. -DCMAKE_INSTALL_PREFIX=/usr &&
24 make &&
25 make DESTDIR=$DESTDIR install &&
26 sed -i s/'.svg'/''/ $DESTDIR/usr/share/applications/*
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib $fs/usr/share/$PACKAGE
33 cp -a $install/usr/bin $fs/usr
34 cp -a $install/usr/lib/*.so* $fs/usr/lib
35 cp -a $install/usr/share/$PACKAGE $fs/usr/share
36 chmod a+x $fs/usr/lib/libgldi.so.2.4.0~2
37 }