From 9aaeb4623d3ff5746e665bc17914eefd292b7dcd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20K=C3=BChling?= Date: Sun, 2 Jan 2011 15:19:00 +0100 Subject: New OpenWrt package for GNU Octave. Experimental/probably still broken. Work in progress. Committing it as compilation seems to take forever. Not sure whether I can finish this within a few days. --- ctronome/Makefile | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 ctronome/Makefile (limited to 'ctronome') diff --git a/ctronome/Makefile b/ctronome/Makefile new file mode 100644 index 0000000..13b9ca3 --- /dev/null +++ b/ctronome/Makefile @@ -0,0 +1,42 @@ +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=ctronome +PKG_VERSION:=0.5.3 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=http://ctronome.kign.org/source/ +PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) +PKG_INSTALL:=1 + +include $(INCLUDE_DIR)/package.mk + +define Package/ctronome + TITLE:=console metronome software + SECTION:=utils + CATEGORY:=Utilities + DEPENDS:= + URL:=http://ctronome.kign.org/ +endef + +define Package/ctronome/description + a very simple yet powerful ;) programmable console metronome software +endef + +define Build/Install +#overwirte the openwrt automatic install +#there is not install in ctronome Makefile +endef + +define Package/ctronome/install + $(INSTALL_DIR) $(1)/usr/bin + $(INSTALL_DIR) $(1)/usr/share/ctronome + $(INSTALL_BIN) $(PKG_BUILD_DIR)/ctronome $(1)/usr/bin/ + $(CP) $(PKG_BUILD_DIR)/metronome*.wav $(1)/usr/share/ctronome/ +endef + +$(eval $(call BuildPackage,ctronome)) -- cgit v1.2.3