diff -Nru duktape-2.2.0/debian/changelog duktape-2.2.0/debian/changelog --- duktape-2.2.0/debian/changelog 2017-10-26 17:23:21.000000000 +0000 +++ duktape-2.2.0/debian/changelog 2017-11-24 17:23:21.000000000 +0000 @@ -1,3 +1,9 @@ +duktape (2.2.0-3) unstable; urgency=medium + + * add pkg-config file (Closes: #882379) + + -- Thorsten Alteholz Fri, 24 Nov 2017 19:23:21 +0200 + duktape (2.2.0-2) unstable; urgency=medium * add correct library link to dev-package (Closes: #879858) diff -Nru duktape-2.2.0/debian/control duktape-2.2.0/debian/control --- duktape-2.2.0/debian/control 2017-10-25 17:39:13.000000000 +0000 +++ duktape-2.2.0/debian/control 2017-11-24 17:23:21.000000000 +0000 @@ -14,28 +14,28 @@ Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: embeddable Javascript engine - Duktape is an embeddable Javascript engine, with a focus on portability + Duktape is an embeddable Javascript engine, with a focus on portability and compact footprint. . - Duktape is easy to integrate into a C/C++ project: add duktape.c, duktape.h, - and duk_config.h to your build, and use the Duktape API to call Ecmascript + Duktape is easy to integrate into a C/C++ project: add duktape.c, duktape.h, + and duk_config.h to your build, and use the Duktape API to call Ecmascript functions from C code and vice versa. . The main features are - - Embeddable, portable, compact: can run on platforms with + - Embeddable, portable, compact: can run on platforms with 256kB flash and 64kB system RAM - - Ecmascript E5/E5.1 compliant, some features borrowed from + - Ecmascript E5/E5.1 compliant, some features borrowed from Ecmascript E6 - Khronos/ES6 TypedArray and Node.js Buffer bindings - Built-in debugger - Built-in regular expression engine - Built-in Unicode support - Minimal platform dependencies - - Combined reference counting and mark-and-sweep garbage + - Combined reference counting and mark-and-sweep garbage collection with finalization - - Custom features like coroutines, built-in logging framework, + - Custom features like coroutines, built-in logging framework, and built-in CommonJS-based module loading framework - - Property virtualization using a subset of Ecmascript E6 Proxy + - Property virtualization using a subset of Ecmascript E6 Proxy object - Bytecode dump/load for caching compiled functions . @@ -47,11 +47,11 @@ Depends: ${misc:Depends} , libduktape202 (= ${binary:Version}) Description: embeddable Javascript engine, development files - Duktape is an embeddable Javascript engine, with a focus on portability + Duktape is an embeddable Javascript engine, with a focus on portability and compact footprint. . - Duktape is easy to integrate into a C/C++ project: add duktape.c, duktape.h, - and duk_config.h to your build, and use the Duktape API to call Ecmascript + Duktape is easy to integrate into a C/C++ project: add duktape.c, duktape.h, + and duk_config.h to your build, and use the Duktape API to call Ecmascript functions from C code and vice versa. . This package contains all source files to use in own projects. @@ -62,11 +62,25 @@ Depends: ${shlibs:Depends} , ${misc:Depends} Description: embeddable Javascript engine, library - Duktape is an embeddable Javascript engine, with a focus on portability + Duktape is an embeddable Javascript engine, with a focus on portability and compact footprint. . - Duktape is easy to integrate into a C/C++ project: add duktape.c, duktape.h, - and duk_config.h to your build, and use the Duktape API to call Ecmascript + Duktape is easy to integrate into a C/C++ project: add duktape.c, duktape.h, + and duk_config.h to your build, and use the Duktape API to call Ecmascript functions from C code and vice versa. . This package contains the shared library. + + + + + + + + + + + + + + diff -Nru duktape-2.2.0/debian/duktape-dev.install duktape-2.2.0/debian/duktape-dev.install --- duktape-2.2.0/debian/duktape-dev.install 2017-10-26 17:23:21.000000000 +0000 +++ duktape-2.2.0/debian/duktape-dev.install 2017-11-24 09:03:39.000000000 +0000 @@ -2,3 +2,4 @@ src/* usr/share/duktape src/*.h usr/include tmp-build/lib/libduktape.so usr/lib/${DEB_HOST_MULTIARCH}/ +debian/duktape.pc usr/lib/${DEB_HOST_MULTIARCH}/pkgconfig diff -Nru duktape-2.2.0/debian/duktape.pc.in duktape-2.2.0/debian/duktape.pc.in --- duktape-2.2.0/debian/duktape.pc.in 1970-01-01 00:00:00.000000000 +0000 +++ duktape-2.2.0/debian/duktape.pc.in 2017-11-24 17:23:21.000000000 +0000 @@ -0,0 +1,10 @@ +prefix=/usr +exec_prefix=${prefix} +libdir=${exec_prefix}/lib/#TRIPLE# +includedir=${prefix}/include + +Name: duktape +Description: Embeddable Javascript engine +Version: 2.2.0 +Libs: -L${libdir} -lduktape +Cflags: -I${includedir} diff -Nru duktape-2.2.0/debian/rules duktape-2.2.0/debian/rules --- duktape-2.2.0/debian/rules 2017-10-25 17:39:13.000000000 +0000 +++ duktape-2.2.0/debian/rules 2017-11-24 17:23:21.000000000 +0000 @@ -6,12 +6,13 @@ export DEB_BUILD_MAINT_OPTIONS=noddebs %: - dh $@ + dh $@ override_dh_auto_build: mkdir -p tmp-build/lib tmp-build/include make -f Makefile.sharedlibrary install make -f Makefile.cmdline + cat debian/duktape.pc.in|sed "s/#TRIPLE#/$(DEB_HOST_MULTIARCH)/g" > debian/duktape.pc dh_auto_build override_dh_auto_clean: