added pkg-config file.
This commit is contained in:
11
0BUILD
11
0BUILD
@@ -41,11 +41,12 @@
|
|||||||
<default>/usr/local</default>
|
<default>/usr/local</default>
|
||||||
</option>
|
</option>
|
||||||
<setVar name="prefix">$(option_prefix)</setVar>
|
<setVar name="prefix">$(option_prefix)</setVar>
|
||||||
|
<setVar name="exec_prefix">$(option_prefix)/bin</setVar>
|
||||||
<setVar name="sysconfdir">$(option_prefix)/etc</setVar>
|
<setVar name="sysconfdir">$(option_prefix)/etc</setVar>
|
||||||
<setVar name="bindir">$(option_prefix)/bin</setVar>
|
<setVar name="bindir">$(option_prefix)/bin</setVar>
|
||||||
<setVar name="cgibindir">$(option_prefix)/lib/cgi-bin</setVar>
|
|
||||||
<setVar name="libdir">$(option_prefix)/lib</setVar>
|
<setVar name="libdir">$(option_prefix)/lib</setVar>
|
||||||
<setVar name="includedir">$(option_prefix)/include</setVar>
|
<setVar name="includedir">$(option_prefix)/include</setVar>
|
||||||
|
<setVar name="datarootdir">$(option_prefix)/share</setVar>
|
||||||
<setVar name="datadir">$(option_prefix)/share</setVar>
|
<setVar name="datadir">$(option_prefix)/share</setVar>
|
||||||
<setVar name="localedir">$(option_prefix)/share/locale</setVar>
|
<setVar name="localedir">$(option_prefix)/share/locale</setVar>
|
||||||
|
|
||||||
@@ -96,7 +97,6 @@
|
|||||||
|
|
||||||
|
|
||||||
<!-- paths -->
|
<!-- paths -->
|
||||||
<setVar name="aqcgi_plugin_installdir">$(pkglibdir)/plugins/$(project_so_effective)</setVar>
|
|
||||||
<ifVarMatches name="GWBUILD_SYSTEM" value="windows" > <!-- long version of IF statement with THEN and ELSE -->
|
<ifVarMatches name="GWBUILD_SYSTEM" value="windows" > <!-- long version of IF statement with THEN and ELSE -->
|
||||||
<then>
|
<then>
|
||||||
<define name="OS_WIN32" value="1" />
|
<define name="OS_WIN32" value="1" />
|
||||||
@@ -177,6 +177,12 @@
|
|||||||
<define name="OS_SHORTNAME" value="$(GWBUILD_SYSTEM)" quoted="TRUE" />
|
<define name="OS_SHORTNAME" value="$(GWBUILD_SYSTEM)" quoted="TRUE" />
|
||||||
|
|
||||||
|
|
||||||
|
<!-- compatibility defines/vars with Makefile.am -->
|
||||||
|
<setVar name="aqcgi_ldflags">-L$${libdir}</setVar>
|
||||||
|
<setVar name="aqcgi_libs">-laqcgi</setVar>
|
||||||
|
<setVar name="aqcgi_includes">-I$${includedir}/aqcgi6</setVar>
|
||||||
|
|
||||||
|
|
||||||
<!-- Build with "gwbuild -B gettext-src" -->
|
<!-- Build with "gwbuild -B gettext-src" -->
|
||||||
<ifVarMatches name="xgettext_EXISTS" value="TRUE" >
|
<ifVarMatches name="xgettext_EXISTS" value="TRUE" >
|
||||||
<buildFiles name="gettext-src" auto="FALSE" >
|
<buildFiles name="gettext-src" auto="FALSE" >
|
||||||
@@ -253,6 +259,7 @@
|
|||||||
src
|
src
|
||||||
</subdirs>
|
</subdirs>
|
||||||
|
|
||||||
|
<writeFile name="aqcgi.pc" install="$(libdir)/pkgconfig" />
|
||||||
|
|
||||||
</project>
|
</project>
|
||||||
|
|
||||||
|
|||||||
22
aqcgi.pc.in
Normal file
22
aqcgi.pc.in
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
# pkg-config configuration for AqCGI
|
||||||
|
# For information about the syntax, see pkg-config(1)
|
||||||
|
|
||||||
|
# General installation directories
|
||||||
|
prefix=@prefix@
|
||||||
|
exec_prefix=@exec_prefix@
|
||||||
|
libdir=@libdir@
|
||||||
|
includedir=@includedir@
|
||||||
|
pkgincludedir=@includedir@/aqcgi
|
||||||
|
datarootdir=@datarootdir@
|
||||||
|
datadir=@datadir@
|
||||||
|
bindir=@bindir@
|
||||||
|
|
||||||
|
# Human-readable name
|
||||||
|
Name: AqCgi
|
||||||
|
# Human-readable description
|
||||||
|
Description: A library for CGI request handling
|
||||||
|
|
||||||
|
Version: @VERSION@
|
||||||
|
Libs: @aqcgi_ldflags@ @aqcgi_libs@
|
||||||
|
Cflags: @aqcgi_includes@ @gwenhywfar_cflags@
|
||||||
|
|
||||||
Reference in New Issue
Block a user