wok-current view cairo-dock-plugins/receipt @ rev 13818
tazbug-website: fix genpkg_rules (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jan 06 18:21:06 2013 +0100 (2013-01-06) |
parents | fcbade2677f7 |
children | 7d6089953592 |
line source
1 # SliTaz package receipt.
3 PACKAGE="cairo-dock-plugins"
4 VERSION="2.4.0~2"
5 CATEGORY="x-window"
6 SHORT_DESC="Set of plugins for Cairo-Dock."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="dbus-glib cairo-dock"
9 BUILD_DEPENDS="wget dbus-glib-dev cairo-dock-dev cmake alsa-lib \
10 gtk+-dev cairo-dev librsvg-dev dbus-dev libxml2-dev gtkglext-dev mesa-dev"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WEB_SITE="http://www.glx-dock.org/"
13 WGET_URL="https://launchpad.net/cairo-dock-plug-ins/${VERSION:0:3}/${VERSION:0:5}/+download/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 mkdir -p build && cd build
20 cmake .. -DCMAKE_INSTALL_PREFIX=/usr &&
21 make &&
22 make DESTDIR=$DESTDIR install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/lib $fs/usr/share
29 cp -a $install/usr/lib $fs/usr
30 cp -a $install/usr/share/cairo-dock $fs/usr/share
31 }