Magellan Linux

Contents of /smage/branches/alx07x-unstable/core/dialog/dialog-1.2_20150920-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 7788 - (show annotations) (download)
Wed Nov 18 09:04:29 2015 UTC (8 years, 5 months ago) by niro
File size: 732 byte(s)
-release branches/alx07x-unstable
1 # $Id$
2
3 PNAME="dialog"
4 PVER="1.2_20150920"
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 SDEPEND=">= sys-libs/ncurses-dev-5.9"
16
17 SRCFILE="${PNAME}-${PVER/_/-}.tgz"
18 SRCDIR="${BUILDDIR}/${PNAME}-${PVER/_/-}"
19
20 ALX_PKG_KEEP="usr/bin/dialog"
21 sminclude mbuild alx-split
22 msetfeature "!check"
23
24 SRC_URI=(
25 ftp://invisible-island.net/${PNAME}/${SRCFILE}
26 mirror://${PNAME}/${SRCFILE}
27 )
28
29 UP2DATE="updatecmd ${HOMEPAGE} | grep .tgz | sed -n 's/.*-\(.*-.*\).tgz.*/\1/;s/-/_/g;$ p'"
30
31 src_compile()
32 {
33 cd ${SRCDIR}
34
35 mconfigure --with-ncurses --disable-nls || die
36 mmake || die
37 }