summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package/jack2/Makefile6
-rw-r--r--package/jack2/files/jack.pc.in11
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