wok view cairo-dock/receipt @ rev 18915
Add: GNU Unifont UTF-8. Tag: TrueType. GPL2 License.
author | Leonardo Laporte <hackdorte@sapo.pt> |
---|---|
date | Wed Feb 24 06:53:25 2016 -0300 (2016-02-24) |
parents | a7b54d88ae54 |
children | 613b75574469 |
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 LICENSE="GPL3"
9 WEB_SITE="http://www.glx-dock.org/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="https://launchpad.net/cairo-dock-core/${VERSION:0:3}/${VERSION:0:5}/+download/$TARBALL"
13 DEPENDS="gtk+ cairo librsvg xorg-xcompmgr mesa gtkglext dbus libcurl"
14 BUILD_DEPENDS="$DEPENDS cmake gtk+-dev cairo-dev librsvg-dev mesa-dev \
15 gtkglext-dev dbus-dev dbus-glib-dev curl-dev libcroco wget libxml2-dev"
16 SUGGESTED="cairo-dock-plugins"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 sed -i 's|<glib/g.*h>|<glib.h>|' src/gldit/cairo-dock-keybinder.h
23 mkdir -p build && cd build
24 cmake .. -DCMAKE_INSTALL_PREFIX=/usr &&
25 make &&
26 make DESTDIR=$DESTDIR install &&
27 sed -i s/'.svg'/''/ $DESTDIR/usr/share/applications/*
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib $fs/usr/share/$PACKAGE
34 cp -a $install/usr/bin $fs/usr
35 cp -a $install/usr/lib/*.so* $fs/usr/lib
36 cp -a $install/usr/share/$PACKAGE $fs/usr/share
37 chmod a+x $fs/usr/lib/libgldi.so.2.4.0~2
38 }