3.41. perl-xml-parser-2.46

#!/bin/sh
# Copyright © 1999-2022 Gerard Beekmans
# Copyright © 2017-2022 Random Crew
# Distributed under the terms of MIT License.


MY_P="XML-Parser-${PV}"

Configuration

src_config()
{
    perl Makefile.PL
}

Compilation

src_compile()
{
    make ${MAKEOPTS}
}

Installation

src_install()
{
    make install ${MAKEOPTS} DESTDIR=${D}
}

Unit testing

src_check()
{
    make test
}

Build code

perl-xml-parser.build

Other files

meta.txt

Links

url.lfs: https://linuxfromscratch.org/lfs/view/11.1/chapter08/xml-parser.html
url.lfs.stage1: