mirror of
https://github.com/matrix-construct/construct
synced 2024-11-17 07:20:55 +01:00
Add libratbox.pc.in for out-of-tree libratbox build (think: packaging).
This commit is contained in:
parent
f17c2ef84c
commit
af240db72b
3 changed files with 22 additions and 5 deletions
|
@ -1,3 +1,6 @@
|
||||||
AUTOMAKE_OPTIONS = foreign
|
AUTOMAKE_OPTIONS = foreign
|
||||||
|
|
||||||
SUBDIRS = src
|
SUBDIRS = src
|
||||||
|
|
||||||
|
pkgconfigdir = $(libdir)/pkgconfig
|
||||||
|
pkgconfig_DATA = libratbox.pc
|
||||||
|
|
|
@ -675,11 +675,11 @@ fi
|
||||||
|
|
||||||
)
|
)
|
||||||
|
|
||||||
|
AC_CONFIG_FILES([
|
||||||
AC_CONFIG_FILES( \
|
src/Makefile
|
||||||
src/Makefile \
|
Makefile
|
||||||
Makefile \
|
libratbox.pc
|
||||||
)
|
])
|
||||||
|
|
||||||
AC_OUTPUT
|
AC_OUTPUT
|
||||||
|
|
||||||
|
|
14
libratbox/libratbox.pc.in
Normal file
14
libratbox/libratbox.pc.in
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
prefix=@prefix@
|
||||||
|
exec_prefix=@exec_prefix@
|
||||||
|
datarootdir=@datarootdir@
|
||||||
|
data_dir=@datadir@/@PACKAGE_NAME@
|
||||||
|
|
||||||
|
version=@PACKAGE_VERSION@
|
||||||
|
include_dir=@includedir@/libratbox
|
||||||
|
lib_dir=@libdir@
|
||||||
|
|
||||||
|
Name: libratbox
|
||||||
|
Description: Portable runtime for ircd-ratbox and other things
|
||||||
|
Version: @PACKAGE_VERSION@
|
||||||
|
Libs: -L${lib_dir} -lratbox
|
||||||
|
Cflags: -I${include_dir}
|
Loading…
Reference in a new issue