Magellan Linux

Contents of /branches/R11-stable/extras/slang/slang-2.2.4-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 22948 - (show annotations) (download)
Tue Oct 28 09:18:13 2014 UTC (9 years, 6 months ago) by niro
File size: 1104 byte(s)
-release branches/R11-stable
1 # $Id$
2
3 PNAME="slang"
4 PVER="2.2.4"
5 PBUILD="r1"
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-5.9
14 >= sys-libs/readline-6.3
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