diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2017-02-21 17:44:28 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-03-01 23:27:09 +0000 |
commit | 35afc1f97c281815fdda5ecf7cdb40adc3675f62 (patch) | |
tree | a98c4feb5f1c1c5625c438b068d363b76f9e3cf0 /meta/recipes-extended/slang/slang_2.3.1a.bb | |
parent | 6e1aad45967b1f4f52d919a886a2dd394e45e2d2 (diff) | |
download | poky-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.bb | 57 |
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 @@ | |||
1 | SUMMARY = "The shared library for the S-Lang extension language" | ||
2 | |||
3 | DESCRIPTION = "S-Lang is an interpreted language and a programming library. The \ | ||
4 | S-Lang language was designed so that it can be easily embedded into \ | ||
5 | a program to provide the program with a powerful extension language. \ | ||
6 | The S-Lang library, provided in this package, provides the S-Lang \ | ||
7 | extension language. S-Lang's syntax resembles C, which makes it easy \ | ||
8 | to recode S-Lang procedures in C if you need to." | ||
9 | |||
10 | HOMEPAGE = "http://www.jedsoft.org/slang/" | ||
11 | SECTION = "libs" | ||
12 | DEPENDS = "ncurses virtual/libiconv" | ||
13 | |||
14 | LICENSE = "GPLv2" | ||
15 | LIC_FILES_CHKSUM = "file://COPYING;md5=a52a18a472d4f7e45479b06563717c02" | ||
16 | |||
17 | SRC_URI = "http://www.jedsoft.org/releases/${BPN}/${BP}.tar.bz2 \ | ||
18 | file://no-x.patch \ | ||
19 | file://dont-link-to-host.patch \ | ||
20 | " | ||
21 | |||
22 | SRC_URI[md5sum] = "c5235313042ed0e71ec708f7b85ec241" | ||
23 | SRC_URI[sha256sum] = "54f0c3007fde918039c058965dffdfd6c5aec0bad0f4227192cc486021f08c36" | ||
24 | |||
25 | UPSTREAM_CHECK_URI = "http://www.jedsoft.org/releases/slang/" | ||
26 | PREMIRRORS_append = "\n http://www.jedsoft.org/releases/slang/.* http://www.jedsoft.org/releases/slang/old/ \n" | ||
27 | |||
28 | inherit autotools-brokensep | ||
29 | CLEANBROKEN = "1" | ||
30 | |||
31 | EXTRA_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. | ||
34 | EXTRA_OEMAKE = "RPATH=''" | ||
35 | |||
36 | PACKAGECONFIG ??= "pcre" | ||
37 | PACKAGECONFIG[pcre] = "--with-pcre=${STAGING_DIR_HOST}${prefix},--without-pcre,pcre" | ||
38 | PACKAGECONFIG[png] = "--with-png=${STAGING_DIR_HOST}${prefix},--without-png,libpng" | ||
39 | PACKAGECONFIG[zlib] = "--with-z=${STAGING_DIR_HOST}${prefix},--without-z,zlib" | ||
40 | |||
41 | do_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 | |||
52 | FILES_${PN} += "${libdir}/${BPN}/v2/modules/ ${datadir}/slsh/" | ||
53 | |||
54 | PARALLEL_MAKE = "" | ||
55 | PARALLEL_MAKEINST = "" | ||
56 | |||
57 | BBCLASSEXTEND = "native" | ||