diff options
author | Joerg Seitter <adk@seitter.net> | 2020-04-11 07:59:12 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2020-04-14 10:20:04 +0200 |
commit | 63232b42691270543855daec7f3ba4ee4d86ff2d (patch) | |
tree | 8c903564e9a72ca6335a4ba406be805e4b25740b /package/squirrel/Makefile | |
parent | 7725c3a91c25d9788594bbe3cbb06f726c747210 (diff) |
new package squirrel
Signed-off-by: Joerg Seitter <adk@seitter.net>
Diffstat (limited to 'package/squirrel/Makefile')
-rw-r--r-- | package/squirrel/Makefile | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/package/squirrel/Makefile b/package/squirrel/Makefile new file mode 100644 index 000000000..0739f8f8e --- /dev/null +++ b/package/squirrel/Makefile @@ -0,0 +1,34 @@ +# 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 + +# always use tab spaces as separator, no spaces +PKG_NAME:= squirrel +PKG_VERSION:= 3.1 +PKG_RELEASE:= 1 +PKG_HASH:= 4845a7fb82e4740bde01b0854112e3bb92a0816ad959c5758236e73f4409d0cb +PKG_DESCR:= the squirrel language +PKG_SECTION:= dev/lang +PKG_BUILDDEP:= cmake-host +PKG_NEEDS:= c++ +PKG_URL:= squirrel-lang.org +PKG_SITES:= $(MASTER_SITE_SOURCEFORGE:=squirrel/) +DISTFILES:= $(PKG_NAME)_3_1_stable.tar.gz +WRKDIST= $(WRKDIR)/$(PKG_NAME)3 + +include $(ADK_TOPDIR)/mk/package.mk + +$(eval $(call PKG_template,SQUIRREL,squirrel,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION))) + +CONFIG_STYLE:= cmake + +squirrel-install: + $(INSTALL_DIR) $(IDIR_SQUIRREL)/usr/bin + $(INSTALL_DIR) $(IDIR_SQUIRREL)/usr/lib + $(INSTALL_BIN) $(WRKINST)/usr/bin/sq \ + $(IDIR_SQUIRREL)/usr/bin + $(CP) $(WRKINST)/usr/lib/libsq*.so* \ + $(IDIR_SQUIRREL)/usr/lib + +include $(ADK_TOPDIR)/mk/pkg-bottom.mk |