Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 7720 - (hide annotations) (download)
Mon Sep 28 09:09:52 2015 UTC (8 years, 7 months ago) by niro
Original Path: smage/trunk/core/dialog/dialog-1.2_20150920-r1.smage2
File size: 732 byte(s)
auto added: ver bump to 1.2_20150920-r1
1 niro 7720 # $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     }