libpthread-stubs: add .inc file, INC_PR, native and nativesdk BBCLASSEXTEND
authorMartin Jansa <Martin.Jansa@gmail.com>
Tue, 28 Sep 2010 15:47:39 +0000 (17:47 +0200)
committerMartin Jansa <Martin.Jansa@gmail.com>
Tue, 28 Sep 2010 20:29:45 +0000 (22:29 +0200)
* needed for libxcb-native

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
recipes/xcb/libpthread-stubs.inc [new file with mode: 0644]
recipes/xcb/libpthread-stubs_0.1.bb
recipes/xcb/libpthread-stubs_0.2.bb
recipes/xcb/libpthread-stubs_0.3.bb

diff --git a/recipes/xcb/libpthread-stubs.inc b/recipes/xcb/libpthread-stubs.inc
new file mode 100644 (file)
index 0000000..9c65496
--- /dev/null
@@ -0,0 +1,14 @@
+DESCRIPTION = "This library provides weak aliases for pthread functions \
+not provided in libc or otherwise available by default."
+SECTION = "x11/libs"
+LICENSE = "MIT-X"
+HOMEPAGE = "http://xcb.freedesktop.org"
+INC_PR = "r2"
+
+BBCLASSEXTEND = "native nativesdk"
+
+PARALLEL_MAKE = ""
+
+SRC_URI = "http://xcb.freedesktop.org/dist/${BPN}-${PV}.tar.bz2"
+
+inherit autotools pkgconfig
index 0f2dd10..38d05d8 100644 (file)
@@ -1,17 +1,5 @@
-DESCRIPTION = "This library provides weak aliases for pthread functions \
-not provided in libc or otherwise available by default."
-SECTION = "x11/libs"
-LICENSE = "MIT-X"
-HOMEPAGE = "http://xcb.freedesktop.org"
-PR = "r1"
-
-PARALLEL_MAKE = ""
-#DEPENDS = "xcb-proto xproto libxau libxslt-native"
-# DEPENDS += "xsltproc-native gperf-native"
-
-SRC_URI = "http://xcb.freedesktop.org/dist/libpthread-stubs-${PV}.tar.bz2"
-
-inherit autotools pkgconfig
+require libpthread-stubs.inc
+PR = "${INC_PR}.0"
 
 SRC_URI[md5sum] = "774eabaf33440d534efe108ef9130a7d"
 SRC_URI[sha256sum] = "004dae11e11598584939d66d26a5ab9b48d08a00ca2d00ae8d38ee3ac7a15d65"
index 068c667..f0cdd2f 100644 (file)
@@ -1,17 +1,5 @@
-DESCRIPTION = "This library provides weak aliases for pthread functions \
-not provided in libc or otherwise available by default."
-SECTION = "x11/libs"
-LICENSE = "MIT-X"
-HOMEPAGE = "http://xcb.freedesktop.org"
-PR = "r1"
-
-PARALLEL_MAKE = ""
-#DEPENDS = "xcb-proto xproto libxau libxslt-native"
-# DEPENDS += "xsltproc-native gperf-native"
-
-SRC_URI = "http://xcb.freedesktop.org/dist/libpthread-stubs-${PV}.tar.bz2"
-
-inherit autotools pkgconfig
+require libpthread-stubs.inc
+PR = "${INC_PR}.0"
 
 SRC_URI[md5sum] = "2ba9ce2d46da0a2a1090384ece3387ff"
 SRC_URI[sha256sum] = "d4c47c24e5ec07e974a7ef8f55b2907dd7fa8de82e291a02b15f8c4a7028bf48"
index bad516e..3f477e6 100644 (file)
@@ -1,20 +1,8 @@
-DESCRIPTION = "This library provides weak aliases for pthread functions \
-not provided in libc or otherwise available by default."
-SECTION = "x11/libs"
-LICENSE = "MIT-X"
-HOMEPAGE = "http://xcb.freedesktop.org"
-PR = "r1"
+require libpthread-stubs.inc
+PR = "${INC_PR}.0"
 
 # For unknown reason doesn't create libpthread-stubs.la
 DEFAULT_PREFERENCE = "-1"
 
-PARALLEL_MAKE = ""
-#DEPENDS = "xcb-proto xproto libxau libxslt-native"
-# DEPENDS += "xsltproc-native gperf-native"
-
-SRC_URI = "http://xcb.freedesktop.org/dist/libpthread-stubs-${PV}.tar.bz2"
-
-inherit autotools pkgconfig
-
 SRC_URI[md5sum] = "e8fa31b42e13f87e8f5a7a2b731db7ee"
 SRC_URI[sha256sum] = "35b6d54e3cc6f3ba28061da81af64b9a92b7b757319098172488a660e3d87299"