This is an automated email from the git hooks/post-receive script. apo-guest pushed a commit to branch master in repository box2d.
commit 505c471d67ae88c1f466d54513452ab4578b9b2a Author: Markus Koschany <[email protected]> Date: Sat Nov 9 14:28:00 2013 +0000 Add Multiarch-aware pkg-config file. --- debian/box2d.pc.in | 10 ++++++++++ debian/changelog | 5 +++-- debian/libbox2d-dev.install | 1 + debian/rules | 13 ++++++++++--- 4 files changed, 24 insertions(+), 5 deletions(-) diff --git a/debian/box2d.pc.in b/debian/box2d.pc.in new file mode 100644 index 0000000..e56339d --- /dev/null +++ b/debian/box2d.pc.in @@ -0,0 +1,10 @@ +prefix=/usr +exec_prefix=${prefix} +libdir=${exec_prefix}/lib/${DEB_HOST_MULTIARCH} +includedir=${prefix}/include + +Name: Box2D +Description: 2D physics engine +Version: ${VER} +Libs: -L${libdir} -lBox2D +Cflags: -I${includedir} -I${includedir}/Box2D diff --git a/debian/changelog b/debian/changelog index f1139d8..7e7dd2f 100644 --- a/debian/changelog +++ b/debian/changelog @@ -14,8 +14,9 @@ box2d (2.3.0+ds-1) experimental; urgency=low - Drop dh-buildinfo from Build-Depends. It is not needed. - Multiarchify box2d. * Register documentation with doc-base. - * Drop debian-specific box2d.pc and Makefile. It is currently not needed by - any package and should be integrated by upstream. + * Drop Makefile. Not needed. + * Rename box2d.pc to box2d.pc.in. Update pkg-config file and make it aware of + Multiarch. * Update debian/copyright to copyright format 1.0. * Update to Standards-Version 3.9.5, no changes. * Add a new get-orig-source target to debian/rules. diff --git a/debian/libbox2d-dev.install b/debian/libbox2d-dev.install index e3900e2..cabfc20 100644 --- a/debian/libbox2d-dev.install +++ b/debian/libbox2d-dev.install @@ -1,3 +1,4 @@ usr/include/* usr/lib/*/libBox2D.a usr/lib/*/libBox2D.so +usr/lib/*/pkgconfig diff --git a/debian/rules b/debian/rules index b7f7eb2..9b3d2ad 100755 --- a/debian/rules +++ b/debian/rules @@ -1,8 +1,8 @@ #!/usr/bin/make -f #export DH_VERBOSE=1 -VER=2.3.0 -UURL= http://box2d.googlecode.com/svn/tags/v -PKG = box2d +VER = 2.3.0 +UURL = http://box2d.googlecode.com/svn/tags/v +PKG = box2d DTYPE = +ds %: @@ -24,6 +24,13 @@ override_dh_auto_build-indep: rdfind -outputname /dev/null -makesymlinks true Box2D/Documentation/API/html symlinks -rsc Box2D/Documentation/API/html +override_dh_auto_install: + dh_auto_install + mkdir -p debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/pkgconfig + sed -e 's/\$${DEB_HOST_MULTIARCH}/$(DEB_HOST_MULTIARCH)/' \ + -e 's/\$${VER}/$(VER)/' \ + debian/box2d.pc.in > debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/pkgconfig/box2d.pc + override_dh_installchangelogs: dh_installchangelogs Box2D/Changes.txt -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/box2d.git _______________________________________________ Pkg-games-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

