wok-next view cairo-dock-plugins/receipt @ rev 8799
(try to) fix dmraid compile_rules()
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Wed Feb 23 00:17:31 2011 +0100 (2011-02-23) |
parents | |
children | 3e15b4d334a9 |
line source
1 # SliTaz package receipt.
3 PACKAGE="cairo-dock-plugins"
4 VERSION="2.2.0-4"
5 CATEGORY="x-window"
6 SHORT_DESC="Set of plugins for Cairo-Dock."
7 MAINTAINER="pankso@slitaz.org"
8 #DEPENDS="cairo-dock"
9 BUILD_DEPENDS="cairo-dock-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.glx-dock.org/"
12 WGET_URL="http://launchpad.net/cairo-dock-plug-ins/2.2/2.2.0/+download/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 mkdir -p build && cd build
19 cmake .. -DCMAKE_INSTALL_PREFIX=/usr &&
20 make &&
21 make DESTDIR=$src/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/lib $fs/usr/share
28 cp -a $_pkg/usr/lib $fs/usr
29 cp -a $_pkg/usr/share/cairo-dock $fs/usr/share
30 }