SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "libgnomecanvas"

# SliTaz package receipt.

PACKAGE="libgnomecanvas"
VERSION="2.30.3"
CATEGORY="x-window"
SHORT_DESC="GNOME canvas library"
MAINTAINER="pankso@slitaz.org"
TARBALL="$PACKAGE-$VERSION.tar.bz2"
WEB_SITE="http://www.gnome.org/"
WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"

DEPENDS="gtk+ libglade libart_lgpl xorg-libXdamage xorg-libXcursor"
BUILD_DEPENDS="gtk+-dev libglade-dev libart_lgpl-dev xorg-libXcursor-dev \
intltool"

# Rules to configure and make the package.
compile_rules()
{
    cd $src
    ./configure \
        --with-html-dir=/usr/share/doc \
        --enable-glade \
        $CONFIGURE_ARGS &&
    make && make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/lib $fs/usr/share/locale
    
    # Copy shared libs
    cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    cp -a $_pkg/usr/lib/libglade $fs/usr/lib
    
    cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
    
    # Remove static libs
    rm $fs/usr/lib/libglade/*/*.*a
}

3382 packages and 430813 files in stable database (Mon Mar 4 17:53:49 2019)