[Debian-med-packaging] Bug#621887: closed by Andreas Tille <tille at debian.org>
Petr Salinger
Petr.Salinger at seznam.cz
Wed Dec 14 19:12:41 UTC 2011
Hi.
> please be so kind and provide a working patch. Currently I'm not able
> to login to a porter box and test myself.
Please use attached debian/rules.
Petr
-------------- next part --------------
#!/usr/bin/make -f
# debian/rules file for tecla
export DH_VERBOSE=1
%:
dh $@ --with autotools_dev
pkg := $(shell dpkg-parsechangelog | sed -n 's/^Source: //p')
name := $(pkg)
version=$(shell dpkg-parsechangelog | awk '/^Version/ { print $2 }' | cut -d- -f1 )
override_dh_auto_clean:
dh_autotools-dev_updateconfig
dh_auto_clean
override_dh_install:
dh_install
# Call d-shlibmove to comply with library packaging guide
d-devlibdeps debian/$(pkg)1-dev.substvars \
debian/tmp/usr/lib/$(name).so
d-shlibmove --commit \
--movedev "debian/tmp/usr/include/$(name).h" usr/include/ \
debian/tmp/usr/lib/$(name).so
# Remove unneeded *.la files according to
# http://lists.debian.org/debian-devel/2009/08/msg00783.html
# Release goal: Getting rid of unneeded *.la / emptying dependency_libs
#find debian -name "*.la" -delete
More information about the Debian-med-packaging
mailing list