Magellan Linux

Contents of /smage/trunk/core/dialog/dialog-1.3_20170509-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 10223 - (show annotations) (download)
Wed Aug 16 14:06:25 2017 UTC (6 years, 8 months ago) by niro
File size: 769 byte(s)
auto added: ver bump to 1.3_20170509-r2
1 # $Id$
2
3 PNAME="dialog"
4 PVER="1.3_20170509"
5 PBUILD="r2"
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-libs/ncurses-dev-6.0"
16
17 SRCFILE="${PNAME}-${PVER/_/-}.tgz"
18 SRCDIR="${BUILDDIR}/${PNAME}-${PVER/_/-}"
19
20 ALX_PKG_KEEP="usr/bin/dialog usr/$(mlibdir)/*.so.*"
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 --with-libtool || die
36 mmake || die
37 }