]> git.ipfire.org Git - ipfire-3.x.git/blob - dialog/dialog.nm
kernel: Enable /dev/mem
[ipfire-3.x.git] / dialog / dialog.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = dialog
7 version = 1.1
8 svn_ver = 20111020
9 release = 2.%{svn_ver}
10 thisapp = %{name}-%{version}-%{svn_ver}
11
12 groups = Applications/System
13 url = http://invisible-island.net/dialog/dialog.html
14 license = LGPLv2
15 summary = A utility for creating TTY dialog boxes.
16
17 description
18 Dialog is a utility that allows you to show dialog boxes (containing
19 questions or messages) in TTY (text mode) interfaces. Dialog is called
20 from within a shell script. The following dialog boxes are implemented:
21 yes/no, menu, input, message, text, info, checklist, radiolist, and
22 gauge.
23 end
24
25 source_dl = ftp://invisible-island.net/dialog/
26 sources = %{thisapp}.tgz
27
28 build
29 requires
30 chrpath
31 findutils
32 gettext
33 libtool
34 ncurses-devel
35 end
36
37 configure_options += \
38 --enable-nls \
39 --with-libtool \
40 --with-ncursesw \
41 --includedir=/usr/include/dialog
42
43 install_cmds
44 chmod -v 755 %{BUILDROOT}%{libdir}/libdialog.so.*.*.*
45
46 # Remove RPATH.
47 chrpath --delete %{BUILDROOT}%{bindir}/dialog
48 end
49 end
50
51 packages
52 package %{name}
53
54 package %{name}-devel
55 template DEVEL
56 end
57
58 package %{name}-debuginfo
59 template DEBUGINFO
60 end
61 end