Magellan Linux

Contents of /smage/branches/alx07x-stable/core/dialog/dialog-1.3_20200327-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 14953 - (show annotations) (download)
Thu Aug 6 12:56:53 2020 UTC (3 years, 8 months ago) by niro
File size: 861 byte(s)
-release branches/alx07x-stable
1 # $Id$
2
3 PNAME="dialog"
4 PVER="1.3_20200327"
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-5
13 >= sys-libs/ncurses-6.2"
14
15 SDEPEND=">= sys-libs/ncurses-dev-6.2"
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 http://invisible-mirror.net/archives/${PNAME}/${SRCFILE}
26 #ftp://invisible-island.net/${PNAME}/${SRCFILE}
27 mirror://${PNAME}/${SRCFILE}
28 )
29
30 UP2DATE="updatecmd http://invisible-mirror.net/archives/${PNAME}/ | grep .tgz | sed -n 's/.*-\(.*-.*\).tgz.*/\1/;s/-/_/g;$ p'"
31
32 src_compile()
33 {
34 cd ${SRCDIR}
35
36 mconfigure --with-ncurses --disable-nls --with-libtool || die
37 mmake || die
38 }