8magsvn – Blame information for rev 20

Subversion Repositories:
Rev:
Rev Author Line No. Line
4 kaklik 1 # $Id: Makefile 1146 2005-06-05 13:32:28Z nbd $
2  
3 include $(TOPDIR)/rules.mk
4  
5 PKG_NAME:=sidd
6 PKG_VERSION:=0.1
7  
6 kaklik 8 PKG_SOURCE_URL:=http://downloads.ust.cz/sources/
17 kaklik 9 PKG_SOURCE:=sidd-0.96.tar.gz
10 PKG_MD5SUM:=
4 kaklik 11  
12 PKG_BUILD_DIR:=$(BUILD_DIR)/sidd
13 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
14  
17 kaklik 15 include $(INCLUDE_DIR)/package.mk
4 kaklik 16  
17 kaklik 17 define Package/sidd
18 SECTION:=utils
19 CATEGORY:=Utilities
20 TITLE:=SIDD - Software VLF receiver
20 kaklik 21 DEPENDS:=+fftw3
17 kaklik 22 URL:=
23 endef
4 kaklik 24  
17 kaklik 25 define Package/sidd/description
26 sidd daemon is desinged to record SID events
27 endef
4 kaklik 28  
17 kaklik 29 define Package/sidd/conffiles
19 kaklik 30 /etc/sidd.conf
17 kaklik 31 endef
4 kaklik 32  
17 kaklik 33 define Build/Compile
34 $(TARGET_CC) -g -O2 $(PKG_BUILD_DIR)/src/sidd.c -o $(PKG_BUILD_DIR)/$(PKG_NAME) -lfftw3
35 endef
4 kaklik 36  
17 kaklik 37 define Package/sidd/install
38 $(INSTALL_DIR) $(1)/usr/bin/
19 kaklik 39 $(INSTALL_BIN) $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/usr/bin/
40 $(INSTALL_DIR) $(1)/etc/
41 $(INSTALL_CONF) ./files/sidd.conf $(1)/etc/
17 kaklik 42 endef
4 kaklik 43  
17 kaklik 44 $(eval $(call BuildPackage,sidd))