Package: ppkg-config
Version: 0.25026
Revision: 1
Type: perl
Source: mirror:cpan:authors/id/P/PL/PLICEASE/PkgConfig-%v.tar.gz
Source-Checksum: SHA256(4dba5ed3c2d6a681b95c5ebf14b6a6995ce6991ae4719bad7f1aaf38e987c2a0)
BuildDepends: pkgconfig-common
PatchFile: %n.patch
PatchFile-MD5: 83186c49bd68e7af66c4f09f0cb4d5ae
PatchScript: <<
#!/bin/sh -ex
	pc_path="'`sed -e "s/:/','/g" < %p/share/pkgconfig-common/pc-path`'"
	sed "s|@FINK_DEFAULT_SEARCH_PATH@|$pc_path|" < %{PatchFile} | patch -p1
<<
ConfigureParams: --script=ppkg-config
# Recommends: Log::Fu (perlversioned)
# TestDepends: Test::MinimumVersion (perlversioned)
InstallScript: <<
	make install DESTDIR=%d
	mv %i/bin/ppkg-config %i/bin/ppkg-config.real
	install -m 755 %p/share/pkgconfig-common/pc-resort %i/bin/ppkg-config
<<
DocFiles: Changes LICENSE
UpdatePOD: true
DescUsage: <<
This package supplies %p/bin/ppkg-config as a pure-perl work-alike for
%p/bin/pkg-config including fink's search-paths and flag-ordering
based on the pkgconfig-common package. The PkgConfig.pm perl module is
also supplied, which uses the same search-paths but does not have the
flag-ordering feature.
<<
Description: Pure-perl implemenation of pkg-config
License: Artistic/GPL
Homepage: https://github.com/PerlPkgConfig/perl-PkgConfig
Maintainer: Daniel Macks <dmacks@netspace.org>