]> git.ipfire.org Git - ipfire-3.x.git/blame - dialog/dialog.nm
kernel: Enable /dev/mem
[ipfire-3.x.git] / dialog / dialog.nm
CommitLineData
d68f6365
MT
1###############################################################################
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
4###############################################################################
5
6name = dialog
7version = 1.1
8svn_ver = 20111020
c3197273 9release = 2.%{svn_ver}
d68f6365
MT
10thisapp = %{name}-%{version}-%{svn_ver}
11
12groups = Applications/System
13url = http://invisible-island.net/dialog/dialog.html
14license = LGPLv2
15summary = A utility for creating TTY dialog boxes.
16
17description
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.
23end
24
25source_dl = ftp://invisible-island.net/dialog/
26sources = %{thisapp}.tgz
27
28build
29 requires
c3197273 30 chrpath
d68f6365
MT
31 findutils
32 gettext
33 libtool
34 ncurses-devel
35 end
36
37 configure_options += \
38 --enable-nls \
39 --with-libtool \
40 --with-ncursesw \
c3197273 41 --includedir=/usr/include/dialog
d68f6365
MT
42
43 install_cmds
c3197273 44 chmod -v 755 %{BUILDROOT}%{libdir}/libdialog.so.*.*.*
d68f6365 45
c3197273
MT
46 # Remove RPATH.
47 chrpath --delete %{BUILDROOT}%{bindir}/dialog
d68f6365
MT
48 end
49end
50
51packages
52 package %{name}
53
54 package %{name}-devel
55 template DEVEL
56 end
1f9bc2f0
MT
57
58 package %{name}-debuginfo
59 template DEBUGINFO
60 end
d68f6365 61end