wok-next annotate perl-lwp-mediatypes/receipt @ rev 19743

Remake/fix: alsa-lib, alsaplayer; update base (LFS) packages: bash, binutils, bison, bzip2, diffutils, file, findutils, gawk, gcc, gettext, glibc, gmp, m4, mpc-library, mpfr, ncurses, patch, xz; update: tazpkg, cookutils, svgcleaner.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Jun 06 17:37:54 2017 +0300 (2017-06-06)
parents 2d12ebd38be4
children 0e7893ac206d
rev   line source
slaxemulator@11842 1 # SliTaz package receipt.
slaxemulator@11842 2
slaxemulator@11842 3 PACKAGE="perl-lwp-mediatypes"
slaxemulator@11842 4 VERSION="6.02"
al@19709 5 CATEGORY="perl"
al@19709 6 SHORT_DESC="LWP::MediaTypes - guess media type for a file or a URL"
slaxemulator@11842 7 MAINTAINER="slaxemulator@gmail.com"
pascal@14702 8 LICENSE="GPL"
al@19709 9 WEB_SITE="https://metacpan.org/release/LWP-MediaTypes"
al@19709 10
al@19709 11 TARBALL="LWP-MediaTypes-$VERSION.tar.gz"
al@19709 12 WGET_URL="https://cpan.metacpan.org/authors/id/G/GA/GAAS/$TARBALL"
slaxemulator@11842 13
slaxemulator@11842 14 DEPENDS="perl"
slaxemulator@11842 15 BUILD_DEPENDS="perl"
slaxemulator@11842 16
slaxemulator@11842 17 # Rules to configure and make the package.
slaxemulator@11842 18 compile_rules()
slaxemulator@11842 19 {
slaxemulator@11842 20 perl Makefile.PL &&
al@19709 21 make && make DESTDIR=$install install &&
al@19709 22
al@19709 23 chmod -R u+w $install
slaxemulator@11842 24 }
slaxemulator@11842 25
slaxemulator@11842 26 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@11842 27 genpkg_rules()
slaxemulator@11842 28 {
al@19709 29 copy @std
slaxemulator@11842 30 }