diff options
author | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2016-01-31 17:45:18 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2016-01-31 17:45:18 +0100 |
commit | 9ce4df1033ebe5a69f552202d98838d5a2bc2873 (patch) | |
tree | c47cf974a600925e9127afc9619173ebd5baa30f | |
parent | ab47e79592630bedcde15eacf42d0a1ebc6d66dd (diff) |
jack2: generate a valid pc file
-rw-r--r-- | package/jack2/Makefile | 6 | ||||
-rw-r--r-- | package/jack2/files/jack.pc.in | 11 |
2 files changed, 17 insertions, 0 deletions
diff --git a/package/jack2/Makefile b/package/jack2/Makefile index 887b45e2e..23429e4a7 100644 --- a/package/jack2/Makefile +++ b/package/jack2/Makefile @@ -41,5 +41,11 @@ jack2-install: $(IDIR_JACK2)/usr/lib $(CP) $(WRKINST)/usr/lib/jack/*.so \ $(IDIR_JACK2)/usr/lib/jack + $(CP) ./files/jack.pc.in $(WRKINST)/usr/lib/pkgconfig/jack.pc + $(SED) "s#@INCLUDEDIR@#$(STAGING_TARGET_DIR)/usr/include#" \ + -e "s#@LIBDIR@#$(STAGING_TARGET_DIR)/usr/lib#" \ + -e "s#@PREFIX@#$(STAGING_TARGET_DIR)/usr#" \ + $(WRKINST)/usr/lib/pkgconfig/jack.pc + include ${ADK_TOPDIR}/mk/pkg-bottom.mk diff --git a/package/jack2/files/jack.pc.in b/package/jack2/files/jack.pc.in new file mode 100644 index 000000000..5b49c3cc8 --- /dev/null +++ b/package/jack2/files/jack.pc.in @@ -0,0 +1,11 @@ +prefix=@PREFIX@ +exec_prefix=@PREFIX@ +libdir=@LIBDIR@ +includedir=/home/wbx/openadk/target_qemu-arm-realview-eb-mpcore_uclibc-ng_arm_hard_eabihf/usr/include +server_libs=-L@LIBDIR@ -ljackserver + +Name: jack +Description: the Jack Audio Connection Kit: a low-latency synchronous callback-based media server +Version: 1.9.10 +Libs: -L@LIBDIR@ -ljack +Cflags: -I/home/wbx/openadk/target_qemu-arm-realview-eb-mpcore_uclibc-ng_arm_hard_eabihf/usr/include |