Magellan Linux

Contents of /smage/trunk/core/dialog/dialog-1.2_20130523-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4871 - (show annotations) (download)
Tue May 28 08:19:22 2013 UTC (10 years, 11 months ago) by niro
File size: 693 byte(s)
auto added: ver bump to 1.2_20130523-r1
1 # $Id$
2
3 PNAME="dialog"
4 PVER="1.2_20130523"
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-5.9"
14
15 SRCFILE="${PNAME}-${PVER/_/-}.tgz"
16 SRCDIR="${BUILDDIR}/${PNAME}-${PVER/_/-}"
17
18 ALX_PKG_KEEP="usr/bin/dialog"
19 sminclude mbuild alx-split
20 msetfeature "!check"
21
22 SRC_URI=(
23 ftp://invisible-island.net/${PNAME}/${SRCFILE}
24 mirror://${PNAME}/${SRCFILE}
25 )
26
27 UP2DATE="updatecmd ${HOMEPAGE} | grep .tgz | sed -n 's/.*-\(.*-.*\).tgz.*/\1/;s/-/_/g;$ p'"
28
29 src_compile()
30 {
31 cd ${SRCDIR}
32
33 mconfigure --with-ncurses --disable-nls || die
34 mmake || die
35 }