the Fink project is an effort to port
popular Unix programs to Mac OS X
Info2: <<
Package: libapreq2-pm%type_pkg[perl]
Version: 2.08
Revision: 1001
Architecture: (%type_pkg[perl] = 581) powerpc, (%type_pkg[perl] = 584) powerpc
Distribution: (%type_pkg[perl] = 581) 10.3, (%type_pkg[perl] = 581) 10.4, (%type_pkg[perl] = 584) 10.3, (%type_pkg[perl] = 584) 10.4
DocFiles: CHANGES FAQ.pod INSTALL LICENSE MANIFEST META.yml NOTICE PREREQUISITES README STATUS
Description: Perl modules for libapreq2
DescDetail: <<
The perl APIs Apache::Request and Apache::Cookie are the
lightweight mod_perl analogs of the CGI and CGI::Cookie perl modules
of libapreq2.
<<
License: OSI-Approved
Maintainer: Dave Vasilevsky
Homepage: http://httpd.apache.org/apreq/
UpdatePOD: true
Type: perl (5.8.1 5.8.4 5.8.6 5.8.8)
BuildDepends: fink (>= 0.20.3), extutils-xsbuilder-pm, libapreq2 (>= %v-%r), mod-perl2-pm%type_pkg[perl]-dev (>= 2.0.2-1002), apr (>= 0.9.12-11), apr-dev (>= 0.9.12-11), aprutil-dev (>= 0.9.12-11), openldap23-dev, libiconv-dev, cyrus-sasl2-dev (>= 2.1.21-1), gdbm3, expat (>= 1.95.3-1), db44-aes | db44, apache2-dev (>= 2.0.58-14)
Depends: perl%type_pkg[perl]-core, mod-perl2-pm%type_pkg[perl] (>= 2.0.2-1002), libapreq2-shlibs (>= %v-%r)
Source: mirror:apache:httpd/libapreq/libapreq2-%v.tar.gz
Source-MD5: 9fb3deec448f74c455d4ffc13846ea9f
PatchScript: <<
#!/bin/sh -ev
# We only want the glue
perl -i -pe 's,^(SUBDIRS\s*=.*),SUBDIRS = glue,' Makefile.in
# libap2req is already installed, so use it
perl -i -pe 's,\$base_dir/(apreq2-config),$1,' glue/perl/Makefile.PL
<<
CompileScript: <<
#!/bin/sh -ev
# Need full path to perl
PERL=`which perl%type_raw[perl]`
# Put arch in $archname
eval `perl%type_raw[perl] -V:archname`
# Need to pass apxs location, MakeMaker opts
./configure --prefix=%p --enable-perl-glue \
--with-mm-opts="PERL=$PERL PREFIX=%p \
INSTALLPRIVLIB=%p/lib/perl5/%type_raw[perl] \
INSTALLARCHLIB=%p/lib/perl5/%type_raw[perl]/$archname \
INSTALLSITELIB=%p/lib/perl5/%type_raw[perl] \
INSTALLSITEARCH=%p/lib/perl5/%type_raw[perl]/$archname \
INSTALLMAN1DIR=%p/lib/perl5/%type_raw[perl]/man/man1 \
INSTALLMAN3DIR=%p/lib/perl5/%type_raw[perl]/man/man3 \
INSTALLSITEMAN1DIR=%p/lib/perl5/%type_raw[perl]/man/man1 \
INSTALLSITEMAN3DIR=%p/lib/perl5/%type_raw[perl]/man/man3 \
INSTALLBIN=%p/bin INSTALLSITEBIN=%p/bin INSTALLSCRIPT=%p/bin" \
--with-apache2-apxs=%p/bin/apxs2 --with-perl=$PERL \
--disable-dependency-tracking
make
<<
NoPerlTests: true
InstallScript: <<
#!/bin/sh -ev
make install DESTDIR=%d
rm -r %i/bin # He says they've already got one!
<<
DescPackaging: <<
Tests disabled because of:
http://www.mail-archive.com/apreq-dev@httpd.apache.org/msg00521.html
<<
<<