[Xcb] Bug#620946: libpthread-stubs: Please add an udeb
Samuel Thibault
sthibault at debian.org
Sun Apr 10 15:41:25 PDT 2011
Here is a fixed (and completely tested) patch.
Samuel
-------------- next part --------------
--- debian/control.original 2011-04-10 14:29:16.000000000 +0000
+++ debian/control 2011-04-10 14:29:17.000000000 +0000
@@ -22,6 +22,14 @@
platforms which already supply all the necessary pthread stubs, this
package has no content.
+Package: libpthread-stubs0-udeb
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Package-Type: udeb
+Description: pthread stubs not provided by native libc - udeb
+ This is a udeb, or a microdeb, for the debian-installer.
+
Package: libpthread-stubs0-dev
Section: libdevel
Architecture: any
--- debian/rules.original 2011-04-10 14:31:08.000000000 +0000
+++ debian/rules 2011-04-10 15:08:33.000000000 +0000
@@ -6,6 +6,7 @@
include /usr/share/cdbs/1/class/autotools.mk
DEB_CONFIGURE_EXTRA_FLAGS=--prefix=/
+DEB_DH_MAKESHLIBS_ARGS_libpthread-stubs0=--add-udeb=libpthread-stubs0-udeb
debian/copyright: debian/copyright.debian COPYING
cat $+ > $@
@@ -19,6 +20,10 @@
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
if test -L debian/tmp/lib/libpthread-stubs.so.0; then dh_install -p$(cdbs_curpkg) debian/tmp/lib/libpthread-stubs.so.0; fi
+install/libpthread-stubs0-udeb::
+ 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
+ if test -L debian/tmp/lib/libpthread-stubs.so.0; then dh_install -p$(cdbs_curpkg) debian/tmp/lib/libpthread-stubs.so.0; fi
+
install/libpthread-stubs0-dev::
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
dh_install -p$(cdbs_curpkg) debian/tmp/lib/pkgconfig/pthread-stubs.pc usr/share/pkgconfig/
More information about the Xcb
mailing list