]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blob - pkgs/newt/newt.nm
Move packages to pkgs subdirectory.
[people/ms/ipfire-3.x.git] / pkgs / newt / newt.nm
1 ###############################################################################
2 # #
3 # IPFire.org - A linux based firewall #
4 # Copyright (C) 2007, 2008 Michael Tremer & Christian Schmidt #
5 # #
6 # This program is free software: you can redistribute it and/or modify #
7 # it under the terms of the GNU General Public License as published by #
8 # the Free Software Foundation, either version 3 of the License, or #
9 # (at your option) any later version. #
10 # #
11 # This program is distributed in the hope that it will be useful, #
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of #
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
14 # GNU General Public License for more details. #
15 # #
16 # You should have received a copy of the GNU General Public License #
17 # along with this program. If not, see <http://www.gnu.org/licenses/>. #
18 # #
19 ###############################################################################
20
21 ###############################################################################
22 # Definitions
23 ###############################################################################
24
25 include $(PKGROOT)/Include
26
27 PKG_NAME = newt
28 PKG_VER = 0.52.10
29 PKG_REL = 0
30
31 PKG_MAINTAINER =
32 PKG_GROUP = System/Libraries
33 PKG_URL = https://fedorahosted.org/releases/n/e/newt/
34 PKG_LICENSE = LGPLv2
35 PKG_SUMMARY = A library for text mode user interfaces.
36
37 PKG_BUILD_DEPS+= popt-devel python-devel slang-devel
38
39 define PKG_DESCRIPTION
40 Newt is a programming library for color text mode, widget based user \
41 interfaces. Newt can be used to add stacked windows, entry widgets, \
42 checkboxes, radio buttons, labels, plain text fields, scrollbars, \
43 etc., to text mode user interfaces. This package also contains the \
44 shared library needed by programs built with newt, as well as a \
45 /usr/bin/dialog replacement called whiptail. Newt is based on the \
46 slang library.
47 endef
48
49 PKG_TARBALL = $(THISAPP).tar.gz
50
51 PKG_PACKAGES += $(PKG_NAME)-devel
52
53 CONFIGURE_OPTIONS += \
54 --without-gpm-support \
55 --without-tcl
56
57 define STAGE_PREPARE_CMDS
58 # make install searches for /usr/bin/install
59 cd $(DIR_APP) && sed -e "s/^INSTALL=.*/INSTALL = install -c/" -i po/Makefile
60 endef
61
62 define STAGE_INSTALL
63 cd $(DIR_APP) && make install instroot=$(BUILDROOT)
64 endef