SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "cairo-dock"

# SliTaz package receipt.

PACKAGE="cairo-dock"
VERSION="2.4.0~2"
CATEGORY="x-window"
SHORT_DESC="Cairo-Dock is a light and eye-candy dock to launch."
MAINTAINER="pankso@slitaz.org"
DEPENDS="gtk+ cairo librsvg xorg-xcompmgr mesa gtkglext dbus \
libcurl"
BUILD_DEPENDS="$DEPENDS cmake gtk+-dev cairo-dev librsvg-dev mesa-dev \
gtkglext-dev dbus-dev dbus-glib-dev curl-dev libcroco"
SUGGESTED="cairo-dock-plugins"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://www.glx-dock.org/"
WGET_URL="http://launchpad.net/cairo-dock-core/${VERSION:0:3}/${VERSION:0:5}/+download/$TARBALL"

# Rules to configure and make the package.
compile_rules()
{
    cd $src
    mkdir -p build && cd build
    cmake .. -DCMAKE_INSTALL_PREFIX=/usr &&
    make &&
    make DESTDIR=$DESTDIR install &&
    sed -i s/'.svg'/''/ $DESTDIR/usr/share/applications/*
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/lib $fs/usr/share/$PACKAGE
    cp -a $_pkg/usr/bin $fs/usr
    cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share
}
3382 packages and 430813 files in stable database (Mon Mar 4 17:53:49 2019)