diff options
author | James Meyer <james.meyer@operamail.com> | 2008-11-08 17:30:51 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2008-11-08 17:30:51 (GMT) |
commit | 562074d2036106b5cd46505fe9823c939c1e7ff1 (patch) | |
tree | 3571a47cb625390715acf760b4489fe1b1629bab /abs/core-testing/perl_modules/perl-libxml/perl-libxml.install | |
parent | 6d04d899f89686ea784fab07c5a0f5090556e64d (diff) | |
download | linhes_pkgbuild-562074d2036106b5cd46505fe9823c939c1e7ff1.zip linhes_pkgbuild-562074d2036106b5cd46505fe9823c939c1e7ff1.tar.gz linhes_pkgbuild-562074d2036106b5cd46505fe9823c939c1e7ff1.tar.bz2 |
Add a few more perl modules required for other programs.
Diffstat (limited to 'abs/core-testing/perl_modules/perl-libxml/perl-libxml.install')
-rw-r--r-- | abs/core-testing/perl_modules/perl-libxml/perl-libxml.install | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/abs/core-testing/perl_modules/perl-libxml/perl-libxml.install b/abs/core-testing/perl_modules/perl-libxml/perl-libxml.install new file mode 100644 index 0000000..a7616f2 --- /dev/null +++ b/abs/core-testing/perl_modules/perl-libxml/perl-libxml.install @@ -0,0 +1,29 @@ +pre_install() { + /bin/true +} + +post_install() { + echo ":: Installing SAX XML Parsers" + /usr/bin/perl -MXML::SAX -e "XML::SAX->add_parser(q(XML::LibXML::SAX::Parser))->save_parsers()" + /usr/bin/perl -MXML::SAX -e "XML::SAX->add_parser(q(XML::LibXML::SAX))->save_parsers()" +} + +pre_upgrade() { + /bin/true +} + +post_upgrade() { + /bin/true +} + +pre_remove() { + /bin/true +} + +post_remove() { + /bin/true +} + +op=$1 +shift +$op $* |