mirror of
git://projects.qi-hardware.com/openwrt-packages.git
synced 2024-11-22 11:36:16 +02:00
new package, tunec, A command line guitar tuner for linux
This commit is contained in:
parent
d0c6f14ceb
commit
1404776da2
41
tunec/Makefile
Normal file
41
tunec/Makefile
Normal file
@ -0,0 +1,41 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=tunec
|
||||
PKG_REV:=2
|
||||
PKG_VERSION:=r$(PKG_REV)
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE_PROTO:=svn
|
||||
PKG_SOURCE_VERSION:=$(PKG_REV)
|
||||
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=http://tunec.googlecode.com/svn/trunk/
|
||||
PKG_BUILD_DIR=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)/
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
define Package/tunec
|
||||
SECTION:=utils
|
||||
CATEGORY:=Utilities
|
||||
TITLE:=A command line guitar tuner for linux
|
||||
URL:=http://code.google.com/p/tunec/
|
||||
DEPENDS:=+fftw3 @BROKEN #since the upstream libfftw3 install not correct
|
||||
endef
|
||||
|
||||
TARGET_CFLAGS+=-I$(STAGING_DIR)/usr/include
|
||||
TARGET_LDFLAGS+= -lfftw3
|
||||
|
||||
define Build/Compile
|
||||
(cd $(PKG_BUILD_DIR); \
|
||||
$(TARGET_CC) $(TARGET_CFLAGS) $(TARGET_LDFLAGS) tuner.c -o $(PKG_NAME); \
|
||||
)
|
||||
endef
|
||||
|
||||
define Package/tunec/install
|
||||
$(INSTALL_DIR) $(1)/usr/bin
|
||||
$(INSTALL_BIN) \
|
||||
$(PKG_BUILD_DIR)/tunec \
|
||||
$(1)/usr/bin/
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,tunec))
|
Loading…
Reference in New Issue
Block a user