summaryrefslogtreecommitdiff
path: root/package/slang
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbrodkorb@conet.de>2015-03-04 09:21:57 +0100
committerWaldemar Brodkorb <wbrodkorb@conet.de>2015-03-04 09:21:57 +0100
commit4fc74012b67cfc62c5481b8d7b6d95052f40c2bf (patch)
treed6f7c860195c63564d98f53c143acbf0082ea3ca /package/slang
parent68b4cb5aaa95eb39401bcbaa7c517cfd31c3edcf (diff)
parent9919c4bc2f53037331313edace085c386c2af4cc (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/slang')
-rw-r--r--package/slang/Makefile43
1 files changed, 43 insertions, 0 deletions
diff --git a/package/slang/Makefile b/package/slang/Makefile
new file mode 100644
index 000000000..1f0e4ee4f
--- /dev/null
+++ b/package/slang/Makefile
@@ -0,0 +1,43 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(ADK_TOPDIR)/rules.mk
+
+PKG_NAME:= slang
+PKG_VERSION:= 2.3.0
+PKG_RELEASE:= 1
+PKG_HASH:= f95224060f45e0d8212a5039b339afa5f1a94a1bb0298e796104e5b12e926129
+PKG_DESCR:= multi-platform programmer\'s library designed to allow a developer to create robust software
+PKG_SECTION:= libs/misc
+PKG_URL:= http://www.jedsoft.org/slang/
+PKG_SITES:= http://www.jedsoft.org/releases/slang/
+PKG_NOPARALLEL:= 1
+
+DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.bz2
+
+include $(ADK_TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,SLANG,slang,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION)))
+
+CONFIGURE_ARGS+= --without-pcre \
+ --without-onig \
+ --without-png \
+ --without-z
+
+slang-install:
+ $(INSTALL_DIR) $(IDIR_SLANG)/usr/{bin,lib/slang/v2/modules}
+ $(INSTALL_BIN) $(WRKINST)/usr/bin/slsh \
+ $(IDIR_SLANG)/usr/bin
+ $(CP) $(WRKINST)/usr/lib/libslang.so* \
+ $(IDIR_SLANG)/usr/lib
+ $(INSTALL_DATA) $(WRKINST)/usr/lib/slang/v2/modules/*.so \
+ $(IDIR_SLANG)/usr/lib/slang/v2/modules
+ $(INSTALL_DIR) $(IDIR_SLANG)/usr/share/slsh/{cmaps,rline}
+ $(INSTALL_DATA) $(WRKINST)/usr/share/slsh/*.sl \
+ $(IDIR_SLANG)/usr/share/slsh
+ $(INSTALL_DATA) $(WRKINST)/usr/share/slsh/cmaps/*.map \
+ $(IDIR_SLANG)/usr/share/slsh/cmaps
+ $(INSTALL_DATA) $(WRKINST)/usr/share/slsh/rline/*.sl \
+ $(IDIR_SLANG)/usr/share/slsh/rline
+
+include $(ADK_TOPDIR)/mk/pkg-bottom.mk