SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "perl-glib-object-introspection"

# SliTaz package receipt.

PACKAGE="perl-glib-object-introspection"
VERSION="0.049"
CATEGORY="development"
SHORT_DESC="Dynamically create Perl language bindings."
MAINTAINER="maintainer@slitaz.org"
LICENSE="GPL2+"
WEB_SITE="https://metacpan.org/dist/Glib-Object-Introspection/"
REPOLOGY="perl:glib-object-introspection"

SOURCE="Glib-Object-Introspection"
TARBALL="$SOURCE-$VERSION.tar.gz"
WGET_URL="https://cpan.metacpan.org/authors/id/X/XA/XAOC/$TARBALL"

DEPENDS="glib libxml2 perl-glib"
BUILD_DEPENDS="glib-dev gobject-introspection-dev libxml2-dev perl
    perl-extutils-depends perl-extutils-pkgconfig perl-glib"

# What is the latest version available today?
current_version()
{
    wget -O - $WEB_SITE 2>/dev/null | \
    sed '/bject-Introspection-/!d;s|.*bject-Introspection-||;s| -.*||;q'
}

# Rules to configure and make the package.
compile_rules()
{
    perl Makefile.PL &&
    make &&
    make install DESTDIR=$DESTDIR
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cook_copy_folders    lib
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)