wok view cairo-dock/receipt @ rev 12034

Add: perl-file-listing
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Wed Mar 07 01:22:53 2012 +0100 (2012-03-07)
parents 383ac462823b
children 2fe6f58d35b6
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 DEPENDS="gtk+ cairo librsvg xorg-xcompmgr mesa gtkglext dbus \
9 libcurl"
10 BUILD_DEPENDS="$DEPENDS cmake gtk+-dev cairo-dev librsvg-dev mesa-dev \
11 gtkglext-dev dbus-dev dbus-glib-dev curl-dev libcroco"
12 SUGGESTED="cairo-dock-plugins"
13 TARBALL="$PACKAGE-$VERSION.tar.gz"
14 WEB_SITE="http://www.glx-dock.org/"
15 WGET_URL="http://launchpad.net/cairo-dock-core/${VERSION:0:3}/${VERSION:0:5}/+download/$TARBALL"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 mkdir -p build && cd build
22 cmake .. -DCMAKE_INSTALL_PREFIX=/usr &&
23 make &&
24 make DESTDIR=$DESTDIR install &&
25 sed -i s/'.svg'/''/ $DESTDIR/usr/share/applications/*
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib $fs/usr/share/$PACKAGE
32 cp -a $_pkg/usr/bin $fs/usr
33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
34 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share
35 }