imgtec-ci20: genimage config/ u-boot env
[openadk.git] / package / slang / Makefile
blob1f0e4ee4f4e178d219b5fe03626689963c6531f9
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include $(ADK_TOPDIR)/rules.mk
6 PKG_NAME:= slang
7 PKG_VERSION:= 2.3.0
8 PKG_RELEASE:= 1
9 PKG_HASH:= f95224060f45e0d8212a5039b339afa5f1a94a1bb0298e796104e5b12e926129
10 PKG_DESCR:= multi-platform programmer\'s library designed to allow a developer to create robust software
11 PKG_SECTION:= libs/misc
12 PKG_URL:= http://www.jedsoft.org/slang/
13 PKG_SITES:= http://www.jedsoft.org/releases/slang/
14 PKG_NOPARALLEL:= 1
16 DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.bz2
18 include $(ADK_TOPDIR)/mk/package.mk
20 $(eval $(call PKG_template,SLANG,slang,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION)))
22 CONFIGURE_ARGS+= --without-pcre \
23 --without-onig \
24 --without-png \
25 --without-z
27 slang-install:
28 $(INSTALL_DIR) $(IDIR_SLANG)/usr/{bin,lib/slang/v2/modules}
29 $(INSTALL_BIN) $(WRKINST)/usr/bin/slsh \
30 $(IDIR_SLANG)/usr/bin
31 $(CP) $(WRKINST)/usr/lib/libslang.so* \
32 $(IDIR_SLANG)/usr/lib
33 $(INSTALL_DATA) $(WRKINST)/usr/lib/slang/v2/modules/*.so \
34 $(IDIR_SLANG)/usr/lib/slang/v2/modules
35 $(INSTALL_DIR) $(IDIR_SLANG)/usr/share/slsh/{cmaps,rline}
36 $(INSTALL_DATA) $(WRKINST)/usr/share/slsh/*.sl \
37 $(IDIR_SLANG)/usr/share/slsh
38 $(INSTALL_DATA) $(WRKINST)/usr/share/slsh/cmaps/*.map \
39 $(IDIR_SLANG)/usr/share/slsh/cmaps
40 $(INSTALL_DATA) $(WRKINST)/usr/share/slsh/rline/*.sl \
41 $(IDIR_SLANG)/usr/share/slsh/rline
43 include $(ADK_TOPDIR)/mk/pkg-bottom.mk