rev |
line source |
pankso@7880
|
1 # SliTaz package receipt.
|
pankso@7880
|
2
|
pankso@7880
|
3 PACKAGE="cairo-dock-plugins"
|
slaxemulator@11077
|
4 VERSION="2.4.0~2"
|
pankso@7880
|
5 CATEGORY="x-window"
|
pankso@7880
|
6 SHORT_DESC="Set of plugins for Cairo-Dock."
|
pankso@7880
|
7 MAINTAINER="pankso@slitaz.org"
|
pascal@14997
|
8 LICENSE="GPL3"
|
pascal@14997
|
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
|
pascal@14997
|
10 WEB_SITE="http://www.glx-dock.org/"
|
pascal@14997
|
11 WGET_URL="https://launchpad.net/cairo-dock-plug-ins/${VERSION:0:3}/${VERSION:0:5}/+download/$TARBALL"
|
pascal@14997
|
12
|
gokhlayeh@8817
|
13 DEPENDS="dbus-glib cairo-dock"
|
pascal@12669
|
14 BUILD_DEPENDS="wget dbus-glib-dev cairo-dock-dev cmake alsa-lib \
|
pascal@10707
|
15 gtk+-dev cairo-dev librsvg-dev dbus-dev libxml2-dev gtkglext-dev mesa-dev"
|
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
|
pankso@7880
|
21 mkdir -p build && cd build
|
pankso@7880
|
22 cmake .. -DCMAKE_INSTALL_PREFIX=/usr &&
|
pankso@7880
|
23 make &&
|
pascal@10614
|
24 make DESTDIR=$DESTDIR install
|
pankso@7880
|
25 }
|
pankso@7880
|
26
|
pankso@7880
|
27 # Rules to gen a SliTaz package suitable for Tazpkg.
|
pankso@7880
|
28 genpkg_rules()
|
pankso@7880
|
29 {
|
pankso@7880
|
30 mkdir -p $fs/usr/lib $fs/usr/share
|
pascal@13796
|
31 cp -a $install/usr/lib $fs/usr
|
pascal@13796
|
32 cp -a $install/usr/share/cairo-dock $fs/usr/share
|
pankso@7880
|
33 }
|