wok-next view cairo-dock-plugins/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | f48456621a9d |
children | 5669e8b3be70 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="cairo-dock-plugins"
4 VERSION="3.4.1"
5 CATEGORY="x-window"
6 SHORT_DESC="Plugins for Cairo-Dock"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL3"
9 WEB_SITE="http://www.glx-dock.org/"
11 TARBALL="cairo-dock-plug-ins-$VERSION.tar.gz"
12 WGET_URL="https://github.com/Cairo-Dock/cairo-dock-plug-ins/releases/download/$VERSION/$TARBALL"
14 BUILD_DEPENDS="cmake cairo-dock-dev gettext-dev libdbusmenu-gtk3-dev \
15 libindicator-gtk3-dev upower-dev alsa-lib-dev libical-dev python3 ruby \
16 ruby-stdlib mono vala pulseaudio-dev fftw-dev libxklavier-dev libetpan-dev \
17 libzeitgeist-dev libexif-dev lm-sensors-dev vte-dev "
18 SPLIT="$PACKAGE-python $PACKAGE-python3 $PACKAGE-ruby $PACKAGE $PACKAGE-dev"
20 compile_rules() {
21 sed -i 's|gmcs|mcs|' CMakeLists.txt
23 mkdir build
24 cd build
25 cmake \
26 -DCMAKE_INSTALL_PREFIX=/usr \
27 .. &&
28 make &&
29 make install
30 }
32 genpkg_rules() {
33 case $PACKAGE in
34 *-python)
35 copy python2*/
36 CAT="python|Python2 bindings"
37 DEPENDS="cairo-dock-plugins python"
38 ;;
39 *-python3)
40 copy python3*/
41 CAT="python|Python3 bindings"
42 DEPENDS="cairo-dock-plugins python3"
43 ;;
44 *-ruby)
45 copy ruby/
46 CAT="ruby|Ruby bindings"
47 DEPENDS="cairo-dock-plugins ruby"
48 ;;
49 *-dev)
50 copy @dev
51 DEPENDS="cairo-dock-plugins glib-dev"
52 ;;
53 *)
54 copy @std @rm
55 DEPENDS="alsa-lib cairo dbus-glib fftw gdk-pixbuf glib gtk3 \
56 libdbusmenu-gtk3 libetpan libexif libical libindicator-gtk3 \
57 librsvg libxklavier libxml2 libzeitgeist lm-sensors mesa pango \
58 pulseaudio upower vte xorg-libX11 xorg-libXrandr xorg-libXxf86vm"
59 ;;
60 esac
61 }