wok-next annotate perl-xml-sax-expat/receipt @ rev 21545

updated cgames (2.2 -> 2.2b)
author Hans-G?nter Theisgen
date Sun Jun 21 17:35:44 2020 +0100 (2020-06-21)
parents d5aab818505e
children
rev   line source
al@21068 1 # SliTaz package receipt v2.
al@19709 2
al@21068 3 ORIGIN="XML-SAX-Expat"
al@19709 4 PACKAGE="perl-xml-sax-expat"
al@19709 5 VERSION="0.51"
al@21068 6 AUTHOR="BJOERN"
al@19709 7 CATEGORY="perl"
al@19709 8 SHORT_DESC="XML::SAX::Expat - SAX2 Driver for Expat (XML::Parser)"
al@19709 9 MAINTAINER="al.bobylev@gmail.com"
al@19709 10 LICENSE="GPL"
al@21068 11 WEB_SITE="https://metacpan.org/release/$ORIGIN"
al@21068 12 HOST_ARCH="any"
al@21068 13 REPOLOGY="${PACKAGE/-/:}"
al@19709 14
al@21068 15 TARBALL="$ORIGIN-$VERSION.tar.gz"
al@21068 16 WGET_URL="https://cpan.metacpan.org/authors/id/${AUTHOR:0:1}/${AUTHOR:0:2}/$AUTHOR/$TARBALL"
al@19709 17
al@21068 18 DEPENDS_std="perl-xml-namespacesupport perl-xml-parser perl-xml-sax \
al@19709 19 perl-xml-sax-base"
al@21068 20 BUILD_DEPENDS="$DEPENDS_std"
al@19709 21
al@21020 22 compile_rules() {
al@21068 23 # keep installing to / and then to $install
al@21068 24 PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor &&
al@21068 25 make -j1 &&
al@21068 26 make -j1 PERL_MM_USE_DEFAULT=1 install &&
al@21068 27 make -j1 PERL_MM_USE_DEFAULT=1 DESTDIR=$install install &&
al@19709 28
al@19709 29 chmod -R u+w $install
al@19709 30 }