diff options
-rw-r--r-- | Makefile.am | 3 | ||||
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | rpm.pc.in | 15 |
3 files changed, 19 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index 117a89d51..9c5d1296a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -11,6 +11,9 @@ EXTRA_DIST = CHANGES ChangeLog CREDITS Doxyheader GROUPS INSTALL \ SUBDIRS = po misc @WITH_ZLIB_SUBDIR@ @WITH_ELFUTILS_SUBDIR@ @WITH_MAGIC_SUBDIR@ @WITH_DB_SUBDIR@ @WITH_SQLITE3_SUBDIR@ @WITH_POPT_SUBDIR@ @WITH_BEECRYPT_SUBDIR@ @WITH_NEON_SUBDIR@ lua rpmio rpmdb lib build @WITH_PYTHON_SUBDIR@ tools scripts doc . +pkgconfigdir = $(libdir)/pkgconfig +pkgconfig_DATA = rpm.pc + INCLUDES = \ -I$(top_srcdir)/build \ -I$(top_srcdir)/lib \ diff --git a/configure.ac b/configure.ac index e41f6c2ae..d38e21f3e 100644 --- a/configure.ac +++ b/configure.ac @@ -1234,7 +1234,7 @@ AC_SUBST(OBJDUMP) AC_CONFIG_SUBDIRS(db3) -AC_CONFIG_FILES([ Doxyfile Makefile rpmrc macros platform rpmpopt +AC_CONFIG_FILES([ Doxyfile Makefile rpmrc macros platform rpm.pc rpmpopt rpmio/Makefile rpmdb/Makefile lib/Makefile build/Makefile po/Makefile.in scripts/Makefile scripts/brp-redhat scripts/macros.perl scripts/macros.php scripts/macros.python diff --git a/rpm.pc.in b/rpm.pc.in new file mode 100644 index 000000000..eb8803312 --- /dev/null +++ b/rpm.pc.in @@ -0,0 +1,15 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ +rpmhome=@RPMCONFIGDIR@ + +Name: RPM +Description: RPM Package Manager +Version: @VERSION@ +URL: http://rpm.org +# Requires: +# Conflicts: +Cflags: -I${includedir}/rpm +Libs: -L${libdir} -lrpmbuild -lrpm -lrpmdb -lrpmio -lrpmmisc +Libs.private: -lpopt -lmagic -lbeecrypt -lrt -lpthread -lselinux |