wok-next annotate cairo-dock/receipt @ rev 20153
syslinux: receipt v2
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Nov 01 15:14:00 2017 +0100 (2017-11-01) |
parents | 4c8be7d9d5fc |
children | c0521c689857 |
rev | line source |
---|---|
pascal@20138 | 1 # SliTaz package receipt v2. |
pankso@7880 | 2 |
pankso@7880 | 3 PACKAGE="cairo-dock" |
pascal@20138 | 4 VERSION="3.3.2" |
pankso@7880 | 5 CATEGORY="x-window" |
pankso@7880 | 6 SHORT_DESC="Cairo-Dock is a light and eye-candy dock to launch." |
pankso@7880 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@14997 | 8 LICENSE="GPL3" |
al@14789 | 9 WEB_SITE="http://www.glx-dock.org/" |
al@14789 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@20138 | 11 WGET_URL="https://github.com/Cairo-Dock/cairo-dock-core/archive/$VERSION.tar.gz" |
al@14789 | 12 |
pascal@20138 | 13 BUILD_DEPENDS="gtk+ cairo librsvg xorg-xcompmgr mesa gtkglext dbus libcurl \ |
pascal@20138 | 14 cmake gtk+-dev cairo-dev librsvg-dev mesa-dev \ |
pascal@20011 | 15 gtkglext-dev dbus-dev dbus-glib-dev curl-dev libcroco wget libxml2-dev \ |
pascal@20011 | 16 xorg-libXtst-dev xorg-libXcomposite-dev libglu-mesa-dev gettext-tools" |
pascal@20138 | 17 SPLIT="cairo-dock cairo-dock-dev" |
pankso@7880 | 18 |
pankso@7880 | 19 # Rules to configure and make the package. |
pankso@7880 | 20 compile_rules() |
pankso@7880 | 21 { |
pankso@7880 | 22 mkdir -p build && cd build |
pankso@7880 | 23 cmake .. -DCMAKE_INSTALL_PREFIX=/usr && |
pankso@7880 | 24 make && |
pascal@20138 | 25 make DESTDIR=$DESTDIR install |
pankso@7880 | 26 } |
pankso@7880 | 27 |
pankso@7880 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@7880 | 29 genpkg_rules() |
pankso@7880 | 30 { |
pascal@20138 | 31 case $PACKAGE in |
pascal@20138 | 32 cairo-dock) |
pascal@20138 | 33 DEPENDS="gtk+ cairo librsvg xorg-xcompmgr mesa gtkglext dbus libcurl" |
pascal@20138 | 34 SUGGESTED="cairo-dock-plugins" |
pascal@20138 | 35 mkdir -p $fs/usr/lib $fs/usr/share/$PACKAGE |
pascal@20138 | 36 cp -a $install/usr/bin $fs/usr |
pascal@20138 | 37 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@20138 | 38 cp -a $install/usr/share/$PACKAGE $fs/usr/share |
pascal@20138 | 39 ;; |
pascal@20138 | 40 cairo-dock-dev) |
pascal@20138 | 41 CAT="x-window|Cairo dock devel file." |
pascal@20141 | 42 DEPENDS="cairo-dock pkg-config gtk+-dev dbus-dev curl-dev \ |
pascal@20141 | 43 libglu-mesa-dev mesa-dev libxml2-dev glib-dev \ |
pascal@20141 | 44 dbus-glib-dev glib-dev librsvg-dev xorg-libX11-dev" |
pascal@20138 | 45 mkdir -p $fs/usr/lib |
pascal@20138 | 46 #cp -a $install/usr/lib/*.*a $fs/usr/lib |
pascal@20138 | 47 cp -a $install/usr/lib/pkgconfig $fs/usr/lib |
pascal@20138 | 48 cp -a $install/usr/include $fs/usr |
pascal@20138 | 49 ;; |
pascal@20138 | 50 esac |
pankso@7880 | 51 } |