Add aprx (#3727)
[openwrt/svn-archive/archive.git] / net / aprx / Makefile
1 #
2 # Copyright (C) 2008 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 # $Id: $
8
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=aprx
12 PKG_VERSION:=0.22
13 PKG_RELEASE:=svn115
14
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).$(PKG_RELEASE).tar.gz
16 PKG_SOURCE_URL:=http://ham.zmailer.org/oh2mqk/aprx
17 PKG_MD5SUM:=e376bb1c420858b5053584bae00d498d
18
19 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION).$(PKG_RELEASE)
20 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
21
22 include $(INCLUDE_DIR)/package.mk
23
24 define Package/aprx
25 SECTION:=net
26 CATEGORY:=Network
27 TITLE:=APRS RX only I-gate
28 URL:=http://ham.zmailer.org/oh2mqk/aprx/
29 endef
30
31 define Package/aprx/description
32 This daemon listens for traffic on the specified serial interfaces.
33 It then forwards appropriate packets to APRS-IS servers.
34 endef
35
36 define Package/aprx/install
37 $(INSTALL_DIR) $(1)/etc
38 $(INSTALL_CONF) $(PKG_BUILD_DIR)/aprx.conf $(1)/etc/
39 $(INSTALL_DIR) $(1)/usr/sbin
40 $(INSTALL_BIN) $(PKG_BUILD_DIR)/aprx $(1)/usr/sbin/
41 $(INSTALL_BIN) $(PKG_BUILD_DIR)/aprx-stat $(1)/usr/sbin/
42 endef
43
44 $(eval $(call BuildPackage,aprx))