slang: Update to 2.2.4

- Removed fix-uclibc.patch as it's no longer required by the upstream
- Removed requirment for png as we only need limited support for slang
- fix license
- disable Parallel Make

(From OE-Core rev: 2f5ab5632e9c7be5fef5fcb57c52dbec7d0880f9)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Saul Wold 2011-04-15 15:16:21 -07:00 committed by Richard Purdie
parent 72ff136877
commit c51061112d
2 changed files with 10 additions and 19 deletions

View File

@ -1,11 +0,0 @@
--- slang-2.1.3.orig/src/slcommon.c 2007-01-10 18:09:07.000000000 +0200
+++ slang-2.1.3.orig/src/slcommon.c 2008-03-19 16:09:09.000000000 +0200
@@ -191,7 +191,7 @@
return p;
}
-#if !defined(HAVE_ISSETUGID) && defined(__GLIBC__) && (__GLIBC__ >= 2)
+#if !defined(HAVE_ISSETUGID) && defined(__GLIBC__) && (__GLIBC__ >= 2) && !defined(__UCLIBC__)
extern int __libc_enable_secure;
# define HAVE___LIBC_ENABLE_SECURE 1
#endif

View File

@ -10,23 +10,25 @@ to recode S-Lang procedures in C if you need to."
SECTION = "libs"
PRIORITY = "optional"
DEPENDS = "pcre"
PR = "r2"
PR = "r5"
LICENSE = "GPL Artistic"
LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=a52a18a472d4f7e45479b06563717c02"
SRC_URI = "ftp://space.mit.edu/pub/davis/slang/v2.2/OLD/slang-${PV}.tar.bz2 \
file://fix-uclibc.patch"
SRC_URI = "ftp://space.mit.edu/pub/davis/slang/v2.2/slang-${PV}.tar.bz2 \
"
inherit autotools
SRC_URI[md5sum] = "974437602a781cfe92ab61433dd16d03"
SRC_URI[sha256sum] = "cfaf8551fa3855f9b0043309bb553ef6d457f931b404df5a6ba6a5a69371fc42"
SRC_URI[md5sum] = "7fcfd447e378f07dd0c0bae671fe6487"
SRC_URI[sha256sum] = "9a8257a9a2a55099af858b13338dc8f3a06dd2069f46f0df2c9c3bb84a01d5db"
EXTRA_OECONF += " --x-includes=${STAGING_DIR_HOST}/usr/X11/include"
EXTRA_OECONF += " --without-png"
do_install() {
oe_runmake install DESTDIR=${D} -e 'INST_LIB_DIR=${STAGING_DIR_HOST}/usr/lib'
}
FILES_${PN} += "${datadir}/slsh/"
PARALLEL_MAKE = ""