2 # Copyright (C) 2016 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz>
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
11 PKG_VERSION
:=20160618-3.1
14 PKG_MAINTAINER
:=Daniel Salzman
<daniel.salzman@nic.cz
>
15 PKG_LICENSE
:=BSD-3-Clause
17 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
18 PKG_SOURCE_URL
:=http
://thrysoee.dk
/editline
/
19 PKG_MD5SUM
:=b6e60f326a3fce91bea1a6fe4700af58
21 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
24 include $(INCLUDE_DIR
)/package.mk
26 define Package
/libedit
29 TITLE
:=BSD editline and history library
30 URL
:=http
://thrysoee.dk
/editline
/
34 define Package
/libedit
/description
35 Generic line editing
, history
, and tokenization functions similar to GNU Readline.
38 define Build
/InstallDev
39 $(INSTALL_DIR
) $(1)/usr
/include
40 $(CP
) $(PKG_INSTALL_DIR
)/usr
/include/*.h
$(1)/usr
/include/
42 $(INSTALL_DIR
) $(1)/usr
/include/editline
43 $(CP
) $(PKG_INSTALL_DIR
)/usr
/include/editline
/*.h
$(1)/usr
/include/editline
/
45 $(INSTALL_DIR
) $(1)/usr
/lib
46 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libedit.
{a
,so
*} $(1)/usr
/lib
/
49 define Package
/libedit
/install
50 $(INSTALL_DIR
) $(1)/usr
/lib
51 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libedit.so.
* $(1)/usr
/lib
/
54 $(eval
$(call BuildPackage
,libedit
))