0
0
Fork 0
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:
William Pitcock 2008-06-10 22:02:10 -05:00
parent f17c2ef84c
commit af240db72b
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}