diff options
author | Jamey Sharp <jamey@minilop.net> | 2006-11-24 03:14:12 -0800 |
---|---|---|
committer | Jamey Sharp <jamey@minilop.net> | 2006-11-24 03:14:12 -0800 |
commit | 9b549c4185a7da96bf574b25a2369613ea7100b5 (patch) | |
tree | 67a14a9dbee7800ab2b8d1c91f140b05d943cfde | |
parent | 915145a94c523fb758215b05e3f297c71627e67b (diff) |
Initial Debian packaging.debian-0.1-1
-rw-r--r-- | debian/changelog | 6 | ||||
-rw-r--r-- | debian/control | 39 | ||||
-rw-r--r-- | debian/copyright.debian | 11 | ||||
-rwxr-xr-x | debian/rules | 23 | ||||
-rw-r--r-- | debian/watch | 2 |
5 files changed, 81 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..9d700e2 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,6 @@ +libpthread-stubs (0.1-1) experimental; urgency=low + + * Initial release. + + -- Jamey Sharp <sharpone@debian.org> Fri, 24 Nov 2006 01:01:49 -0800 + diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..115574e --- /dev/null +++ b/debian/control @@ -0,0 +1,39 @@ +Source: libpthread-stubs +Priority: optional +Section: libdevel +Maintainer: XCB Developers <xcb@lists.freedesktop.org> +Uploaders: Jamey Sharp <sharpone@debian.org>, Josh Triplett <josh@freedesktop.org> +Build-Depends: cdbs (>= 0.4.40), debhelper (>= 5.0.0) +Standards-Version: 3.7.2 +XS-X-Vcs-Git: git://anongit.freedesktop.org/git/xcb/pthread-stubs + +Package: libpthread-stubs0 +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: pthread stubs not provided by native libc + This library provides weak aliases for pthread functions not provided + in libc or otherwise available by default. Libraries like libxcb rely + on pthread stubs to use pthreads optionally, becoming thread-safe when + linked to libpthread, while avoiding any performance hit when running + single-threaded. libpthread-stubs supports this behavior even on + platforms which do not supply all the necessary pthread stubs. On + platforms which already supply all the necessary pthread stubs, this + package has no content. + +Package: libpthread-stubs0-dev +Section: libdevel +Architecture: any +Depends: libpthread-stubs0 (= ${Source-Version}) +Description: pthread stubs not provided by native libc, development files + This library provides weak aliases for pthread functions not provided + in libc or otherwise available by default. Libraries like libxcb rely + on pthread stubs to use pthreads optionally, becoming thread-safe when + linked to libpthread, while avoiding any performance hit when running + single-threaded. libpthread-stubs supports this behavior even on + platforms which do not supply all the necessary pthread stubs. + . + On platforms which already supply all the necessary pthread stubs, this + package ships only the pkg-config file pthread-stubs.pc, to allow + libraries to unconditionally express a dependency on pthread-stubs and + still obtain correct behavior. diff --git a/debian/copyright.debian b/debian/copyright.debian new file mode 100644 index 0000000..41bc062 --- /dev/null +++ b/debian/copyright.debian @@ -0,0 +1,11 @@ +This package was debianized by Jamey Sharp <sharpone@debian.org> on +Fri, 24 Nov 2006 01:01:49 -0800. The package is co-maintained by the +XCB developers via the XCB mailing list <xcb@lists.freedesktop.org>. + +It was downloaded from http://xcb.freedesktop.org/dist + +Upstream Authors: Jamey Sharp <sharpone@debian.org> + Josh Triplett <josh@freedesktop.org> + +Copyright: + diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..9b08970 --- /dev/null +++ b/debian/rules @@ -0,0 +1,23 @@ +#!/usr/bin/make -f + +DEB_DH_INSTALL_SOURCEDIR=debian/tmp + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/autotools.mk + +debian/copyright: debian/copyright.debian COPYING + cat $+ > $@ + +clean:: + -rm -f debian/copyright + +common-install-prehook-arch common-install-prehook-indep:: debian/copyright + +install/libpthread-stubs0:: + if test -f debian/tmp/usr/lib/libpthread-stubs.so.0.0.0; then dh_install -p$(cdbs_curpkg) debian/tmp/usr/lib/libpthread-stubs.so.0.0.0; fi + if test -L debian/tmp/usr/lib/libpthread-stubs.so.0; then dh_install -p$(cdbs_curpkg) debian/tmp/usr/lib/libpthread-stubs.so.0; fi + +install/libpthread-stubs0-dev:: + if test -f debian/tmp/usr/lib/libpthread-stubs.a; then dh_install -p$(cdbs_curpkg) debian/tmp/usr/lib/libpthread-stubs.a; fi + if test -L debian/tmp/usr/lib/libpthread-stubs.so; then dh_install -p$(cdbs_curpkg) debian/tmp/usr/lib/libpthread-stubs.so; fi + dh_install -p$(cdbs_curpkg) debian/tmp/usr/lib/pkgconfig/pthread-stubs.pc usr/share/pkgconfig/
\ No newline at end of file diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..8dbf88a --- /dev/null +++ b/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://xcb.freedesktop.org/dist/libpthread-stubs-([0-9].*)\.tar\.gz |