Root/ctronome/Makefile

1#
2# This is free software, licensed under the GNU General Public License v2.
3# See /LICENSE for more information.
4#
5
6include $(TOPDIR)/rules.mk
7
8PKG_NAME:=ctronome
9PKG_VERSION:=0.5.3
10
11PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
12PKG_SOURCE_URL:=http://ctronome.kign.org/source/
13PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
14PKG_INSTALL:=1
15
16include $(INCLUDE_DIR)/package.mk
17
18define Package/ctronome
19    TITLE:=console metronome software
20    SECTION:=utils
21    CATEGORY:=Utilities
22    DEPENDS:=
23    URL:=http://ctronome.kign.org/
24endef
25
26define Package/ctronome/description
27    a very simple yet powerful ;) programmable console metronome software
28endef
29
30define Build/Install
31#overwirte the openwrt automatic install
32#there is not install in ctronome Makefile
33endef
34
35define Package/ctronome/install
36    $(INSTALL_DIR) $(1)/usr/bin
37    $(INSTALL_DIR) $(1)/usr/share/ctronome
38    $(INSTALL_BIN) $(PKG_BUILD_DIR)/ctronome $(1)/usr/bin/
39    $(CP) $(PKG_BUILD_DIR)/metronome*.wav $(1)/usr/share/ctronome/
40endef
41
42$(eval $(call BuildPackage,ctronome))
43

Archive Download this file



interactive