Commit 468e9595 authored by Gregory Hermant's avatar Gregory Hermant Committed by Peter Korsgaard
Browse files

libpthsem: new package



[Peter: remove extra newlines]
[Thomas: various fixes/improvements]
Signed-off-by: default avatarGregory Hermant <gregory.hermant@calao-systems.com>
Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: default avatarPeter Korsgaard <jacmet@sunsite.dk>
parent 34006636
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -562,6 +562,7 @@ source "package/libglib2/Config.in"
source "package/libical/Config.in"
source "package/libnspr/Config.in"
source "package/libpfm4/Config.in"
source "package/libpthsem/Config.in"
source "package/libsigc/Config.in"
source "package/libtasn1/Config.in"
source "package/libtpl/Config.in"
+8 −0
Original line number Diff line number Diff line
config BR2_PACKAGE_LIBPTHSEM
	bool "libpthsem"
	select BR2_PACKAGE_ARGP_STANDALONE
	help
	  GNU pth is a user mode multi threading library. pthsem is an extend
	  version, with support for semaphores added.

	  http://www.auto.tuwien.ac.at/~mkoegler/pth/
+28 −0
Original line number Diff line number Diff line
From 2d0450bfa3fb7003098da1a7fe24c3ae140912dc Mon Sep 17 00:00:00 2001
From: Gregory Hermant <gregory.hermant@calao-systems.com>
Date: Mon, 22 Oct 2012 15:11:53 +0200
Subject: [PATCH] pthsem build on Linux 3.x host


Signed-off-by: Michael Markstaller <mm@elabnet.de>
Signed-off-by: Gregory Hermant <gregory.hermant@calao-systems.com>
---
 acinclude.m4 |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/acinclude.m4 b/acinclude.m4
index 03b42de..fea9bc8 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -892,6 +892,8 @@ case $PLATFORM in
         case "x`uname -r`" in
 changequote(, )dnl
             x2.[23456789]* ) ;;
+changequote(, )dnl
+            x3.* ) ;;
 changequote([, ])
             * ) braindead=yes ;;
         esac
-- 
1.7.9.5
+17 −0
Original line number Diff line number Diff line
#############################################################
#
# libpthsem
#
#############################################################

LIBPTHSEM_VERSION = 2.0.8
LIBPTHSEM_SOURCE = pthsem_$(LIBPTHSEM_VERSION).tar.gz
LIBPTHSEM_SITE = http://www.auto.tuwien.ac.at/~mkoegler/pth/
LIBPTHSEM_LICENSE = LGPLv2.1+
LIBPTHSEM_LICENSE_FILES = COPYING
LIBPTHSEM_AUTORECONF = YES
LIBPTHSEM_INSTALL_STAGING = YES
LIBPTHSEM_DEPENDENCIES = argp-standalone
LIBPTHSEM_CONFIG_SCRIPTS = pthsem-config

$(eval $(autotools-package))