Annotation of /trunk/extras/slang/slang-2.2.4-r2.smage2
Parent Directory | Revision Log
Revision 28570 -
(hide annotations)
(download)
Fri Dec 30 13:16:08 2016 UTC (7 years, 8 months ago) by niro
File size: 1104 byte(s)
Fri Dec 30 13:16:08 2016 UTC (7 years, 8 months ago) by niro
File size: 1104 byte(s)
-readline-7.0 rebuild
1 | niro | 28570 | # $Id$ |
2 | |||
3 | PNAME="slang" | ||
4 | PVER="2.2.4" | ||
5 | PBUILD="r2" | ||
6 | |||
7 | PCAT="sys-libs" | ||
8 | |||
9 | DESCRIPTION="Console display library used by most text viewer" | ||
10 | HOMEPAGE="http://www.jedsoft.org/slang/" | ||
11 | |||
12 | # ncurses for ncurses5-config to get terminfo directory | ||
13 | DEPEND=">= sys-libs/ncurses-6.0 | ||
14 | >= sys-libs/readline-7.0 | ||
15 | >= dev-libs/libpcre-8 | ||
16 | >= media-libs/libpng-1.5 | ||
17 | >= sys-libs/zlib-1.2.8" | ||
18 | |||
19 | SRCFILE="${PNAME}-${PVER}.tar.bz2" | ||
20 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" | ||
21 | |||
22 | sminclude multilib | ||
23 | |||
24 | SRC_URI=( | ||
25 | ftp://ftp.fu-berlin.de/pub/unix/misc/${PNAME}/latest/${SRCFILE} | ||
26 | mirror://${PNAME}/${SRCFILE} | ||
27 | mirror://${PNAME}/${PNAME}-2.2.4-slsh-libs.patch | ||
28 | mirror://${PNAME}/${PNAME}-2.2.4-memset.patch | ||
29 | ) | ||
30 | |||
31 | UP2DATE="updatecmd ftp://ftp.fu-berlin.de/pub/unix/misc/${PNAME}/latest | highesttarball" | ||
32 | |||
33 | # disable parallel make | ||
34 | MAKEOPTS="-j1" | ||
35 | |||
36 | src_prepare() | ||
37 | { | ||
38 | munpack ${SRCFILE} || die | ||
39 | |||
40 | # fix build of slsh libs | ||
41 | mpatch ${PNAME}-2.2.4-slsh-libs.patch || die | ||
42 | # fix missing memset declaration for png | ||
43 | mpatch ${PNAME}-2.2.4-memset.patch || die | ||
44 | } | ||
45 | |||
46 | src_compile() | ||
47 | { | ||
48 | mconfigure --with-readline=gnu --with-pcre --with-png --with-zlib || die | ||
49 | mmake all || die | ||
50 | } | ||
51 |