Update of /cvsroot/fink/dists/10.7/stable/main/finkinfo/libs/perlmods
In directory vz-cvs-3.sog:/tmp/cvs-serv5919

Added Files:
        xml-namespacesupport-pm.info xml-sax-expat-pm.info 
        xml-sax-pm.info xml-sax-pm.patch xml-simple-pm.info 
Log Message:
builds on 10.7


--- NEW FILE: xml-namespacesupport-pm.info ---
Package: xml-namespacesupport-pm
Version: 1.11
Revision: 1
Source: mirror:cpan:authors/id/P/PE/PERIGRIN/XML-NamespaceSupport-%v.tar.gz
Source-MD5: 222cca76161cd956d724286d36b607da
Type: perl
UpdatePOD: true
DocFiles: Changes README
DescPackaging: <<
        Former Maintainer: Chris Leishman <ch...@leishman.org>
<<
Description: Perlmods for supporting generic namespaces
DescDetail: <<
This module offers a simple to process namespaced XML names (unames) from
within any application that may need them.  It also helps maintain a prefix to
namespace URI map, and provides a number of basic checks.

See %n/share/doc/%n/README for more information
The model for this module is SAX2's NamespaceSupport class. See:
  http://www.saxproject.org/namespaces.html
It adds a few perlisations where thought to be appropriate.
<<
License: Artistic
Maintainer: Daniel Macks <dma...@netspace.org>
Homepage: http://search.cpan.org/dist/XML-NamespaceSupport

--- NEW FILE: xml-simple-pm.info ---
Info2: <<
Package: xml-simple-pm%type_pkg[perl]
Version: 2.18
Revision: 2
Architecture: (%type_pkg[perl] = 581) powerpc, (%type_pkg[perl] = 584) powerpc
Distribution: (%type_pkg[perl] = 581) 10.4, (%type_pkg[perl] = 584) 10.4, 
(%type_pkg[perl] = 586) 10.4, (%type_pkg[perl] = 586) 10.5, (%type_pkg[perl] = 
5100) 10.5, (%type_pkg[perl] = 5100) 10.6, (%type_pkg[perl] = 5123) 10.7, 
(%type_pkg[perl] = 588) 10.4, (%type_pkg[perl] = 588) 10.5, (%type_pkg[perl] = 
588) 10.6
Type: perl (5.8.1 5.8.4 5.8.6 5.8.8 5.10.0 5.12.3)
Description: Trivial API for reading and writing XML
License: Artistic
Maintainer: Christian Schaffner <chri...@users.sourceforge.net>

# Dependencies:
Depends: perl%type_pkg[perl]-core, xml-parser-pm%type_pkg[perl], 
xml-namespacesupport-pm, xml-sax-pm%type_pkg[perl] (>= 0.14-2), 
xml-sax-expat-pm%type_pkg[perl]
BuildDepends: fink (>= 0.29.0-1), test-simple-pm%type_pkg[perl]
Conflicts: %{Ni}560-man, %{Ni}561-man, %{Ni}580-man, %{Ni}581-man, 
%{Ni}582-man, %{Ni}584-man
Replaces: %{Ni}560-man, %{Ni}561-man, %{Ni}580-man, %{Ni}581-man, %{Ni}582-man, 
%{Ni}584-man, xml-simple-pm (<= 2.07-1)

# Unpack Phase:
Source: mirror:cpan:authors/id/G/GR/GRANTM/XML-Simple-%v.tar.gz
Source-MD5: 593aa8001e5c301cdcdb4bb3b63abc33

# Install Phase:
UpdatePOD: True
DocFiles: Changes MANIFEST README*
InstallScript: <<
 %{default_script}
 mv %i/share/man %i/lib/perl5/%type_raw[perl]
<<

# Additional Info:
DescDetail: <<
 XML::Simple - Trivial API for reading and writing XML (esp config files)
<<
Homepage: http://search.cpan.org/dist/XML-Simple
<<

