]>
Commit | Line | Data |
---|---|---|
9fe13dd3 | 1 | ############################################################################### |
802ea3af MT |
2 | # IPFire.org - An Open Source Firewall Solution # |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
9fe13dd3 MT |
4 | ############################################################################### |
5 | ||
802ea3af | 6 | name = libedit |
485a0bc1 | 7 | version = 3.1-%{version_date} |
a95c9ed7 | 8 | version_date = 20221030 |
fb0b5f5a | 9 | release = 1.1 |
485a0bc1 | 10 | thisapp = %{name}-%{version_date}-3.1 |
9fe13dd3 | 11 | |
802ea3af | 12 | groups = System/Libraries |
a95c9ed7 | 13 | url = https://www.thrysoee.dk/editline/ |
802ea3af MT |
14 | license = BSD |
15 | summary = The NetBSD Editline library. | |
9fe13dd3 | 16 | |
802ea3af | 17 | description |
9fe13dd3 MT |
18 | Libedit is an autotool- and libtoolized port of the NetBSD Editline |
19 | library. It provides generic line editing, history, and tokenization | |
20 | functions, similar to those found in GNU Readline. | |
802ea3af MT |
21 | end |
22 | ||
485a0bc1 | 23 | source_dl = %{url} |
802ea3af MT |
24 | |
25 | build | |
26 | requires | |
27 | ncurses-devel | |
28 | end | |
29 | ||
30 | configure_options += \ | |
31 | --disable-static \ | |
32 | --enable-widec | |
33 | ||
34 | prepare_cmds | |
35 | sed -i "s/lcurses/ltinfo/" src/Makefile* | |
36 | end | |
37 | end | |
38 | ||
39 | packages | |
40 | package %{name} | |
1f9bc2f0 | 41 | |
802ea3af MT |
42 | package %{name}-devel |
43 | template DEVEL | |
1f9bc2f0 | 44 | |
802ea3af MT |
45 | requires = ncurses-devel |
46 | end | |
1f9bc2f0 MT |
47 | |
48 | package %{name}-debuginfo | |
49 | template DEBUGINFO | |
50 | end | |
802ea3af | 51 | end |