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    MAINTAINER:="Xiangfu Liu" <xiangfu@sharism.cc>
20    TITLE:=console metronome software
21    SECTION:=utils
22    CATEGORY:=Utilities
23    DEPENDS:=
24    URL:=http://ctronome.kign.org/
25endef
26
27define Package/ctronome/description
28    a very simple yet powerful ;) programmable console metronome software
29endef
30
31define Build/Install
32#overwirte the openwrt automatic install
33#there is not install in ctronome Makefile
34endef
35
36define Package/ctronome/install
37    $(INSTALL_DIR) $(1)/usr/bin
38    $(INSTALL_DIR) $(1)/usr/share/ctronome
39    $(INSTALL_BIN) $(PKG_BUILD_DIR)/ctronome $(1)/usr/bin/
40    $(CP) $(PKG_BUILD_DIR)/metronome*.wav $(1)/usr/share/ctronome/
41endef
42
43$(eval $(call BuildPackage,ctronome))
44

Archive Download this file



interactive