From 60563619921981bbc76ffc4647f89542d3b3f107 Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Mon, 8 Jun 2020 23:39:25 +0200 Subject: Move pkg-config file into src dir and rename it to include major version as standard recommends --- src/Makefile.am | 3 +++ src/libusbmuxd-2.0.pc.in | 11 +++++++++++ 2 files changed, 14 insertions(+) create mode 100644 src/libusbmuxd-2.0.pc.in (limited to 'src') diff --git a/src/Makefile.am b/src/Makefile.am index 38b137b..90057aa 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -12,3 +12,6 @@ if WIN32 libusbmuxd_la_LDFLAGS += -avoid-version -static-libgcc libusbmuxd_la_LIBADD += -lws2_32 endif + +pkgconfigdir = $(libdir)/pkgconfig +pkgconfig_DATA = libusbmuxd-2.0.pc diff --git a/src/libusbmuxd-2.0.pc.in b/src/libusbmuxd-2.0.pc.in new file mode 100644 index 0000000..3385bc9 --- /dev/null +++ b/src/libusbmuxd-2.0.pc.in @@ -0,0 +1,11 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ + +Name: @PACKAGE_NAME@ +Description: A library to communicate with the usbmux daemon +Version: @PACKAGE_VERSION@ +Libs: -L${libdir} -lusbmuxd +Cflags: -I${includedir} +Requires.private: libplist >= @LIBPLIST_VERSION@ \ No newline at end of file -- cgit v1.1-32-gdbae