wok-next annotate perl-xml-sax/receipt @ rev 21727
created recipe for vbindiff
author | Hans-G?nter Theisgen |
---|---|
date | Sat Nov 21 14:32:44 2020 +0100 (2020-11-21) |
parents | 4e6503d7a19f |
children |
rev | line source |
---|---|
al@20095 | 1 # SliTaz package receipt v2. |
al@19709 | 2 |
al@21068 | 3 ORIGIN="XML-SAX" |
al@19709 | 4 PACKAGE="perl-xml-sax" |
al@20820 | 5 VERSION="1.00" |
al@21068 | 6 AUTHOR="GRANTM" |
al@19709 | 7 CATEGORY="perl" |
al@19709 | 8 SHORT_DESC="XML::SAX - Simple API for XML" |
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-sax-base" |
al@21068 | 19 BUILD_DEPENDS="$DEPENDS_std" |
al@19709 | 20 |
al@20095 | 21 compile_rules() { |
al@19709 | 22 # Please keep `make -j1 install` to FS before installing to the DESTDIR |
al@19709 | 23 perl Makefile.PL && |
al@20095 | 24 make -j1 install && |
al@20095 | 25 make -j1 DESTDIR=$install install || return 1 |
al@19709 | 26 |
al@19709 | 27 chmod -R u+w $install |
al@20460 | 28 # cp -v /usr/lib/perl5/site_perl/5.24.1/XML/SAX/ParserDetails.ini \ |
al@20460 | 29 # $install/usr/lib/perl5/site_perl/5.24.1/XML/SAX/ |
al@19709 | 30 } |