summaryrefslogtreecommitdiff
path: root/repo/system/perl-xml-parser.xibuild
blob: b6d8b034e1d63f555269d71d4cc8396dfca01fc8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/bash

MAKEDEPS=(make )
DEPS=(perl expat)

PKG_VER=2.46
SOURCE=https://cpan.metacpan.org/authors/id/T/TO/TODDR/XML-Parser-$PKG_VER.tar.gz
DESC="A perl interface for the expat XML parser"

build () {
    perl Makefile.PL
    make
}

check () {
    make test
}

package () {
    make DESTDIR=$PKG_DEST install 
}