summaryrefslogtreecommitdiff
path: root/ctronome/Makefile
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2011-01-02 23:27:23 +0100
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2011-01-02 23:27:23 +0100
commit9352995934adec8059077af241c35ccd1573bd80 (patch)
tree60286e266b3b31b90b952ac37e12a1ebbcdd2eb6 /ctronome/Makefile
parentef3b84d78197acbd45d73a9b1ae44b47b5904290 (diff)
parent880bca260c4ce91554a49b2475232cf5c0ffd447 (diff)
downloadqipackages-fork-master.tar.gz
Merge branch 'master' of git://projects.qi-hardware.com/openwrt-packagesHEADmaster
Conflicts: links/Makefile
Diffstat (limited to 'ctronome/Makefile')
-rw-r--r--ctronome/Makefile42
1 files changed, 42 insertions, 0 deletions
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))