Magellan Linux

Annotation of /trunk/extras/slang/slang-2.2.4-r3.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 32002 - (hide annotations) (download)
Tue Feb 12 12:45:41 2019 UTC (5 years, 3 months ago) by niro
File size: 1111 byte(s)
auto added: ver bump to 2.2.4-r3
1 niro 32002 # $Id$
2    
3     PNAME="slang"
4     PVER="2.2.4"
5     PBUILD="r3"
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.1
14     >= sys-libs/readline-8.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 mbuild
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