# SliTaz package receipt. PACKAGE="perl-image-librsvg" VERSION="0.07" CATEGORY="development" SHORT_DESC="Image::LibRSVG module is a Perl extension." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL" SOURCE="Image-LibRSVG" TARBALL="$SOURCE-$VERSION.tar.gz" WEB_SITE="https://metacpan.org/release/Image-LibRSVG" WGET_URL="https://cpan.metacpan.org/authors/id/T/TO/TOMSON/$TARBALL" DEPENDS="perl librsvg" BUILD_DEPENDS="wget perl librsvg-dev" 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 install DESTDIR=$DESTDIR } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr cp -a $install/usr/lib $fs/usr }