Contents of /trunk/core/dialog/dialog-1.3_20171209-r1.smage2
Parent Directory | Revision Log
Revision 30337 -
(show annotations)
(download)
Wed Dec 13 09:22:55 2017 UTC (6 years, 9 months ago) by niro
File size: 1054 byte(s)
Wed Dec 13 09:22:55 2017 UTC (6 years, 9 months ago) by niro
File size: 1054 byte(s)
auto added: ver bump to 1.3_20171209-r1
1 | # $Id$ |
2 | |
3 | PNAME="dialog" |
4 | PVER="1.3_20171209" |
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 | http://invisible-mirror.net/archives/${PNAME}/${SRCFILE} |
25 | #ftp://invisible-island.net/${PNAME}/${SRCFILE} |
26 | mirror://${PNAME}/${SRCFILE} |
27 | ) |
28 | |
29 | UP2DATE="updatecmd http://invisible-mirror.net/archives/${PNAME}/ | grep .tgz | sed -n 's/.*-\(.*-.*\).tgz.*/\1/;s/-/_/g;$ p'" |
30 | |
31 | src_prepare() |
32 | { |
33 | munpack ${SRCFILE} || die |
34 | cd ${SRCDIR} |
35 | |
36 | # enable libtool opts |
37 | sed -i '/$(LIBTOOL_COMPILE)/s:$: $(LIBTOOL_OPTS):' makefile.in || die |
38 | # fixed tag issue |
39 | sed -i 's:= @LIBTOOL@:& --tag=CC:' makefile.in || die |
40 | } |
41 | |
42 | src_compile() |
43 | { |
44 | cd ${SRCDIR} |
45 | |
46 | mconfigure --with-ncursesw --enable-nls --with-libtool --with-libtool-opts=-shared || die |
47 | mmake || die |
48 | } |