source: packages/lang/sigscheme/Makefile @ 21473

Last change on this file since 21473 was 21473, checked in by juhosg, 7 years ago

sigscheme: new package in lang section

this patch adds a new package in the lang section:

http://code.google.com/p/sigscheme/

SigScheme is a R5RS Scheme interpreter for embedded use. It features
small footprint (64KB in library form on the 'small' configuration)
like SIOD and TinyScheme, low memory consumption (2-words per cons
cell), multibyte characters handling (UTF-8, EUCs and Shift_JIS) and
more.

-Raphael

File size: 1.2 KB
Line 
1#
2# Copyright (C) 2006-2010 OpenWrt.org
3#
4# This is free software, licensed under the GNU General Public License v2.
5# See /LICENSE for more information.
6#
7
8include $(TOPDIR)/rules.mk
9
10PKG_NAME:=sigscheme
11PKG_VERSION:=0.8.3
12PKG_RELEASE:=1
13
14PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
15PKG_SOURCE_URL:=http://sigscheme.googlecode.com/files/
16PKG_MD5SUM:=f25b0acbb854651b375b42f17ad20f39
17
18PKG_FIXUP:=libtool
19PKG_INSTALL:=1
20
21include $(INCLUDE_DIR)/package.mk
22
23define Package/sigscheme
24  SECTION:=lang
25  CATEGORY:=Languages
26  TITLE:=SigScheme
27  URL:=http://code.google.com/p/sigscheme/
28endef
29
30define Package/sigscheme/description
31SigScheme is a R5RS Scheme interpreter for embedded use. It features small
32footprint (64KB in library form on the 'small' configuration) like SIOD and
33TinyScheme, low memory consumption (2-words per cons cell), multibyte characters
34handling (UTF-8, EUCs and Shift_JIS) and more.
35endef
36
37define Package/sigscheme/install
38        $(INSTALL_DIR) $(1)/usr/lib
39        $(CP) $(PKG_INSTALL_DIR)/usr/lib/lib{gcroots,sscm}.so.* $(1)/usr/lib
40
41        $(INSTALL_DIR) $(1)/usr/share
42        $(CP) $(PKG_INSTALL_DIR)/usr/share/sigscheme/ $(1)/usr/lib
43
44        $(INSTALL_DIR) $(1)/usr/bin
45        $(CP) $(PKG_INSTALL_DIR)/usr/bin/sscm $(1)/usr/bin
46endef
47
48$(eval $(call BuildPackage,sigscheme))
Note: See TracBrowser for help on using the repository browser.