SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "inkscape"

# SliTaz package receipt.

PACKAGE="inkscape"
VERSION="0.48.2"
CATEGORY="graphics"
SHORT_DESC="Vector drawing application."
MAINTAINER="pankso@slitaz.org"
DEPENDS="gc gtk+ libxslt libsigc++ glibmm gtkmm libxml2 libpng popt \
xorg-libXdamage gsl aspell libgiomm lcms gtkspell libgomp poppler gcc-lib-base \
gnome-vfs"
BUILD_DEPENDS="gc-dev gtk+-dev libxslt-dev libsigc++-dev glibmm-dev \
gtkmm-dev atkmm-dev popt-dev libgiomm-dev gsl gsl-dev lcms-dev gtkspell gtkspell-dev \
cairomm-dev libboost-dev libxml2-dev zlib-dev autoconf pkg-config intltool \
xorg-libXau-dev xorg-libXdmcp-dev"
TARBALL="$PACKAGE-$VERSION.tar.bz2"
WEB_SITE="http://www.inkscape.org/"
WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
TAGS="image vector editor svg"

# Rules to configure and make the package.
compile_rules()
{
    cd $src
    sed -i -e '\|^packaging/autopackage/default\.apspec$|d' configure.ac
#    InkBoard is now disabled by default, --enable-inkboard now exists
    
    ./configure \
        --prefix=/usr \
        --mandir=/usr/share/man \
        $CONFIGURE_ARGS &&
    make $MAKEFLAGS &&
    make DESTDIR=$DESTDIR install
}

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

    # Copy all Inkscape files and remove tutorials (19,2 Mb) + misc files
    cp -a $_pkg/usr/share/inkscape $fs/usr/share
    rm -rf $fs/usr/share/inkscape/clipart
    rm -rf $fs/usr/share/inkscape/tutorials
    rm -rf $fs/usr/share/inkscape/examples
    rm -rf $fs/usr/share/inkscape/screens/keys*
}
3382 packages and 430813 files in stable database (Mon Mar 4 17:53:49 2019)