From b115d74015a1caf17df790a95875afa2a387b63c Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Mon, 8 Jun 2020 23:01:57 +0200 Subject: Rename pkg-config file to include major version --- configure.ac | 2 +- src/Makefile.am | 2 +- src/libirecovery-1.0.pc.in | 11 +++++++++++ src/libirecovery.pc.in | 11 ----------- 4 files changed, 13 insertions(+), 13 deletions(-) create mode 100644 src/libirecovery-1.0.pc.in delete mode 100644 src/libirecovery.pc.in diff --git a/configure.ac b/configure.ac index 962fecf..d35b289 100644 --- a/configure.ac +++ b/configure.ac @@ -183,7 +183,7 @@ m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])]) AC_OUTPUT([ Makefile src/Makefile -src/libirecovery.pc +src/libirecovery-1.0.pc include/Makefile tools/Makefile udev/Makefile diff --git a/src/Makefile.am b/src/Makefile.am index 24a1aa3..538c2ca 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -22,4 +22,4 @@ libirecovery_la_LDFLAGS += -avoid-version endif pkgconfigdir = $(libdir)/pkgconfig -pkgconfig_DATA = libirecovery.pc +pkgconfig_DATA = libirecovery-1.0.pc diff --git a/src/libirecovery-1.0.pc.in b/src/libirecovery-1.0.pc.in new file mode 100644 index 0000000..11ac86a --- /dev/null +++ b/src/libirecovery-1.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 iBoot/iBSS on iOS devices via USB +Version: @PACKAGE_VERSION@ +Libs: -L${libdir} -lirecovery +Cflags: -I${includedir} +Requires.private: @LIBUSB_REQUIRED@ diff --git a/src/libirecovery.pc.in b/src/libirecovery.pc.in deleted file mode 100644 index 11ac86a..0000000 --- a/src/libirecovery.pc.in +++ /dev/null @@ -1,11 +0,0 @@ -prefix=@prefix@ -exec_prefix=@exec_prefix@ -libdir=@libdir@ -includedir=@includedir@ - -Name: @PACKAGE_NAME@ -Description: A library to communicate with iBoot/iBSS on iOS devices via USB -Version: @PACKAGE_VERSION@ -Libs: -L${libdir} -lirecovery -Cflags: -I${includedir} -Requires.private: @LIBUSB_REQUIRED@ -- cgit v1.1-32-gdbae