SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "gobject-introspection"

# SliTaz package receipt.

PACKAGE="gobject-introspection"
VERSION="1.30.0"
CATEGORY="x-window"
SHORT_DESC="Introspection system for GObject-based libraries."
DEPENDS="libgio glib libffi python"
BUILD_DEPENDS="glib-dev libgio-dev pkg-config bison flex libffi-dev python-dev cairo-dev"
MAINTAINER="pankso@slitaz.org"
TARBALL="$PACKAGE-$VERSION.tar.bz2"
WEB_SITE="http://live.gnome.org/GObjectInstrospection"
WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION:0:4}/$TARBALL"

# Rules to configure and make the package.
compile_rules()
{
    cd $src
    sed -i "s/.*self._linker_cmd,.*/&\n        if libtool:\n            args.append('-export-dynamic')/" giscanner/dumper.py
    ./configure \
        --prefix=/usr \
        --sysconfdir=/etc \
        --disable-static \
        $CONFIGURE_ARGS &&
    make &&
    make install
}

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