# SliTaz package receipt. PACKAGE="perl-lwp-mediatypes" VERSION="6.02" CATEGORY="development" SHORT_DESC="guess media type for a file or a URL" MAINTAINER="slaxemulator@gmail.com" WEB_SITE="http://search.cpan.org/dist/LWP-MediaTypes" SOURCE="LWP-MediaTypes" TARBALL="$SOURCE-$VERSION.tar.gz" WGET_URL="http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/$TARBALL" DEPENDS="perl" BUILD_DEPENDS="perl" # 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/* $fs }