Browse Source

new package squirrel

Signed-off-by: Joerg Seitter <adk@seitter.net>
Joerg Seitter 5 years ago
parent
commit
63232b4269
1 changed files with 34 additions and 0 deletions
  1. 34 0
      package/squirrel/Makefile

+ 34 - 0
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