summaryrefslogtreecommitdiffstats
path: root/debian/libdpdk.pc.in
diff options
context:
space:
mode:
authorLuca Boccassi <luca.boccassi@gmail.com>2016-07-26 12:11:38 +0100
committerLuca Boccassi <luca.boccassi@gmail.com>2016-07-26 20:12:52 +0100
commite2f183a2ae2710e60a8402863bab5ac7af7a0cc0 (patch)
tree11c560f02f81ea3cdf451d4210fd6922d03adc9d /debian/libdpdk.pc.in
parent8c0d2a5af176b9e9ff7e7b2aba51bd68c32f9d2e (diff)
Generate pkgconfig and ship it in libdpkg-dev
The content of the libdpdk.so linker script is read at build time and the libraries included are used to generate the LIBS flags. Also the version is read from the changelog. Change-Id: I52a6dd01706713feb91004d138dbeac7e870aca5 Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
Diffstat (limited to 'debian/libdpdk.pc.in')
-rw-r--r--debian/libdpdk.pc.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/debian/libdpdk.pc.in b/debian/libdpdk.pc.in
new file mode 100644
index 00000000..eff4f18e
--- /dev/null
+++ b/debian/libdpdk.pc.in
@@ -0,0 +1,10 @@
+prefix=/usr
+exec_prefix=${prefix}
+libdir=${prefix}/lib
+includedir=${prefix}/include
+
+Name: dpdk
+Description: Data Plane Development Kit library
+Version: @VERSION@
+Libs: -L${libdir} @DPDK_LIBS@ -ldl -lm -lpthread -lz
+Cflags: -I${includedir}/dpdk -include ${includedir}/dpdk/rte_config.h