Date:2010-11-25 11:07:01 (13 years 4 months ago)
Author:Xiangfu Liu
Commit:1404776da216bef50bcd8528204ebecdb5a6b015
Message:new package, tunec, A command line guitar tuner for linux

Files: tunec/Makefile (1 diff)

Change Details

tunec/Makefile
1include $(TOPDIR)/rules.mk
2
3PKG_NAME:=tunec
4PKG_REV:=2
5PKG_VERSION:=r$(PKG_REV)
6PKG_RELEASE:=1
7
8PKG_SOURCE_PROTO:=svn
9PKG_SOURCE_VERSION:=$(PKG_REV)
10PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
11PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
12PKG_SOURCE_URL:=http://tunec.googlecode.com/svn/trunk/
13PKG_BUILD_DIR=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)/
14
15include $(INCLUDE_DIR)/package.mk
16
17define Package/tunec
18  SECTION:=utils
19  CATEGORY:=Utilities
20  TITLE:=A command line guitar tuner for linux
21  URL:=http://code.google.com/p/tunec/
22  DEPENDS:=+fftw3 @BROKEN #since the upstream libfftw3 install not correct
23endef
24
25TARGET_CFLAGS+=-I$(STAGING_DIR)/usr/include
26TARGET_LDFLAGS+= -lfftw3
27
28define Build/Compile
29    (cd $(PKG_BUILD_DIR); \
30    $(TARGET_CC) $(TARGET_CFLAGS) $(TARGET_LDFLAGS) tuner.c -o $(PKG_NAME); \
31    )
32endef
33
34define Package/tunec/install
35    $(INSTALL_DIR) $(1)/usr/bin
36    $(INSTALL_BIN) \
37        $(PKG_BUILD_DIR)/tunec \
38        $(1)/usr/bin/
39endef
40
41$(eval $(call BuildPackage,tunec))

Archive Download the corresponding diff file



interactive