diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2012-09-14 04:30:44 +0200 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2012-09-14 04:30:44 +0200 |
commit | 058c024194c4ce612d6365337b4ef0d7fad016b3 (patch) | |
tree | df75378489a2487feaf2938b8f97dc2fefe1a4d9 /chuck/Makefile | |
parent | 0a95e15cdc87de0136734e784d487f9b03170bbb (diff) | |
download | nanonote-ports-058c024194c4ce612d6365337b4ef0d7fad016b3.tar.gz |
added package for ChucK programming language
* doesn't work very well anyways. probably because of the lack of hardware float support, requiring software emulation (ChucK uses floats internally to represent sample data)
* includes my own modifications as patches
Diffstat (limited to 'chuck/Makefile')
-rw-r--r-- | chuck/Makefile | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/chuck/Makefile b/chuck/Makefile new file mode 100644 index 0000000..bd1993d --- /dev/null +++ b/chuck/Makefile @@ -0,0 +1,41 @@ +include $(TOPDIR)/rules.mk + +PKG_NAME:=chuck +PKG_VERSION:=1.3.1.1 +PKG_RELEASE:=1 + +PKG_SOURCE:=chuck-$(PKG_VERSION).tgz +PKG_SOURCE_URL:=http://chuck.cs.princeton.edu/release/files +PKG_MD5SUM:=fb8e0c9f06a51dbec168982497bd2b07 + +PKG_BUILD_DIR=$(BUILD_DIR)/chuck-$(PKG_VERSION) + +include $(INCLUDE_DIR)/package.mk + +define Package/chuck + SECTION:=lang + CATEGORY:=Languages + DEPENDS:= +alsa-lib +libsndfile +libpthread + TITLE:=ChucK Programming Language + URL:=http://http://chuck.cs.princeton.edu/ +endef + +define Package/chuck/description +ChucK Programming Language +endef + +define Build/Configure +endef + +define Build/Compile + $(CONFIGURE_VARS) \ + $(MAKE) -C $(PKG_BUILD_DIR)/src \ + linux-alsa +endef + +define Package/chuck/install + $(INSTALL_DIR) $(1)/usr/bin + $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/chuck $(1)/usr/bin/ +endef + +$(eval $(call BuildPackage,chuck)) |