mirror of
https://github.com/moparisthebest/pacman
synced 2024-12-21 23:38:49 -05:00
libalpm: add pkg-config file
No one seems to do this "correctly", but for the sake of having an easy method of detecting the presence and version of libalpm on a given system, we provide a straightforward .pc file. Signed-off-by: Dave Reisner <dreisner@archlinux.org>
This commit is contained in:
parent
953415c86a
commit
82b7122542
@ -449,6 +449,7 @@ AC_DEFINE_UNQUOTED([SCRIPTLET_SHELL], "$SCRIPTLET_SHELL", [The full path of the
|
|||||||
AC_CONFIG_FILES([
|
AC_CONFIG_FILES([
|
||||||
lib/libalpm/Makefile
|
lib/libalpm/Makefile
|
||||||
lib/libalpm/po/Makefile.in
|
lib/libalpm/po/Makefile.in
|
||||||
|
lib/libalpm/libalpm.pc
|
||||||
src/pacman/Makefile
|
src/pacman/Makefile
|
||||||
src/pacman/po/Makefile.in
|
src/pacman/po/Makefile.in
|
||||||
src/util/Makefile
|
src/util/Makefile
|
||||||
|
1
lib/libalpm/.gitignore
vendored
1
lib/libalpm/.gitignore
vendored
@ -2,3 +2,4 @@
|
|||||||
.libs
|
.libs
|
||||||
*.lo
|
*.lo
|
||||||
*.la
|
*.la
|
||||||
|
libalpm.pc
|
||||||
|
@ -23,6 +23,9 @@ if ENABLE_GNU89_INLINE_CC
|
|||||||
AM_CFLAGS += -fgnu89-inline
|
AM_CFLAGS += -fgnu89-inline
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
pkgconfigdir = $(libdir)/pkgconfig
|
||||||
|
pkgconfig_DATA = libalpm.pc
|
||||||
|
|
||||||
libalpm_la_SOURCES = \
|
libalpm_la_SOURCES = \
|
||||||
add.h add.c \
|
add.h add.c \
|
||||||
alpm.h alpm.c \
|
alpm.h alpm.c \
|
||||||
|
12
lib/libalpm/libalpm.pc.in
Normal file
12
lib/libalpm/libalpm.pc.in
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
prefix=@prefix@
|
||||||
|
exec_prefix=@exec_prefix@
|
||||||
|
libdir=@libdir@
|
||||||
|
includedir=@includedir@
|
||||||
|
|
||||||
|
Name: libalpm
|
||||||
|
Description: Arch Linux package management library
|
||||||
|
URL: http://www.archlinux.org/pacman/
|
||||||
|
Version: @VERSION@
|
||||||
|
Cflags: -I${includedir}
|
||||||
|
Libs: -L${libdir} -lalpm
|
||||||
|
Libs.private: @LIBS@ @LIBARCHIVE_LIBS@ @LIBSSL_LIBS@ @LIBCURL_LIBS@ @GPGME_LIBS@
|
Loading…
Reference in New Issue
Block a user