summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/slang/slang_2.3.1a.bb
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2017-02-21 17:44:28 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-03-01 23:27:09 +0000
commit35afc1f97c281815fdda5ecf7cdb40adc3675f62 (patch)
treea98c4feb5f1c1c5625c438b068d363b76f9e3cf0 /meta/recipes-extended/slang/slang_2.3.1a.bb
parent6e1aad45967b1f4f52d919a886a2dd394e45e2d2 (diff)
downloadpoky-35afc1f97c281815fdda5ecf7cdb40adc3675f62.tar.gz
slang: 2.3.1 -> 2.3.1a
(From OE-Core rev: 8fd956d4706ee115b03b02a91c7e761576b42d0a) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/slang/slang_2.3.1a.bb')
-rw-r--r--meta/recipes-extended/slang/slang_2.3.1a.bb57
1 files changed, 57 insertions, 0 deletions
diff --git a/meta/recipes-extended/slang/slang_2.3.1a.bb b/meta/recipes-extended/slang/slang_2.3.1a.bb
new file mode 100644
index 0000000000..c71d80481f
--- /dev/null
+++ b/meta/recipes-extended/slang/slang_2.3.1a.bb
@@ -0,0 +1,57 @@
1SUMMARY = "The shared library for the S-Lang extension language"
2
3DESCRIPTION = "S-Lang is an interpreted language and a programming library. The \
4S-Lang language was designed so that it can be easily embedded into \
5a program to provide the program with a powerful extension language. \
6The S-Lang library, provided in this package, provides the S-Lang \
7extension language. S-Lang's syntax resembles C, which makes it easy \
8to recode S-Lang procedures in C if you need to."
9
10HOMEPAGE = "http://www.jedsoft.org/slang/"
11SECTION = "libs"
12DEPENDS = "ncurses virtual/libiconv"
13
14LICENSE = "GPLv2"
15LIC_FILES_CHKSUM = "file://COPYING;md5=a52a18a472d4f7e45479b06563717c02"
16
17SRC_URI = "http://www.jedsoft.org/releases/${BPN}/${BP}.tar.bz2 \
18 file://no-x.patch \
19 file://dont-link-to-host.patch \
20 "
21
22SRC_URI[md5sum] = "c5235313042ed0e71ec708f7b85ec241"
23SRC_URI[sha256sum] = "54f0c3007fde918039c058965dffdfd6c5aec0bad0f4227192cc486021f08c36"
24
25UPSTREAM_CHECK_URI = "http://www.jedsoft.org/releases/slang/"
26PREMIRRORS_append = "\n http://www.jedsoft.org/releases/slang/.* http://www.jedsoft.org/releases/slang/old/ \n"
27
28inherit autotools-brokensep
29CLEANBROKEN = "1"
30
31EXTRA_OECONF = "--without-onig"
32# There's no way to turn off rpaths and slang will -rpath to the default search
33# path. Unset RPATH to stop this.
34EXTRA_OEMAKE = "RPATH=''"
35
36PACKAGECONFIG ??= "pcre"
37PACKAGECONFIG[pcre] = "--with-pcre=${STAGING_DIR_HOST}${prefix},--without-pcre,pcre"
38PACKAGECONFIG[png] = "--with-png=${STAGING_DIR_HOST}${prefix},--without-png,libpng"
39PACKAGECONFIG[zlib] = "--with-z=${STAGING_DIR_HOST}${prefix},--without-z,zlib"
40
41do_configure_prepend() {
42 cd ${S}/autoconf
43 # slang keeps configure.ac and rest of autoconf files in autoconf/ directory
44 # we have to go there to be able to run gnu-configize cause it expects configure.{in,ac}
45 # to be present. Resulting files land in autoconf/autoconf/ so we need to move them.
46 gnu-configize --force && mv autoconf/config.* .
47 # For the same reason we also need to run autoconf manually.
48 autoconf && mv configure ..
49 cd ${B}
50}
51
52FILES_${PN} += "${libdir}/${BPN}/v2/modules/ ${datadir}/slsh/"
53
54PARALLEL_MAKE = ""
55PARALLEL_MAKEINST = ""
56
57BBCLASSEXTEND = "native"