Contents of /trunk/core/dialog/dialog-1.3_20170131-r1.smage2
Parent Directory | Revision Log
Revision 28666 -
(show annotations)
(download)
Tue Mar 14 11:17:05 2017 UTC (7 years, 3 months ago) by niro
File size: 883 byte(s)
Tue Mar 14 11:17:05 2017 UTC (7 years, 3 months ago) by niro
File size: 883 byte(s)
auto added: ver bump to 1.3_20170131-r1
1 | # $Id$ |
2 | |
3 | PNAME="dialog" |
4 | PVER="1.3_20170131" |
5 | PBUILD="r1" |
6 | |
7 | PCAT="dev-util" |
8 | |
9 | DESCRIPTION="Dialog is a utility to create user interfaces for shell scripts." |
10 | HOMEPAGE="ftp://invisible-island.net/dialog/" |
11 | |
12 | DEPEND=">= app-shells/bash-4.2 |
13 | >= sys-libs/ncurses-6.0" |
14 | |
15 | SDEPEND=">= sys-dev/gettext-0.18" |
16 | |
17 | SRCFILE="${PNAME}-${PVER/_/-}.tgz" |
18 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER/_/-}" |
19 | |
20 | sminclude mbuild |
21 | msetfeature "!check" |
22 | |
23 | SRC_URI=( |
24 | ftp://invisible-island.net/${PNAME}/${SRCFILE} |
25 | mirror://${PNAME}/${SRCFILE} |
26 | ) |
27 | |
28 | UP2DATE="updatecmd ${HOMEPAGE} | grep .tgz | sed -n 's/.*-\(.*-.*\).tgz.*/\1/;s/-/_/g;$ p'" |
29 | |
30 | src_prepare() |
31 | { |
32 | munpack ${SRCFILE} || die |
33 | cd ${SRCDIR} |
34 | |
35 | sed -i '/$(LIBTOOL_COMPILE)/s:$: $(LIBTOOL_OPTS):' makefile.in || die |
36 | mlibtoolize || die |
37 | } |
38 | |
39 | src_compile() |
40 | { |
41 | cd ${SRCDIR} |
42 | |
43 | mconfigure --with-ncursesw --enable-nls --with-libtool --with-libtool-opts=-shared || die |
44 | mmake || die |
45 | } |