From 06fa0f3e5757f137facdb21af06585e97a3d6003 Mon Sep 17 00:00:00 2001 From: Xiangfu Liu Date: Mon, 14 Mar 2011 14:19:18 +0800 Subject: [PATCH] [new packages] jdkdrum Command Line Drum Synth Program For Linux --- jdkdrum/Makefile | 51 +++++++++++++++++++++++++++++++++++++++++++ jdkdrum/files/jdkdrum | 2 ++ 2 files changed, 53 insertions(+) create mode 100644 jdkdrum/Makefile create mode 100644 jdkdrum/files/jdkdrum diff --git a/jdkdrum/Makefile b/jdkdrum/Makefile new file mode 100644 index 0000000..4572e5d --- /dev/null +++ b/jdkdrum/Makefile @@ -0,0 +1,51 @@ +# +# Copyright (C) 2009 Qi Hardware Inc. +# Author: Xiangfu Liu +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=jdkdrum +PKG_VERSION:= +PKG_SOURCE:=$(PKG_NAME).tar.gz +PKG_SOURCE_URL:=http://www.jdkoftinoff.com/main/Free_Projects/Drum_Synth_For_Linux/ +PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME) +PKG_RELEASE:=1 +PKG_INSTALL:=1 + +include $(INCLUDE_DIR)/package.mk + +define Package/jdkdrum + TITLE:=jdkdrum + SECTION:=utils + CATEGORY:=Utilities + DEPENDS:= + URL:=http://www.jdkoftinoff.com/main/Free_Projects/Drum_Synth_For_Linux/ +endef + +define Package/jdkdrum/description + Command Line Drum Synth Program For Linux +endef + +define Build/Compile + $(call Build/Compile/Default,clean) + $(call Build/Compile/Default) +endef + +define Build/Install +endef + +define Package/jdkdrum/install + $(INSTALL_DIR) $(1)/usr/bin $(1)/usr/share/jdkdrum + $(INSTALL_BIN) ./files/jdkdrum $(1)/usr/bin/ + cp -f $(PKG_BUILD_DIR)/* $(1)/usr/share/jdkdrum || true +endef + +$(eval $(call BuildPackage,jdkdrum)) +# The following comments configure the Emacs editor. Just ignore them. +# Local Variables: +# compile-command: "make -C ~/openwrt-xburst.full_system package/jdkdrum/{clean,compile} -j2 V=99" +# End: diff --git a/jdkdrum/files/jdkdrum b/jdkdrum/files/jdkdrum new file mode 100644 index 0000000..485c599 --- /dev/null +++ b/jdkdrum/files/jdkdrum @@ -0,0 +1,2 @@ +#!/bin/bash + cd /usr/share/jdkdrum && ./jdkdrum $@