endef
define Package/tinyscheme/description
- TinyScheme is a lightweight Scheme interpreter that implements as large a
- subset of R5RS as was possible without getting very large and complicated.
+TinyScheme is a lightweight Scheme interpreter that implements as large
+a subset of R5RS as was possible without getting very large and complicated.
endef
define Build/Compile
define Package/tinyscheme/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/scheme $(1)/usr/bin/tinyscheme
+ $(INSTALL_DIR) $(1)/usr/lib
+ $(INSTALL_DATA) $(PKG_BUILD_DIR)/libtinyscheme.so $(1)/usr/lib/libtinyscheme.so
+ $(INSTALL_DATA) $(PKG_BUILD_DIR)/libtinyscheme.a $(1)/usr/lib/libtinyscheme.a
$(INSTALL_DIR) $(1)/usr/lib/tinyscheme
$(INSTALL_DATA) $(PKG_BUILD_DIR)/init.scm $(1)/usr/lib/tinyscheme/init.scm
endef
--- a/makefile 2013-04-14 12:08:33.000000000 -0800
-+++ b/makefile 2018-05-15 09:36:27.877379450 -0800
++++ b/makefile 2018-05-23 07:18:29.251203367 -0800
@@ -18,8 +18,8 @@
#AR= echo
# Cygwin
#PLATFORM_FEATURES = -DUSE_STRLWR=0
-@@ -80,7 +81,7 @@
+@@ -74,13 +75,13 @@
+ $(CC) -I. -c $(DEBUG) $(FEATURES) $(DL_FLAGS) $<
+
+ $(LIBTARGET): $(OBJS)
+- $(LD) $(LDFLAGS) $(OUT) $(OBJS) $(SYS_LIBS)
++ $(CC) $(LDFLAGS) $(OUT) $(OBJS) $(SYS_LIBS)
+
+ scheme$(EXE_EXT): $(OBJS)
$(CC) -o $@ $(DEBUG) $(OBJS) $(SYS_LIBS)
$(STATICLIBTARGET): $(OBJS)