3 DEB_DH_INSTALL_SOURCEDIR=debian/tmp
5 include /usr/share/cdbs/1/rules/debhelper.mk
6 include /usr/share/cdbs/1/class/autotools.mk
8 DEB_CONFIGURE_EXTRA_FLAGS=--prefix=/
10 debian/copyright: debian/copyright.debian COPYING
14 -rm -f debian/copyright
16 common-install-prehook-arch common-install-prehook-indep:: debian/copyright
18 install/libpthread-stubs0::
19 if test -f debian/tmp/lib/libpthread-stubs.so.0.0.0; then dh_install -p$(cdbs_curpkg) debian/tmp/lib/libpthread-stubs.so.0.0.0; fi
20 if test -L debian/tmp/lib/libpthread-stubs.so.0; then dh_install -p$(cdbs_curpkg) debian/tmp/lib/libpthread-stubs.so.0; fi
22 install/libpthread-stubs0-dev::
23 if test -f debian/tmp/lib/libpthread-stubs.a; then dh_install -p$(cdbs_curpkg) debian/tmp/lib/libpthread-stubs.a usr/lib; ln -s /lib/libpthread-stubs.so.0.0.0 debian/libpthread-stubs0-dev/usr/lib/libpthread-stubs.so; fi
24 dh_install -p$(cdbs_curpkg) debian/tmp/lib/pkgconfig/pthread-stubs.pc usr/share/pkgconfig/