1
0

Makefile 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. # The software `TinyScheme Extensions` was packaged for LibreCMC by
  2. # Christopher Howard <christopher.howard@qlfiles.net> in June 2018.
  3. # This package configuration file is licensed under the GPL-3+.
  4. # This program is free software: you can redistribute it and/or modify
  5. # it under the terms of the GNU General Public License as published by
  6. # the Free Software Foundation, either version 3 of the License, or
  7. # (at your option) any later version.
  8. # This program is distributed in the hope that it will be useful,
  9. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. # GNU General Public License for more details.
  12. # You should have received a copy of the GNU General Public License
  13. # along with this program. If not, see <http://www.gnu.org/licenses/>.
  14. # The upstream author of `TinyScheme Extensions` is Heras-Gilsanz
  15. # <manuel@heras-gilsanz.com>
  16. include $(TOPDIR)/rules.mk
  17. PKG_NAME:=tinyscheme-extensions
  18. PKG_VERSION:=1.1
  19. PKG_RELEASE:=1
  20. PKG_BUILD_DIR:=$(BUILD_DIR)/tsx-$(PKG_VERSION)
  21. PKG_SOURCE:=tsx-$(PKG_VERSION).tgz
  22. PKG_SOURCE_URL:=http://heras-gilsanz.com/manuel
  23. PKG_HASH:=f7e396a3ab41fb5eac3ef7020da0808766bd6ac2f5e5f7c9d80511df17f4a79b
  24. PKG_CAT:=zcat
  25. PKG_LICENSE:=BSD-3-Clause
  26. PKG_LICENSE_FILES:=LICENSE
  27. include $(INCLUDE_DIR)/package.mk
  28. define Package/tinyscheme-extensions
  29. SECTION:=lang
  30. CATEGORY:=Languages
  31. TITLE:=TinyScheme Extensions
  32. URL:=http://heras-gilsanz.com/manuel/tsx.html
  33. MAINTAINER=Christopher Howard <christopher.howard@qlfiles.net>
  34. DEPENDS:=tinyscheme
  35. endef
  36. define Package/tinyscheme-extensions/description
  37. TSX is a set of extensions for the TinyScheme implementation (as an
  38. interpreter) of the Scheme programming language
  39. endef
  40. # May need to override SCHEME_H_DIR if tinyscheme version ever changes
  41. define Build/Compile
  42. $(call Build/Compile/Default,CFLAGS='-fPIC -Wall')
  43. endef
  44. define Package/tinyscheme-extensions/install
  45. $(INSTALL_DIR) $(1)/usr/lib/tinyscheme
  46. $(INSTALL_DATA) $(PKG_BUILD_DIR)/tsx.so $(1)/usr/lib/tinyscheme/tsx.so
  47. endef
  48. $(eval $(call BuildPackage,tinyscheme-extensions))