SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "compiz-core"

# SliTaz package receipt.

PACKAGE="compiz-core"
VERSION="0.8.14"
CATEGORY="x-window"
SHORT_DESC="An OpenGL compositing manager for 3D effect."
MAINTAINER="pankso@slitaz.org"
LICENSE="MIT GPL LGPL"
WEB_SITE="https://github.com/compiz-reloaded"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="$WEB_SITE/compiz/archive/v$VERSION.tar.gz"

DEPENDS="compiz-bcop compiz-libcompizconfig dbus dbus-glib 
    librsvg libglu-mesa mesa libxslt startup-notification"
BUILD_DEPENDS="autoconf automake xz cairo-dev dbus-dev dbus-glib-dev 
    file intltool libcroco-dev librsvg-dev libtool libxslt-dev 
    mesa-dev pango-dev startup-notification-dev 
    util-linux-uuid-dev xcb-util-dev xorg-dev"

current_version()
{
    wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
    sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
}

# Rules to configure and make the package.
compile_rules()
{
    ./autogen.sh            \
        --prefix=/usr        \
        --enable-shared        \
        --enable-librsvg    \
        --enable-dbus        \
        --enable-dbus-glib    \
        --enable-glib        \
        --disable-static    \
        --disable-inotify
    make &&
    make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/lib
    mkdir -p $fs/usr/share/locale

    cp -a $install/usr/bin        $fs/usr
    cp -a $install/usr/lib/compiz    $fs/usr/lib
    rm -rf $fs/usr/lib/compiz/*.la
    cp -a $install/usr/lib/*.so*    $fs/usr/lib
    cp -a $install/usr/share/compiz    $fs/usr/share
    cp -a $install/usr/share/icons    $fs/usr/share

    # Set list of wanted locales in LOCALE_PACK
    . $WOK/slitaz-i18n/stuff/locale-pack.conf

    # Copy message files in wanted languages, if available
    for locale in $LOCALE_PACK
      do
        [ -d $install/usr/share/locale/$locale ] || continue
        cp -a $install/usr/share/locale/$locale $fs/usr/share/locale
      done

    sed 's|bash|sh|' -i $fs/usr/bin/compiz-decorator
}
6047 packages and 209931 files in current database (Wed Jun 26 15:35:30 2024)