# SliTaz package receipt. PACKAGE="perl-extutils-pkgconfig" SOURCE="ExtUtils-PkgConfig" VERSION="1.16" CATEGORY="development" SHORT_DESC="Simplistic interface to pkg-config" MAINTAINER="claudinei@slitaz.org" LICENSE="GPL" DEPENDS="perl pkg-config" BUILD_DEPENDS="perl pkg-config" TARBALL="$SOURCE-$VERSION.tar.gz" WEB_SITE="https://metacpan.org/release/ExtUtils-PkgConfig" WGET_URL="https://cpan.metacpan.org/authors/id/X/XA/XAOC/$TARBALL" current_version() { wget -O - $WEB_SITE 2>/dev/null | \ sed '/release-name/!d;s|.*-v*||;s|<.*||;q' } # Rules to configure and make the package. compile_rules() { perl Makefile.PL && make && make DESTDIR=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr cp -a $install/usr/lib $fs/usr }