[Debian-iot-packaging] [duktape] 01/01: Import Debian changes 2.2.0-3

Thorsten Alteholz alteholz at moszumanska.debian.org
Sun Nov 26 16:10:41 UTC 2017


This is an automated email from the git hooks/post-receive script.

alteholz pushed a commit to branch master
in repository duktape.

commit 4c1d1b78a8baf3a27beb14bbe46124d8f1306565
Author: Thorsten Alteholz <debian at alteholz.de>
Date:   Fri Nov 24 19:23:21 2017 +0200

    Import Debian changes 2.2.0-3
    
    duktape (2.2.0-3) unstable; urgency=medium
    
      * add pkg-config file (Closes: #882379)
---
 debian/changelog           |  6 ++++++
 debian/control             | 42 ++++++++++++++++++++++++++++--------------
 debian/duktape-dev.install |  1 +
 debian/duktape.pc.in       | 10 ++++++++++
 debian/rules               |  3 ++-
 5 files changed, 47 insertions(+), 15 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 201a6a7..61d5cf0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+duktape (2.2.0-3) unstable; urgency=medium
+
+  * add pkg-config file (Closes: #882379)
+
+ -- Thorsten Alteholz <debian at alteholz.de>  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 --git a/debian/control b/debian/control
index 37c33cb..6116b93 100644
--- a/debian/control
+++ b/debian/control
@@ -14,28 +14,28 @@ Package: duktape
 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 @@ Section: libdevel
 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 @@ Multi-Arch: same
 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 --git a/debian/duktape-dev.install b/debian/duktape-dev.install
index a9f1084..53aad74 100755
--- a/debian/duktape-dev.install
+++ b/debian/duktape-dev.install
@@ -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 --git a/debian/duktape.pc.in b/debian/duktape.pc.in
new file mode 100644
index 0000000..bdac4d1
--- /dev/null
+++ b/debian/duktape.pc.in
@@ -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 --git a/debian/rules b/debian/rules
index a2e76c2..1dacf06 100755
--- a/debian/rules
+++ b/debian/rules
@@ -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:

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-iot/duktape.git



More information about the Debian-iot-packaging mailing list