Annotation of /branches/R11-unstable/extras/slang/slang-2.2.4-r1.smage2
Parent Directory | Revision Log
Revision 25791 -
(hide annotations)
(download)
Tue Nov 25 04:18:41 2014 UTC (9 years, 10 months ago) by niro
File size: 1104 byte(s)
Tue Nov 25 04:18:41 2014 UTC (9 years, 10 months ago) by niro
File size: 1104 byte(s)
-release branches/R11-unstable
1 | niro | 22089 | # $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 | niro | 22090 | mirror://${PNAME}/${PNAME}-2.2.4-slsh-libs.patch |
28 | mirror://${PNAME}/${PNAME}-2.2.4-memset.patch | ||
29 | niro | 22089 | ) |
30 | |||
31 | UP2DATE="updatecmd ftp://ftp.fu-berlin.de/pub/unix/misc/${PNAME}/latest | highesttarball" | ||
32 | |||
33 | niro | 22094 | # disable parallel make |
34 | MAKEOPTS="-j1" | ||
35 | |||
36 | niro | 22089 | src_prepare() |
37 | { | ||
38 | munpack ${SRCFILE} || die | ||
39 | |||
40 | # fix build of slsh libs | ||
41 | niro | 22090 | 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 | niro | 22089 | } |
45 | |||
46 | src_compile() | ||
47 | { | ||
48 | mconfigure --with-readline=gnu --with-pcre --with-png --with-zlib || die | ||
49 | niro | 22094 | mmake all || die |
50 | niro | 22089 | } |
51 |