SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "pango"

# SliTaz package receipt.

PACKAGE="pango"
VERSION="1.29.4"
CATEGORY="x-window"
SHORT_DESC="Library for layout and rendering of text."
MAINTAINER="pankso@slitaz.org"
TARBALL="$PACKAGE-$VERSION.tar.bz2"
WEB_SITE="http://www.pango.org/"
WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION:0:4}/$TARBALL"
CONFIG_FILES="/etc/pango/pango.modules"

DEPENDS="cairo glib expat libxml2 xorg-libXft fontconfig freetype xcb-util \
bzlib slitaz-base-files"
BUILD_DEPENDS="$DEPENDS cairo-dev glib-dev expat-dev libxml2-dev \
xorg-libXft-dev libgio-dev gobject-introspection-dev pkg-config"

# Rules to configure and make the package.
compile_rules()
{
    cd $src
    ./configure \
        --prefix=/usr \
        --sysconfdir=/etc \
        --mandir=/usr/share/man \
        --with-html-dir=/usr/share/doc \
        $CONFIGURE_ARGS &&
    make &&
    make DESTDIR=$DESTDIR install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/bin $fs/usr/lib
    cp -a $install/usr/bin/* $fs/usr/bin
    cp -a $install/usr/lib/*.so* $fs/usr/lib
    cp -a $install/usr/lib/pango $fs/usr/lib
    cp -a $install/usr/lib/girepository-1.0 $fs/usr/lib
    rm -rf $fs/usr/lib/pango/1.6.0/modules/*.la
    cp -a $install/etc $fs
    touch $fs/etc/pango/pango.modules
}

# Pre and post install commands for Tazpkg.
post_install()
{
    echo "Processing post-install commands..."
    # Rebuilds pango.modules when installed.
    chroot $1/ /usr/bin/pango-querymodules > $1/etc/pango/pango.modules
}

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