]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blame - pkgs/newt/newt.nm
net-snmp: Update to 5.7.
[people/ms/ipfire-3.x.git] / pkgs / newt / newt.nm
CommitLineData
488a92f6
MT
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
25include $(PKGROOT)/Include
26
27PKG_NAME = newt
28PKG_VER = 0.52.10
29PKG_REL = 0
30
31PKG_MAINTAINER =
bb7d617c 32PKG_GROUPS = System/Libraries
488a92f6
MT
33PKG_URL = https://fedorahosted.org/releases/n/e/newt/
34PKG_LICENSE = LGPLv2
35PKG_SUMMARY = A library for text mode user interfaces.
36
7fef22b2 37PKG_BUILD_DEPS+= popt-devel python-devel slang-devel
488a92f6
MT
38
39define 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.
47endef
48
49PKG_TARBALL = $(THISAPP).tar.gz
50
7fef22b2
MT
51PKG_PACKAGES += $(PKG_NAME)-devel
52
488a92f6
MT
53CONFIGURE_OPTIONS += \
54 --without-gpm-support \
55 --without-tcl
56
57define 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
60endef
61
62define STAGE_INSTALL
63 cd $(DIR_APP) && make install instroot=$(BUILDROOT)
64endef