Bug#610814: libbox2d-dev: new upstream release (v2.2.1)

PICCORO McKAY Lenz mckaygerhard at gmail.com
Wed May 29 16:58:38 UTC 2013


please sorry.. pardon me

i do not upload the orig file due some problems on internet upload, i not
have permanet connection so i upload most important files.. let me upload
now:

now its done, please try it again ...

Here is what my rules file looks like currently and it somewhat works:
>
> %:
>         dh $@ --sourcedirectory=Build
>
> override_dh_auto_configure:
>         cd Build && cmake -DBOX2D_INSTALL=ON -DBOX2D_BUILD_SHARED=ON
> -DCMAKE_INSTALL_PREFIX=/usr ..
>
> override_dh_strip:
>         dh_strip --dbg-package=libbox2d2-dbg
>
> there's some more things.. i think its innnecesary the sourcedirectory if
u plan to override cofigure and build targes..

theres two changes possibles:

1) use tune overrides targes: hd_auto_build, dh_auto_configure, etc and
override always with cd Build & etc

in my rules files i use a backportable to dh level 6 rules , but i prefer
use more modern see number 2 option:

2) use dh tools, and parse to DH vars the CAMKLE conf flags, i let u this
example:

#!/usr/bin/make -f

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1


# multiarch support are added automatically in debhelper 9, but this for
backguards
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)

export DEB_LDFLAGS_MAINT_APPEND  := -Wl,--as-needed

CMAKE_CFLAGS_OPTIONS=$(shell dpkg-buildflags --get CFLAGS) $(shell
dpkg-buildflags --get CXXFLAGS)

# begin of debian rules parsing
%:

# parallel build was introduced into debhelper >= 7.5 so then squeeze must
have support
dh $@ --buildsystem=cmake --parallel

override_dh_auto_configure:
dh_auto_configure -- -DLIB_SUFFIX="/$(DEB_HOST_MULTIARCH)"
-DCMAKE_CXX_FLAGS_RELEASE="$(CMAKE_CFLAGS_OPTIONS)"
-DCMAKE_CXX_FLAGS="$(CMAKE_CFLAGS_OPTIONS)" -DBOX2D_INSTALL=ON
-DBOX2D_BUILD_SHARED=ON

# packagers need this for see changes in files installing over razorqt
updates
override_dh_install:
dh_install --list-missing --sourcedir=debian/tmp
override_dh_strip:
        dh_strip --dbg-package=libbox2d2-dbg

>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20130529/834138f8/attachment.html>


More information about the Pkg-games-devel mailing list