Package: npapi-sdk Version: 0.27 Revision: 1 Description: Browser plugin API headers License: OSI-Approved Maintainer: David Fang Homepage: http://code.google.com/p/%n/ Source: http://www.csl.cornell.edu/~fang/sw/%n-%v.tar.bz2 Source-Checksum: SHA256(f7f039a3bdf07f7dbfc38ca07dbdce2289c0874c938620cc01b2776a0d1211ef) BuildDependsOnly: true # no Depends, BuildDepends CompileScript: << #!/bin/sh -ev echo "Nothing to build, headers only" { echo 'prefix=%p' echo 'includedir=${prefix}/npapi-sdk' echo 'Name: Mozilla Plug-In API' echo 'Description: Mozilla Plug-In API' echo 'Version: %v' echo 'Cflags: -I${includedir}' } > %n.pc << InstallScript: << #!/bin/sh -ev mkdir -p %i/include/%n cp headers/*.h %i/include/%n/ mkdir -p %i/share/%n cp -R samples %i/share/%n/ mkdir -p %i/lib/pkgconfig cp %n.pc %i/lib/pkgconfig/ << DocFiles: samples/COPYING DescDetail: << The goal of this project is to provide a set of reference NPAPI headers which all browser and plugin projects can use. Additionally it will contain utility code and sample code to make life easier for NPAPI developers. << DescPackaging: << Upstream hasn't released versioned packages, so this package was taken from a 20111013 snapshot, which corresponds to version 0.27, according to npapi.h. May need to add additional -D CFLAGS... Added a pkgconfig file, taken from: http://code.google.com/p/%n/issues/detail?id=7 License: Mozilla Public License 1.1 <<