Add libratbox.pc.in for out-of-tree libratbox build (think: packaging).

This commit is contained in:
William Pitcock 2008-06-10 22:02:10 -05:00
parent c7d01d2d7d
commit 3ea61d8132
3 changed files with 22 additions and 5 deletions

View File

@ -1,3 +1,6 @@
AUTOMAKE_OPTIONS = foreign
SUBDIRS = src
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = libratbox.pc

View File

@ -675,11 +675,11 @@ fi
)
AC_CONFIG_FILES( \
src/Makefile \
Makefile \
)
AC_CONFIG_FILES([
src/Makefile
Makefile
libratbox.pc
])
AC_OUTPUT

14
libratbox/libratbox.pc.in Normal file
View 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}