[packages] php5: predefine target endianess (#4560)
[openwrt/svn-archive/archive.git] / lang / sigscheme / Makefile
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
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=sigscheme
11 PKG_VERSION:=0.8.3
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
15 PKG_SOURCE_URL:=http://sigscheme.googlecode.com/files/
16 PKG_MD5SUM:=f25b0acbb854651b375b42f17ad20f39
17
18 PKG_FIXUP:=libtool
19 PKG_INSTALL:=1
20
21 include $(INCLUDE_DIR)/package.mk
22
23 define Package/sigscheme
24 SECTION:=lang
25 CATEGORY:=Languages
26 TITLE:=SigScheme
27 URL:=http://code.google.com/p/sigscheme/
28 DEPENDS:=@!avr32
29 endef
30
31 define Package/sigscheme/description
32 SigScheme is a R5RS Scheme interpreter for embedded use. It features small
33 footprint (64KB in library form on the 'small' configuration) like SIOD and
34 TinyScheme, low memory consumption (2-words per cons cell), multibyte characters
35 handling (UTF-8, EUCs and Shift_JIS) and more.
36 endef
37
38 define Package/sigscheme/install
39 $(INSTALL_DIR) $(1)/usr/lib
40 $(CP) $(PKG_INSTALL_DIR)/usr/lib/lib{gcroots,sscm}.so.* $(1)/usr/lib
41
42 $(INSTALL_DIR) $(1)/usr/share
43 $(CP) $(PKG_INSTALL_DIR)/usr/share/sigscheme/ $(1)/usr/lib
44
45 $(INSTALL_DIR) $(1)/usr/bin
46 $(CP) $(PKG_INSTALL_DIR)/usr/bin/sscm $(1)/usr/bin
47 endef
48
49 $(eval $(call BuildPackage,sigscheme))