]> git.ipfire.org Git - ipfire-3.x.git/blame - pkgs/libedit/libedit.nm
libedit: New package.
[ipfire-3.x.git] / pkgs / libedit / libedit.nm
CommitLineData
9fe13dd3
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 = libedit
28PKG_VER = 3.0-$(PKG_DATE)
29PKG_DATE = 20110802
30PKG_REL = 1
31
32PKG_MAINTAINER =
33PKG_GROUPS = System/Libraries
34PKG_URL = http://www.thrysoee.dk/editline/
35PKG_LICENSE = BSD
36PKG_SUMMARY = The NetBSD Editline library.
37
38PKG_BUILD_DEPS+= ncurses-devel
39
40define PKG_DESCRIPTION
41 Libedit is an autotool- and libtoolized port of the NetBSD Editline
42 library. It provides generic line editing, history, and tokenization
43 functions, similar to those found in GNU Readline.
44endef
45
46THISAPP = $(PKG_NAME)-$(PKG_DATE)-3.0
47PKG_TARBALL = $(THISAPP).tar.gz
48
49PKG_PACKAGES += $(PKG_NAME)-devel
50PKG_DEPS-libedit += ncurses-devel
51
52CONFIGURE_OPTIONS += \
53 --disable-static \
54 --enable-widec
55
56define STAGE_PREPARE_CMDS
57 cd $(DIR_APP) && sed -i "s/lcurses/ltinfo/" src/Makefile*
58endef