Contents of /smage/branches/alx-0_6_0/core/dialog/dialog-1.1_20110302-r1.smage2
Parent Directory | Revision Log
Revision 2506 -
(show annotations)
(download)
Thu Jun 30 13:55:15 2011 UTC (13 years, 2 months ago) by niro
File size: 712 byte(s)
Thu Jun 30 13:55:15 2011 UTC (13 years, 2 months ago) by niro
File size: 712 byte(s)
-removed STATE variable from smage files, use global distribution file for package/distribution states
1 | # $Id$ |
2 | |
3 | PNAME="dialog" |
4 | PVER="1.1_20110302" |
5 | PBUILD="r1" |
6 | |
7 | PCATEGORIE="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.8" |
14 | |
15 | SRCFILE="${PNAME}-${PVER/_/-}.tgz" |
16 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER/_/-}" |
17 | |
18 | REMOVE_DEPRECATED_MAGE_TARGETS=1 |
19 | ALX_ONLY_KEEP="usr/bin/dialog" |
20 | sminclude mbuild alx-split |
21 | |
22 | SRC_URI=( |
23 | ftp://invisible-island.net/${PNAME}/${SRCFILE} |
24 | mirror://${PNAME}/${SRCFILE} |
25 | ) |
26 | |
27 | UP2DATE="updatecmd ${HOMEPAGE} | grep .tgz | sed -n 's/.*-\(.*-.*\).tgz.*/\1/;s/-/_/g;$ p'" |
28 | |
29 | src_compile() |
30 | { |
31 | cd ${SRCDIR} |
32 | |
33 | mconfigure --with-ncurses --disable-nls || die |
34 | mmake || die |
35 | } |