Magellan Linux

Contents of /smage/trunk/extras/dialog/dialog-1.1_20110118-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1279 - (show annotations) (download)
Fri Feb 4 22:30:47 2011 UTC (13 years, 2 months ago) by niro
File size: 698 byte(s)
-fixed includes
1 # $Id$
2
3 PNAME="dialog"
4 PVER="1.1_20110118"
5 PBUILD="r1"
6
7 PCATEGORIE="dev-util"
8 STATE="unstable"
9
10 DESCRIPTION="Dialog is a utility to create user interfaces for shell scripts."
11 HOMEPAGE="ftp://invisible-island.net/dialog/"
12
13 DEPEND=">= app-shells/bash-4
14 >= sys-libs/ncurses-5.7"
15
16 SRCFILE="${PNAME}-${PVER/_/-}.tgz"
17 SRCDIR="${BUILDDIR}/${PNAME}-${PVER/_/-}"
18
19 MCORE_ONLY_KEEP="usr/bin/dialog"
20 sminclude mbuild mcore-split
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 }