wok-next view cairo-dock/receipt @ rev 20636
Fix "can't execute '/usr/bin/update-mime-database': No such file or directory"
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 27 15:12:17 2018 +0300 (2018-04-27) |
parents | c0521c689857 |
children | b156aee559a7 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="cairo-dock"
4 VERSION="3.3.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://github.com/Cairo-Dock/cairo-dock-core/archive/$VERSION.tar.gz"
13 BUILD_DEPENDS="gtk+ cairo librsvg xorg-xcompmgr mesa gtkglext dbus libcurl \
14 cmake gtk+-dev cairo-dev librsvg-dev mesa-dev \
15 gtkglext-dev dbus-dev dbus-glib-dev curl-dev libcroco wget libxml2-dev \
16 xorg-libXtst-dev xorg-libXcomposite-dev glu-dev gettext-tools"
17 SPLIT="cairo-dock cairo-dock-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 mkdir -p build && cd build
23 cmake .. -DCMAKE_INSTALL_PREFIX=/usr &&
24 make &&
25 make DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 case $PACKAGE in
32 cairo-dock)
33 DEPENDS="gtk+ cairo librsvg xorg-xcompmgr mesa gtkglext dbus libcurl"
34 SUGGESTED="cairo-dock-plugins"
35 mkdir -p $fs/usr/lib $fs/usr/share/$PACKAGE
36 cp -a $install/usr/bin $fs/usr
37 cp -a $install/usr/lib/*.so* $fs/usr/lib
38 cp -a $install/usr/share/$PACKAGE $fs/usr/share
39 ;;
40 cairo-dock-dev)
41 CAT="x-window|Cairo dock devel file."
42 DEPENDS="cairo-dock gtk+-dev dbus-dev curl-dev \
43 glu-dev mesa-dev libxml2-dev glib-dev \
44 dbus-glib-dev glib-dev librsvg-dev xorg-libX11-dev"
45 mkdir -p $fs/usr/lib
46 #cp -a $install/usr/lib/*.*a $fs/usr/lib
47 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
48 cp -a $install/usr/include $fs/usr
49 ;;
50 esac
51 }