]>
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} |
300f804f | 8 | version_date = 20190324 |
802ea3af | 9 | release = 1 |
485a0bc1 | 10 | thisapp = %{name}-%{version_date}-3.1 |
9fe13dd3 | 11 | |
802ea3af MT |
12 | groups = System/Libraries |
13 | url = http://www.thrysoee.dk/editline/ | |
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 | ||
485a0bc1 | 30 | # The timestamp in the tarball differs from the name |
300f804f | 31 | DIR_APP = %{DIR_SRC}/%{name}-20190324-3.1 |
485a0bc1 | 32 | |
802ea3af MT |
33 | configure_options += \ |
34 | --disable-static \ | |
35 | --enable-widec | |
36 | ||
37 | prepare_cmds | |
38 | sed -i "s/lcurses/ltinfo/" src/Makefile* | |
39 | end | |
40 | end | |
41 | ||
42 | packages | |
43 | package %{name} | |
1f9bc2f0 | 44 | |
802ea3af MT |
45 | package %{name}-devel |
46 | template DEVEL | |
1f9bc2f0 | 47 | |
802ea3af MT |
48 | requires = ncurses-devel |
49 | end | |
1f9bc2f0 MT |
50 | |
51 | package %{name}-debuginfo | |
52 | template DEBUGINFO | |
53 | end | |
802ea3af | 54 | end |