wok-6.x view cairo-dock/receipt @ rev 23767
updated firefox-official packages (75.0 -> 76.0)
author | Hans-G?nter Theisgen |
---|---|
date | Sat May 09 11:07:16 2020 +0100 (2020-05-09) |
parents | 7d6089953592 |
children | afae00265386 |
line source
1 # SliTaz package receipt.
3 PACKAGE="cairo-dock"
4 VERSION="3.4.1"
5 CATEGORY="x-window"
6 SHORT_DESC="A light and eye-candy dock to launch."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="http://www.glx-dock.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://launchpad.net/cairo-dock-core/${VERSION%.*}/$VERSION/+download/$TARBALL"
14 SUGGESTED="cairo-dock-plugins"
15 DEPENDS="cairo dbus gtk+ gtkglext libcurl librsvg mesa xorg-xcompmgr"
16 BUILD_DEPENDS="cairo-dev cmake curl-dev dbus-dev dbus-glib-dev gtk+3-dev
17 gtkglext-dev libcroco librsvg-dev libxml2-dev mesa-dev wayland-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 sed -i 's|<glib/g.*h>|<glib.h>|' \
23 src/gldit/cairo-dock-keybinder.h
25 mkdir -p build &&
26 cd build &&
27 cmake .. -DCMAKE_INSTALL_PREFIX=/usr &&
28 make &&
29 make DESTDIR=$DESTDIR install &&
31 sed -i s/'.svg'/''/ $DESTDIR/usr/share/applications/*
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib
38 mkdir -p $fs/usr/share/$PACKAGE
40 cp -a $install/usr/bin $fs/usr
41 cp -a $install/usr/lib/*.so* $fs/usr/lib
42 cp -a $install/usr/share/$PACKAGE $fs/usr/share
43 chmod a+x $fs/usr/lib/libgldi.so.$VERSION
44 }