# SliTaz package receipt. PACKAGE="perl-module-implementation" VERSION="0.09" CATEGORY="development" SHORT_DESC="Module::Implementation is a perl module" MAINTAINER="nneul@neulinger.org" LICENSE="GPL" WEB_SITE="https://metacpan.org/release/Module-Implementation" SOURCE="Module-Implementation" TARBALL="$SOURCE-$VERSION.tar.gz" WGET_URL="http://www.cpan.org/authors/id/D/DR/DROLSKY/$TARBALL" DEPENDS="perl perl-test-requires perl-module-runtime" BUILD_DEPENDS="$DEPENDS" 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() { cd $src perl Makefile.PL && make && make DESTDIR=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { cp -a $install/usr $fs }