Magellan Linux

Annotation of /smage/branches/alx07x-stable/core/dialog/dialog-1.3_20170509-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 11418 - (hide annotations) (download)
Tue Dec 19 12:33:27 2017 UTC (6 years, 5 months ago) by niro
File size: 770 byte(s)
-release branches/alx07x-stable
1 niro 10223 # $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 niro 10224 #ftp://invisible-island.net/${PNAME}/${SRCFILE}
26 niro 10223 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     }