perl/p5-xml-sax/p5-xml-sax.sh

Fri, 15 Nov 2019 20:05:00 +0100

author
David Demelier <markand@malikania.fr>
date
Fri, 15 Nov 2019 20:05:00 +0100
changeset 1207
c9592a9a949b
parent 1115
297b5eef115e
child 1216
6710613b88b9
permissions
-rw-r--r--

python/python2: add DEPRECATED tag

1115
297b5eef115e vanilla: change shebangs to /bin/sh
David Demelier <markand@malikania.fr>
parents: 1107
diff changeset
1 #!/bin/sh
474
baf41899fcf6 perl/perl-xml-sax: initial import, closes #1569
David Demelier <markand@malikania.fr>
parents:
diff changeset
2 #
baf41899fcf6 perl/perl-xml-sax: initial import, closes #1569
David Demelier <markand@malikania.fr>
parents:
diff changeset
3 # Copyright (c) 2019 David Demelier <markand@malikania.fr>
baf41899fcf6 perl/perl-xml-sax: initial import, closes #1569
David Demelier <markand@malikania.fr>
parents:
diff changeset
4 #
baf41899fcf6 perl/perl-xml-sax: initial import, closes #1569
David Demelier <markand@malikania.fr>
parents:
diff changeset
5 # Permission to use, copy, modify, and/or distribute this software for any
baf41899fcf6 perl/perl-xml-sax: initial import, closes #1569
David Demelier <markand@malikania.fr>
parents:
diff changeset
6 # purpose with or without fee is hereby granted, provided that the above
baf41899fcf6 perl/perl-xml-sax: initial import, closes #1569
David Demelier <markand@malikania.fr>
parents:
diff changeset
7 # copyright notice and this permission notice appear in all copies.
baf41899fcf6 perl/perl-xml-sax: initial import, closes #1569
David Demelier <markand@malikania.fr>
parents:
diff changeset
8 #
baf41899fcf6 perl/perl-xml-sax: initial import, closes #1569
David Demelier <markand@malikania.fr>
parents:
diff changeset
9 # THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
baf41899fcf6 perl/perl-xml-sax: initial import, closes #1569
David Demelier <markand@malikania.fr>
parents:
diff changeset
10 # WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
baf41899fcf6 perl/perl-xml-sax: initial import, closes #1569
David Demelier <markand@malikania.fr>
parents:
diff changeset
11 # MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
baf41899fcf6 perl/perl-xml-sax: initial import, closes #1569
David Demelier <markand@malikania.fr>
parents:
diff changeset
12 # ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
baf41899fcf6 perl/perl-xml-sax: initial import, closes #1569
David Demelier <markand@malikania.fr>
parents:
diff changeset
13 # WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
baf41899fcf6 perl/perl-xml-sax: initial import, closes #1569
David Demelier <markand@malikania.fr>
parents:
diff changeset
14 # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
baf41899fcf6 perl/perl-xml-sax: initial import, closes #1569
David Demelier <markand@malikania.fr>
parents:
diff changeset
15 # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
baf41899fcf6 perl/perl-xml-sax: initial import, closes #1569
David Demelier <markand@malikania.fr>
parents:
diff changeset
16 #
baf41899fcf6 perl/perl-xml-sax: initial import, closes #1569
David Demelier <markand@malikania.fr>
parents:
diff changeset
17
614
a92f2e4886b3 perl: rename perl-* to p5-*
David Demelier <markand@malikania.fr>
parents: 606
diff changeset
18 PKGNAME=p5-xml-sax
474
baf41899fcf6 perl/perl-xml-sax: initial import, closes #1569
David Demelier <markand@malikania.fr>
parents:
diff changeset
19 PKGVERSION=1.00
baf41899fcf6 perl/perl-xml-sax: initial import, closes #1569
David Demelier <markand@malikania.fr>
parents:
diff changeset
20 PKGREVISION=1
1107
7791d3dbfecf vanilla: consolidate licenses and many options
David Demelier <markand@malikania.fr>
parents: 1019
diff changeset
21 PKGLICENSE="GPLv10+ ARTISTIC"
7791d3dbfecf vanilla: consolidate licenses and many options
David Demelier <markand@malikania.fr>
parents: 1019
diff changeset
22 PKGSUMMARY="XML API for perl"
474
baf41899fcf6 perl/perl-xml-sax: initial import, closes #1569
David Demelier <markand@malikania.fr>
parents:
diff changeset
23 PKGDOWNLOAD="https://www.cpan.org/authors/id/G/GR/GRANTM/XML-SAX-$PKGVERSION.tar.gz"
902
a133976e0783 vanilla: remove all origins, closes #2203
David Demelier <markand@malikania.fr>
parents: 614
diff changeset
24 PKGDEPENDS="perl p5-xml-sax-base p5-xml-namespacesupport"
474
baf41899fcf6 perl/perl-xml-sax: initial import, closes #1569
David Demelier <markand@malikania.fr>
parents:
diff changeset
25
baf41899fcf6 perl/perl-xml-sax: initial import, closes #1569
David Demelier <markand@malikania.fr>
parents:
diff changeset
26 build()
baf41899fcf6 perl/perl-xml-sax: initial import, closes #1569
David Demelier <markand@malikania.fr>
parents:
diff changeset
27 {
baf41899fcf6 perl/perl-xml-sax: initial import, closes #1569
David Demelier <markand@malikania.fr>
parents:
diff changeset
28 rm -rf XML-SAX-$PKGVERSION
606
25cecc6dca48 vanilla: use POSIX shell and busybox tar
David Demelier <markand@malikania.fr>
parents: 534
diff changeset
29 tar xvf XML-SAX-$PKGVERSION.tar.gz
25cecc6dca48 vanilla: use POSIX shell and busybox tar
David Demelier <markand@malikania.fr>
parents: 534
diff changeset
30 cd XML-SAX-$PKGVERSION
474
baf41899fcf6 perl/perl-xml-sax: initial import, closes #1569
David Demelier <markand@malikania.fr>
parents:
diff changeset
31
614
a92f2e4886b3 perl: rename perl-* to p5-*
David Demelier <markand@malikania.fr>
parents: 606
diff changeset
32 patch -p0 < ../patch-disable-install.patch
474
baf41899fcf6 perl/perl-xml-sax: initial import, closes #1569
David Demelier <markand@malikania.fr>
parents:
diff changeset
33 perl Makefile.PL INSTALLDIRS=vendor
baf41899fcf6 perl/perl-xml-sax: initial import, closes #1569
David Demelier <markand@malikania.fr>
parents:
diff changeset
34 PERLLIB=blib/lib make DESTDIR=$DESTDIR install
902
a133976e0783 vanilla: remove all origins, closes #2203
David Demelier <markand@malikania.fr>
parents: 614
diff changeset
35 rm -f $DESTDIR/lib/perl5/core_perllocal.pod
534
1214c226dfa0 perl: use new FHS
David Demelier <markand@malikania.fr>
parents: 474
diff changeset
36 rm -f $DESTDIR/lib/perl5/vendor_perl/auto/XML/SAX/.packlist
474
baf41899fcf6 perl/perl-xml-sax: initial import, closes #1569
David Demelier <markand@malikania.fr>
parents:
diff changeset
37
606
25cecc6dca48 vanilla: use POSIX shell and busybox tar
David Demelier <markand@malikania.fr>
parents: 534
diff changeset
38 cd ..
474
baf41899fcf6 perl/perl-xml-sax: initial import, closes #1569
David Demelier <markand@malikania.fr>
parents:
diff changeset
39 rm -rf XML-SAX-$PKGVERSION
baf41899fcf6 perl/perl-xml-sax: initial import, closes #1569
David Demelier <markand@malikania.fr>
parents:
diff changeset
40 }

mercurial