|
@@ -43,6 +43,10 @@ define Package/tinyscheme
|
|
MAINTAINER=Christopher Howard <christopher.howard@qlfiles.net>
|
|
MAINTAINER=Christopher Howard <christopher.howard@qlfiles.net>
|
|
endef
|
|
endef
|
|
|
|
|
|
|
|
+define Package/tinyscheme/config
|
|
|
|
+ source "$(SOURCE)/Config.in"
|
|
|
|
+endef
|
|
|
|
+
|
|
define Package/tinyscheme/description
|
|
define Package/tinyscheme/description
|
|
TinyScheme is a lightweight Scheme interpreter that implements as large
|
|
TinyScheme is a lightweight Scheme interpreter that implements as large
|
|
a subset of R5RS as was possible without getting very large and complicated.
|
|
a subset of R5RS as was possible without getting very large and complicated.
|
|
@@ -56,8 +60,12 @@ define Package/tinyscheme/install
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/scheme $(1)/usr/bin/tinyscheme
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/scheme $(1)/usr/bin/tinyscheme
|
|
$(INSTALL_DIR) $(1)/usr/lib
|
|
$(INSTALL_DIR) $(1)/usr/lib
|
|
|
|
+ifeq ($(CONFIG_TINYSCHEME_SHARED_LIB),y)
|
|
$(INSTALL_DATA) $(PKG_BUILD_DIR)/libtinyscheme.so $(1)/usr/lib/libtinyscheme.so
|
|
$(INSTALL_DATA) $(PKG_BUILD_DIR)/libtinyscheme.so $(1)/usr/lib/libtinyscheme.so
|
|
|
|
+endif
|
|
|
|
+ifeq ($(CONFIG_TINYSCHEME_AR_LIB),y)
|
|
$(INSTALL_DATA) $(PKG_BUILD_DIR)/libtinyscheme.a $(1)/usr/lib/libtinyscheme.a
|
|
$(INSTALL_DATA) $(PKG_BUILD_DIR)/libtinyscheme.a $(1)/usr/lib/libtinyscheme.a
|
|
|
|
+endif
|
|
$(INSTALL_DIR) $(1)/usr/lib/tinyscheme
|
|
$(INSTALL_DIR) $(1)/usr/lib/tinyscheme
|
|
$(INSTALL_DATA) $(PKG_BUILD_DIR)/init.scm $(1)/usr/lib/tinyscheme/init.scm
|
|
$(INSTALL_DATA) $(PKG_BUILD_DIR)/init.scm $(1)/usr/lib/tinyscheme/init.scm
|
|
endef
|
|
endef
|