Contents of /trunk/core/dialog/dialog-1.3_20170509-r1.smage2
Parent Directory | Revision Log
Revision 28961 -
(show annotations)
(download)
Mon May 15 14:14:37 2017 UTC (7 years ago) by niro
File size: 960 byte(s)
Mon May 15 14:14:37 2017 UTC (7 years ago) by niro
File size: 960 byte(s)
auto added: ver bump to 1.3_20170509-r1
1 | # $Id$ |
2 | |
3 | PNAME="dialog" |
4 | PVER="1.3_20170509" |
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 | # enable libtool opts |
36 | sed -i '/$(LIBTOOL_COMPILE)/s:$: $(LIBTOOL_OPTS):' makefile.in || die |
37 | # fixed tag issue |
38 | sed -i 's:= @LIBTOOL@:& --tag=CC:' makefile.in || die |
39 | } |
40 | |
41 | src_compile() |
42 | { |
43 | cd ${SRCDIR} |
44 | |
45 | mconfigure --with-ncursesw --enable-nls --with-libtool --with-libtool-opts=-shared || die |
46 | mmake || die |
47 | } |