Annotation of /trunk/extras/newt/newt-0.52.20-r2.smage2
Parent Directory | Revision Log
Revision 29020 -
(hide annotations)
(download)
Wed May 17 14:47:58 2017 UTC (7 years, 4 months ago) by niro
File size: 920 byte(s)
Wed May 17 14:47:58 2017 UTC (7 years, 4 months ago) by niro
File size: 920 byte(s)
-fixed multilib issues
1 | niro | 29018 | # $Id$ |
2 | |||
3 | PNAME="newt" | ||
4 | PVER="0.52.20" | ||
5 | PBUILD="r2" | ||
6 | |||
7 | PCAT="dev-libs" | ||
8 | |||
9 | DESCRIPTION="A library for text mode user interfaces." | ||
10 | HOMEPAGE="https://fedorahosted.org/newt/" | ||
11 | |||
12 | DEPEND=">= dev-libs/popt-1.16 | ||
13 | >= sys-libs/slang-2.2" | ||
14 | |||
15 | SDEPEND=">= dev-lang/python-2.7 | ||
16 | >= dev-lang/tcl-8.6" | ||
17 | |||
18 | SRCFILE="${PNAME}-${PVER}.tar.gz" | ||
19 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" | ||
20 | |||
21 | msetfeature "!check" | ||
22 | sminclude multilib | ||
23 | |||
24 | SRC_URI=( | ||
25 | https://fedorahosted.org/releases/${PNAME:0:1}/${PNAME:1:1}/${PNAME}/${SRCFILE} | ||
26 | mirror://${PNAME}/${SRCFILE} | ||
27 | ) | ||
28 | |||
29 | UP2DATE="updatecmd https://fedorahosted.org/releases/${PNAME:0:1}/${PNAME:1:1}/${PNAME}/ | highesttarball gz" | ||
30 | |||
31 | src_prepare() | ||
32 | { | ||
33 | munpack ${SRCFILE} || die | ||
34 | |||
35 | # fix hardcoded tcl version and use DESTDIR | ||
36 | niro | 29019 | all-abis sed -i -e "s:-ltcl8.4:-ltcl:g" -e "s:instroot:DESTDIR:g" Makefile.in || die |
37 | all-abis echo '#define USE_INTERP_RESULT 1' >> config.h | ||
38 | niro | 29018 | } |
39 | |||
40 | src_compile() | ||
41 | { | ||
42 | mconfigure --with-tcl || die | ||
43 | mmake || die | ||
44 | } |