Add libratbox.pc.in for out-of-tree libratbox build (think: packaging).
This commit is contained in:
parent
c7d01d2d7d
commit
3ea61d8132
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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 New Issue