summaryrefslogtreecommitdiff
path: root/package/slang/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-02-28 10:11:11 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2015-02-28 10:14:39 +0100
commit3b7e950a2a226d1344e78da8fb10e3cdb92f37a0 (patch)
tree2bda2f5203b3833e77529fe96884d56e69c8fca3 /package/slang/Makefile
parent23cfddf360edbac12473a5c6f9e2d85b12992bb3 (diff)
cleanup phil's submissions
- use () instead of {} in make variables for now - use PKG_HASH instead of PKG_MD5SUM - update to latest upstream versions - use a newline between PKG_* variables and DISTFILES - use <pkgname>-install instead of post-install - use lowercase description texts only - fix some missing PKG_BUILDDEP - elfutils needs argp, which is not available in uClibc-ng, yet - PKG_HASH is not required for git sources
Diffstat (limited to 'package/slang/Makefile')
-rw-r--r--package/slang/Makefile36
1 files changed, 18 insertions, 18 deletions
diff --git a/package/slang/Makefile b/package/slang/Makefile
index 0d7ced96d..1f0e4ee4f 100644
--- a/package/slang/Makefile
+++ b/package/slang/Makefile
@@ -7,37 +7,37 @@ PKG_NAME:= slang
PKG_VERSION:= 2.3.0
PKG_RELEASE:= 1
PKG_HASH:= f95224060f45e0d8212a5039b339afa5f1a94a1bb0298e796104e5b12e926129
-PKG_DESCR:= A multi-platform programmer\'s library designed to allow a developer to create robust software
+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
+
+DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.bz2
include $(ADK_TOPDIR)/mk/package.mk
-$(eval $(call PKG_template,SLANG,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+$(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
-post-install:
+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
-
-# please remove ALL above comments, before commiting
-include ${ADK_TOPDIR}/mk/pkg-bottom.mk
+ $(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