blob: 50aecd4f7f8c571ecdaed7ad8eb5e0f96c5b9744 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
include $(TOPDIR)/rules.mk
PKG_NAME:=ucode-mod-uline
PKG_RELEASE:=$(AUTORELEASE)
PKG_LICENSE:=GPL-2.0-or-later
PKG_MAINTAINER:=Felix Fietkau <nbd@nbd.name>
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/cmake.mk
CMAKE_INSTALL := 1
define Package/ucode-mod-uline
SECTION:=utils
CATEGORY:=Utilities
TITLE:=ucode module for terminal line editing
DEPENDS:=+libucode +libubox
endef
CMAKE_OPTIONS += -DUSE_SYSTEM_WCHAR=ON
define Package/ucode-mod-uline/description
This module provides similar functionality as libreadline for ucode, without
depending on other libraries like ncurses.
endef
define Package/ucode-mod-uline/install
$(INSTALL_DIR) $(1)/usr/lib/ucode
$(CP) $(PKG_INSTALL_DIR)/usr/lib/ucode/uline.so $(1)/usr/lib/ucode/
endef
$(eval $(call BuildPackage,ucode-mod-uline))
|