SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "glib"

# SliTaz package receipt.

PACKAGE="glib"
VERSION="2.30.2"
CATEGORY="x-window"
SHORT_DESC="C routines."
MAINTAINER="pankso@slitaz.org"
TARBALL="$PACKAGE-$VERSION.tar.bz2"
WEB_SITE="http://www.gtk.org/"
WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION:0:4}/$TARBALL"

DEPENDS="libffi"
BUILD_DEPENDS="libffi-dev gettext zlib-dev perl python python-dev"

# Rules to configure and make the package.
compile_rules()
{
    cd $src
    # Fails on cross compile: use native i468 --build toolchain.
    ./configure --sysconfdir=/etc \
        --build=$HOST_SYSTEM --host=$HOST_SYSTEM &&
    make && make install
}

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