wok-next view cairo-dock/receipt @ rev 21017
Some maintenance
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Oct 16 16:46:05 2018 +0300 (2018-10-16) |
parents | fc8399b41cda |
children | d5aab818505e |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="cairo-dock"
4 VERSION="3.4.1"
5 CATEGORY="x-window"
6 SHORT_DESC="Light and eye-candy dock to launch"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL3"
9 WEB_SITE="http://www.glx-dock.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/Cairo-Dock/cairo-dock-core/releases/download/$VERSION/$TARBALL"
14 BUILD_DEPENDS="cmake glib-dev cairo-dev librsvg-dev dbus-dev dbus-glib-dev \
15 libxml2-dev mesa-dev glu-dev curl-dev xorg-libXtst-dev xorg-libXcomposite-dev \
16 xorg-libXrandr-dev gtk3-dev gettext"
17 SPLIT="$PACKAGE-dev"
19 compile_rules() {
20 mkdir build
21 cd build
22 cmake \
23 -DCMAKE_INSTALL_PREFIX=/usr \
24 .. &&
25 make &&
26 make install || return 1
28 chmod a+x $install/usr/lib/libgldi.so.$VERSION
29 }
31 genpkg_rules() {
32 case $PACKAGE in
33 cairo-dock)
34 copy @std
35 DEPENDS="cairo dbus-glib gdk-pixbuf glib glu gtk3 libcurl librsvg \
36 libxml2 mesa pango xorg-libX11 xorg-libXcomposite xorg-libXinerama \
37 xorg-libXrandr xorg-libXrender xorg-libXtst bash" # xorg-xcompmgr
38 SUGGESTED="cairo-dock-plugins"
39 ;;
40 *-dev)
41 copy @dev
42 DEPENDS="cairo-dock \
43 cairo-dev curl-dev dbus-dev dbus-glib-dev glib-dev glu-dev \
44 gtk3-dev librsvg-dev libxml2-dev mesa-dev wayland-dev \
45 xorg-libX11-dev xorg-libXcomposite-dev xorg-libXrandr-dev \
46 xorg-libXrender-dev xorg-libXtst-dev"
47 ;;
48 esac
49 }