--- NEW FILE: xml-sax-pm.patch ---
diff -Nurd -x'*~' XML-SAX-0.14.orig/Makefile.PL XML-SAX-0.14/Makefile.PL
--- XML-SAX-0.14.orig/Makefile.PL       2006-04-23 19:56:41.000000000 -0400
+++ XML-SAX-0.14/Makefile.PL    2006-11-14 21:56:15.000000000 -0500
@@ -10,9 +10,10 @@
         'File::Temp' => 0,
         'XML::NamespaceSupport' => 0.03,
     },    
+    'EXE_FILES' => [ 'update-perl-sax-parsers' ],
 );
 
-sub MY::install {
+sub MY::install_OMIT_THIS {
     package MY;
     my $script = shift->SUPER::install(@_);
 
diff -Nurd -x'*~' XML-SAX-0.14.orig/SAX.pm XML-SAX-0.14/SAX.pm
--- XML-SAX-0.14.orig/SAX.pm    2006-04-23 19:48:31.000000000 -0400
+++ XML-SAX-0.14/SAX.pm 2006-11-14 22:03:47.000000000 -0500
@@ -180,10 +180,43 @@
     my $class = shift;
     
     # get directory from wherever XML::SAX is installed
-    my $dir = $INC{'XML/SAX.pm'};
-    $dir = dirname($dir);
+    #my $dir = $INC{'XML/SAX.pm'};
+    #$dir = dirname($dir);
     
-    my $file = File::Spec->catfile($dir, "SAX", PARSER_DETAILS);
+    #my $file = File::Spec->catfile($dir, "SAX", PARSER_DETAILS);
+    #chmod 0644, $file;
+    #unlink($file);
+    
+    #my $fh = gensym();
+    #open($fh, ">$file") ||
+    #    die "Cannot write to $file: $!";
+
+    #foreach my $p (@$known_parsers) {
+    #    print $fh "[$p->{Name}]\n";
+    #    foreach my $key (keys %{$p->{Features}}) {
+    #        print $fh "$key = $p->{Features}{$key}\n";
+    #    }
+    #    print $fh "\n";
+    #}
+
+    #print $fh "\n";
+
+    #close $fh;
+
+    return $class;
+}
+
+sub save_parsers_debian {
+    my $class = shift;
+    my ($parser_module) = @_;
+
+    # add parser
+    $known_parsers = [];
+    $class->add_parser($parser_module);
+
+    # get parser's ParserDetails file
+    my $dir = '@PREFIX@/etc/perl5/@PERL_RAW@/XML/SAX/ParserDetails.d';
+    my $file = File::Spec->catfile($dir, $parser_module);
     chmod 0644, $file;
     unlink($file);
     
diff -Nurd -x'*~' XML-SAX-0.14.orig/t/01known.t XML-SAX-0.14/t/01known.t
--- XML-SAX-0.14.orig/t/01known.t       2002-01-28 14:36:04.000000000 -0500
+++ XML-SAX-0.14/t/01known.t    2006-11-14 21:59:42.000000000 -0500
@@ -1,6 +1,6 @@
 use Test;
-BEGIN { plan tests => 3 }
-use XML::SAX;
-ok(XML::SAX->save_parsers);
-ok(XML::SAX->load_parsers);
-ok(@{XML::SAX->parsers}, 0);
+BEGIN { plan tests => 0 }
+#use XML::SAX;
+#ok(XML::SAX->save_parsers);
+#ok(XML::SAX->load_parsers);
+#ok(@{XML::SAX->parsers}, 0);
diff -Nurd -x'*~' XML-SAX-0.14.orig/t/99cleanup.t XML-SAX-0.14/t/99cleanup.t
--- XML-SAX-0.14.orig/t/99cleanup.t     2002-01-28 14:36:04.000000000 -0500
+++ XML-SAX-0.14/t/99cleanup.t  2006-11-14 22:00:00.000000000 -0500
@@ -1,8 +1,8 @@
 use Test;
-BEGIN { plan tests => 1 }
-use File::Spec;
-ok(unlink(
-    File::Spec->catdir(qw(blib lib XML SAX ParserDetails.ini))),
-    1,
-    'delete ParserDetails.ini'
-);
+BEGIN { plan tests => 0 }
+#use File::Spec;
+#ok(unlink(
+#    File::Spec->catdir(qw(blib lib XML SAX ParserDetails.ini))),
+#    1,
+#    'delete ParserDetails.ini'
+#);
diff -Nurd -x'*~' XML-SAX-0.14.orig/update-perl-sax-parsers 
XML-SAX-0.14/update-perl-sax-parsers
--- XML-SAX-0.14.orig/update-perl-sax-parsers   1969-12-31 19:00:00.000000000 
-0500
+++ XML-SAX-0.14/update-perl-sax-parsers        2007-04-09 22:00:26.000000000 
-0500
@@ -0,0 +1,156 @@
+#!/usr/bin/env perl@PERL_RAW@
+## ----------------------------------------------------------------------
+## Debian update-perl-sax-parsers version 0.1
+## ----------------------------------------------------------------------
+## Copyright (C) 2001 Ardo van Rangelrooij <a...@debian.org>.
+##
+## This is free software; see the GNU General Public Licence version 2
+## or later for copying conditions.  There is NO warranty.
+## ----------------------------------------------------------------------
+
+BEGIN { 
+unshift (@INC, "@PREFIX@/lib/perl5", "@PREFIX@/lib/perl5/@PERL_RAW@", 
"@PREFIX@/lib/perl5/@PERL_RAW@/darwin-thread-multi-2level");
+}
+
+## ----------------------------------------------------------------------
+use File::Spec ();
+use XML::SAX ();
+
+## ----------------------------------------------------------------------
+$0    =~ m|[^/]+$|;
+$name = $&;
+
+## ----------------------------------------------------------------------
+while ( $ARGV[0] =~ m/^--/ )
+{
+    $_ = shift( @ARGV );
+    last if $_ eq '--';
+    if ( $_ eq '--add' )
+    {
+        $add = 1;
+    }
+    elsif ( $_ eq '--remove' )
+    {
+        $remove = 1;
+    }
+    elsif ( $_ eq '--update' )
+    {
+        $update = 1;
+    }
+    elsif ( $_ eq '--quiet' )
+    {
+        $quiet = 1;
+    }
+    elsif ( $_ eq '--test' )
+    {
+        $debug = 1;
+    }
+    elsif ( $_ eq '--help' )
+    {
+        &usage;
+       exit 0;
+    }
+    elsif ( $_ eq '--version' )
+    {
+        &version;
+       exit 0;
+    }
+    else
+    {
+        print STDERR "$name: unknown option \`$_'\n";
+       &usage;
+       exit 1;
+    }
+}
+
+## ----------------------------------------------------------------------
+if ( ( $add || $remove ) && ! @ARGV )
+{
+    print STDERR "$name: too few arguments\n";
+    exit 1;
+}
+
+## ----------------------------------------------------------------------
+$parser_module = shift( @ARGV ) if $add || $remove;
+
+## ----------------------------------------------------------------------
+if ( @ARGV )
+{
+    print STDERR "$name: too many arguments\n";
+    exit 1;
+}
+
+## ----------------------------------------------------------------------
+print STDERR "$name: test mode - Perl SAX parsers file will not be updated\n"
+    if $debug && ! $quiet;
+
+## ----------------------------------------------------------------------
+my $PARSER_DETAILS_DIR  = 
"@PREFIX@/etc/perl5/@PERL_RAW@/XML/SAX/ParserDetails.d";
+my $PARSER_DETAILS_FILE = 
"@PREFIX@/etc/perl5/@PERL_RAW@/XML/SAX/ParserDetails.ini";
+
+## ----------------------------------------------------------------------
+if ( $add )
+{
+    print "$name: adding Perl SAX parser module info file of 
$parser_module...\n"
+        unless $quiet;
+    
+    XML::SAX->save_parsers_debian( $parser_module );
+}
+elsif ( $remove )
+{
+    print "$name: removing Perl SAX parser module info file of 
$parser_module...\n"
+        unless $quiet;
+    
+    my $parser_file = File::Spec->catfile( $PARSER_DETAILS_DIR, 
$parser_module);
+    unlink( $parser_file );
+}
+elsif ( $update )
+{
+    print "$name: updating overall Perl SAX parser modules info file...\n"
+        unless $quiet;
+
+    open( PARSER_DETAILS_FILE, ">$PARSER_DETAILS_FILE" )
+       || die "Cannot write to $PARSER_DETAILS_FILE: $!";
+    opendir( PARSER_DETAILS_DIR, $PARSER_DETAILS_DIR )
+       || die "Cannot access $PARSER_DETAILS_DIR: $!";
+       opendir(DIR,"$DirFile");
+       my @filearray = reverse readdir PARSER_DETAILS_DIR;
+       closedir( PARSER_DETAILS_DIR );
+       foreach $parser_details (@filearray)
+       {
+       next if $parser_details =~ /^\.\.?$/; # skip . and ..
+       open( PARSER_DETAILS, "$PARSER_DETAILS_DIR/$parser_details" )
+           || die "Cannot read from $parser_details: $!";
+       while ( <PARSER_DETAILS> ) { print PARSER_DETAILS_FILE; }
+       close( PARSER_DETAILS );
+    }
+    close( PARSER_DETAILS_FILE );
+}
+
+## ----------------------------------------------------------------------
+exit 0;
+
+## ----------------------------------------------------------------------
+sub usage
+{
+    print STDERR <<END;
+Usage:
+    $name <options> --add <parser_module>
+    $name <options> --remove <parser_module>
+    $name <options> --update
+
+Options:
+    --quiet         be quiet
+    --test          do not modify any files, enables debugging mode
+    --version       display version number
+    --help          display this help text (usage)
+END
+}
+
+## ----------------------------------------------------------------------
+sub version
+{
+    print "Debian $name version 0.1\n";
+}
+
+## ----------------------------------------------------------------------
diff -Nurd -x'*~' XML-SAX-0.14.orig/update-perl-sax-parsers.8 
XML-SAX-0.14/update-perl-sax-parsers.8
--- XML-SAX-0.14.orig/update-perl-sax-parsers.8 1969-12-31 19:00:00.000000000 
-0500
+++ XML-SAX-0.14/update-perl-sax-parsers.8      2006-11-14 22:04:53.000000000 
-0500
@@ -0,0 +1,79 @@
+.\" -*- nroff -*-
+.\" ----------------------------------------------------------------------
+.\" Copyright 2001 by Ardo van Rangelrooij.
+.\"
+.\" This is free software; see the GNU General Public Licence version 2
+.\" or later for copying conditions.  There is NO warranty.
+.\" ----------------------------------------------------------------------
+.\"
+.\" ----------------------------------------------------------------------
+.TH UPDATE-PERL-SAX-PARSERS 8 "Dec 2001" "0.1" "Debian"
+.\"
+.\" ----------------------------------------------------------------------
+.SH NAME
+update-perl-sax-parsers \- update Perl SAX parser module info files
+.\"
+.\" ----------------------------------------------------------------------
+.SH SYNOPSIS
+.B update-perl-sax-parsers
+.RI [ options ]
+.B --add
+.I parser_module
+.PP
+.B update-perl-sax-parsers
+.RI [ options ]
+.B --remove
+.I parser_module
+.PP
+.B update-perl-sax-parsers
+.RI [ options ]
+.B --update
+.\"
+.\" ----------------------------------------------------------------------
+.SH DESCRIPTION
+.B update-perl-sax-parsers
+inserts, updates and removes individual Perl SAX parser module info
+files in the directory
+.I @PREFIX@/etc/perl5/@PERL_RAW@/XML/SAX/ParserDetails.d
+and the overall Perl SAX parser modules info file
+.IR @PREFIX@/etc/perl5/@PERL_RAW@/XML/SAX/ParserDetails.ini .
+.\"
+.\" ----------------------------------------------------------------------
+.SH OPTIONS
+.TP
+.B --add
+Adds a Perl SAX parser module info file to the directory
+.IR @PREFIX@/etc/perl5/@PERL_RAW@/XML/SAX/ParserDetails.d .
+.TP
+.B --remove
+Removes a Perl SAX parser module info file
+from the directory
+.IR @PREFIX@/etc/perl5/@PERL_RAW@/XML/SAX/ParserDetails.d .
+.TP
+.B --update
+updates the overall Perl SAX parser modules info file
+.IR @PREFIX@/etc/perl5/@PERL_RAW@/XML/SAX/ParserDetails.ini .
+.TP
+.B --quiet
+Prevents the usual diagnostic output.
+.TP
+.B --test
+Prevents the update of the individual Perl SAX parser module info file and
+the overall Perl SAX parser modules info file.
+.TP
+.B --version
+Displays the version information and exits.
+.TP
+.B --help
+Display the usage information and exits.
+.\"
+.\" ----------------------------------------------------------------------
+.SH COPYRIGHT
+Copyright 2001, Ardo van Rangelrooij.
+.PP
+This is free software; see the GNU General Public Licence version 2 or
+later for copying conditions.  There is
+.I no
+warranty.
+.\"
+.\" ----------------------------------------------------------------------

--- NEW FILE: xml-sax-pm.info ---
Info2: <<
Package: xml-sax-pm%type_pkg[perl]
Version: 0.96
Revision: 2
Architecture: (%type_pkg[perl] = 581) powerpc, (%type_pkg[perl] = 584) powerpc
Distribution: (%type_pkg[perl] = 581) 10.4, (%type_pkg[perl] = 584) 10.4, 
(%type_pkg[perl] = 586) 10.4, (%type_pkg[perl] = 586) 10.5, (%type_pkg[perl] = 
5100) 10.5, (%type_pkg[perl] = 5100) 10.6, (%type_pkg[perl] = 5123) 10.7, 
(%type_pkg[perl] = 588) 10.4, (%type_pkg[perl] = 588) 10.5, (%type_pkg[perl] = 
588) 10.6
Replaces: xml-sax-pm (<= 0.12-16), %{Ni}560, %{Ni}580, %{Ni}581, %{Ni}584, 
%{Ni}586
Source: mirror:cpan:authors/id/G/GR/GRANTM/XML-SAX-%v.tar.gz
Source-MD5: bdcd4119a62505184e211e9dfaef0ab1
Type: perl (5.8.1 5.8.4 5.8.6 5.8.8 5.10.0 5.12.3)
Depends: perl%type_pkg[perl]-core, xml-namespacesupport-pm, 
file-temp-pm%type_pkg[perl]
BuildDepends: fink (>= 0.29.0-1)
UpdatePOD: true
PatchFile: %{Ni}.patch
PatchFile-MD5: 22cb3379b03658a801301b06377acf74
PatchScript: <<
#! /bin/sh -ev
  if [ "%type_pkg[perl]" = "5100" ] && [ "%m" != "powerpc" ] ; then
  sed -e 's|/usr/bin/env|/usr/bin/arch -%m|g' -e 's|@PREFIX@|%p|g' -e 
's|@PERL_RAW@|%type_raw[perl]|g' < %{PatchFile} | patch -p1
  elif [ "%type_pkg[perl]" = "5123" ] ; then
  sed -e 's|@PREFIX@|%p|g' -e 's|env perl@PERL_RAW@|env perl5.12|g' -e 
's|@PERL_RAW@|%type_raw[perl]|g' < %{PatchFile} | patch -p1
  else
  sed -e 's|@PREFIX@|%p|g' -e 's|@PERL_RAW@|%type_raw[perl]|g' < %{PatchFile} | 
patch -p1
  fi
<<
DocFiles: Changes README LICENSE

InfoTest: TestDepends: test-harness-pm%type_pkg[perl]

InstallScript: <<
  %{default_script}

  ln -s %p/etc/perl5/%type_raw[perl]/XML/SAX/ParserDetails.ini 
%i/lib/perl5/%type_raw[perl]/XML/SAX

  mv %i/share/man %i/lib/perl5/%type_raw[perl]
  mv %i/bin/update-perl-sax-parsers 
%i/bin/update-perl%type_pkg[perl]-sax-parsers
  mv %i/bin %i/sbin
<<
PreInstScript: <<
if [ "$1" = install ]
then
  echo Creating config files in %p/etc/perl5/%type_raw[perl]/XML/SAX...
  install -d -m 755 %p/etc/perl5/%type_raw[perl]/XML/SAX
  install -d -m 755 %p/etc/perl5/%type_raw[perl]/XML/SAX/ParserDetails.d
  touch %p/etc/perl5/%type_raw[perl]/XML/SAX/ParserDetails.ini
elif [ "$1" = upgrade ]
then
  install -d -m 755 %p/etc/perl5/%type_raw[perl]/XML
  if [ -d %p/etc/xml/SAX ]
  then
    if [ -d %p/etc/perl5/%type_raw[perl]/XML/SAX ]
    then
      echo Purging old config files in %p/etc/xml/SAX...
    else
      echo Moving old config files from %p/etc/xml/SAX...
      mv %p/etc/xml/SAX %p/etc/perl5/%type_raw[perl]/XML
    fi
  elif [ -d %p/etc/perl/XML/SAX ]
  then
    if [ -d %p/etc/perl5/%type_raw[perl]/XML/SAX ]
    then
      echo Purging old config files in %p/etc/perl/XML/SAX...
      rm -r %p/etc/perl/XML/SAX
    else
      echo Moving old config files from %p/etc/perl/XML/SAX...
      mv %p/etc/perl/XML/SAX %p/etc/perl5/%type_raw[perl]/XML
    fi
  else
    echo Creating config files in %p/etc/perl5/%type_raw[perl]/XML/SAX...
    install -d -m 755 %p/etc/perl5/%type_raw[perl]/XML/SAX
    install -d -m 755 %p/etc/perl5/%type_raw[perl]/XML/SAX/ParserDetails.d
    touch %p/etc/perl5/%type_raw[perl]/XML/SAX/ParserDetails.ini
  fi
  if [ -d %p/etc/xml ]
  then
    echo Removing obsolete directory %p/etc/xml...
    rm -r %p/etc/xml/SAX 2>/dev/null || true
    rmdir %p/etc/xml 2>/dev/null || true
  fi
  if [ -d %p/etc/perl/XML ]
  then
    echo Removing obsolete directory %p/etc/perl...
    rmdir %p/etc/perl/XML/SAX 2>/dev/null || true
    rmdir %p/etc/perl/XML 2>/dev/null || true
    rmdir %p/etc/perl 2>/dev/null || true
  fi
fi
<<
PostInstScript: <<
if [ "$1" = configure ]
then
        %p/sbin/update-perl%type_pkg[perl]-sax-parsers --add XML::SAX::PurePerl
        %p/sbin/update-perl%type_pkg[perl]-sax-parsers --update
fi
<<
PreRmScript: <<
if [ "$1" = remove ]
then
        install -d -m 755 %p/etc/perl5/%type_raw[perl]/XML/SAX
        install -d -m 755 %p/etc/perl5/%type_raw[perl]/XML/SAX/ParserDetails.d
        touch %p/etc/perl5/%type_raw[perl]/XML/SAX/ParserDetails.ini
        %p/sbin/update-perl%type_pkg[perl]-sax-parsers --remove 
XML::SAX::PurePerl
        %p/sbin/update-perl%type_pkg[perl]-sax-parsers --update
fi
<<
PostRmScript: <<
if [ "$1" = purge ]
then
  echo Purging config files in %p/etc/perl5/%type_raw[perl]/XML/SAX...
  rm -f %p/etc/perl5/%type_raw[perl]/XML/SAX/ParserDetails.ini
  cd %p/etc/perl5 && \
    rmdir -p %type_raw[perl]/XML/SAX/ParserDetails.d || true
fi
<<
Description: Perl Simple API for XML
DescDetail: <<
XML::SAX is a SAX parser access API for Perl. It includes classes and APIs
required for implementing SAX drivers, along with a factory class for
returning any SAX parser installed on the user's system.
<<
DescPackaging: <<
XML::SAX uses catalogs stored in 
%p/etc/perl5/%type_raw[perl]/XML/SAX/ParserDetails.d
to managed the details of parsers installed on the local system.  They are
managed via the update-perl-sax-parsers script.  Each package that provides a
SAX parser should also call this script within Pre/PostInstScript.

The default XML::SAX parser is the _last_ entry in ParserDetails.d. Therefore
the reverse directory listing is used in update-perl-sax-parsers

This implementation was taken from the debian package of XML::SAX.

Perl directories need to be pushed into @INC in the update-perl-sax-parsers
script since it wouldn't find other perl modules after recent security
patches of OS X if called directly from dpkg otherwise.

Previous maintainers: Chris Leishman <ch...@leishman.org>
and Christian Schaffner <chri...@users.sourceforge.net>

Variant package (Info2): by Koen van der Drift
<<
License: Artistic
Maintainer: Daniel Johnson <dan...@daniel-johnson.org>
Homepage: http://search.cpan.org/dist/XML-SAX
<<

--- NEW FILE: xml-sax-expat-pm.info ---
Info2: <<
Package: xml-sax-expat-pm%type_pkg[perl]
Version: 0.40
Revision: 4
Architecture: (%type_pkg[perl] = 581) powerpc, (%type_pkg[perl] = 584) powerpc
Distribution: (%type_pkg[perl] = 581) 10.4, (%type_pkg[perl] = 584) 10.4, 
(%type_pkg[perl] = 586) 10.4, (%type_pkg[perl] = 586) 10.5, (%type_pkg[perl] = 
5100) 10.5, (%type_pkg[perl] = 5100) 10.6, (%type_pkg[perl] = 5123) 10.7, 
(%type_pkg[perl] = 588) 10.4, (%type_pkg[perl] = 588) 10.5, (%type_pkg[perl] = 
588) 10.6
Type: perl (5.8.1 5.8.4 5.8.6 5.8.8 5.10.0 5.12.3)
Description: Perl module, SAX2 Driver for Expat
License: Artistic

# Dependencies:
BuildDepends: fink (>= 0.29.0-1)
Depends: xml-parser-pm%type_pkg[perl], xml-sax-pm%type_pkg[perl] (>= 0.13-2), 
xml-namespacesupport-pm
Conflicts: %{Ni}581-doc, %{Ni}584-doc, %{Ni}586-doc
Replaces: %{Ni}581-doc, %{Ni}584-doc, %{Ni}586-doc

# Unpack Phase:
Source: mirror:cpan:authors/id/B/BJ/BJOERN/XML-SAX-Expat-%v.tar.gz
Source-MD5: ca58d1e26c437b31c52456b4b4ae5c4a

# Install Phase:
UpdatePOD: True
DocFiles: Changes

CompileScript: <<
  #!/bin/bash -ev
  export SKIP_SAX_INSTALL=1
  %{default_script}
<<

InfoTest: TestDepends: test-pod-pm, test-pod-coverage-pm

InstallScript: <<
  #!/bin/bash -ev
  export SKIP_SAX_INSTALL=1
  %{default_script}
  mv %i/share/man %i/lib/perl5/%type_raw[perl]
<<
PostInstScript: <<
 %p/sbin/update-perl%type_pkg[perl]-sax-parsers --add XML::SAX::Expat
 %p/sbin/update-perl%type_pkg[perl]-sax-parsers --update
<<
PreRmScript: <<
 if [ "$1" != "remove" -a "$1" != "purge" ]; then
  exit 0
 fi
 %p/sbin/update-perl%type_pkg[perl]-sax-parsers --remove XML::SAX::Expat
 %p/sbin/update-perl%type_pkg[perl]-sax-parsers --update
<<

# Additional Data:
Homepage: http://search.cpan.org/dist/XML-SAX-Expat/
Maintainer: Daniel Johnson <dan...@daniel-johnson.org>
<<


------------------------------------------------------------------------------
10 Tips for Better Web Security
Learn 10 ways to better secure your business today. Topics covered include:
Web security, SSL, hacker attacks & Denial of Service (DoS), private keys,
security Microsoft Exchange, secure Instant Messaging, and much more.
http://www.accelacomm.com/jaw/sfnl/114/51426210/
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to