2008-07-14 09:02:33 +00:00
|
|
|
#
|
2011-11-13 22:15:23 +00:00
|
|
|
# Copyright (C) 2008-2011 OpenWrt.org
|
2008-07-14 09:02:33 +00:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=aprx
|
2010-08-22 16:36:30 +00:00
|
|
|
PKG_REV:=421
|
|
|
|
PKG_VERSION:=2.00_r$(PKG_REV)
|
2011-11-16 20:02:41 +00:00
|
|
|
PKG_RELEASE:=3
|
2008-07-14 09:02:33 +00:00
|
|
|
|
2010-04-06 09:36:43 +00:00
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
|
|
|
PKG_SOURCE_URL:=http://repo.ham.fi/svn/aprx/trunk/
|
|
|
|
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
|
|
|
|
PKG_SOURCE_VERSION:=$(PKG_REV)
|
|
|
|
PKG_SOURCE_PROTO:=svn
|
2008-07-14 09:02:33 +00:00
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/aprx
|
|
|
|
SECTION:=net
|
|
|
|
CATEGORY:=Network
|
|
|
|
TITLE:=APRS RX only I-gate
|
|
|
|
URL:=http://ham.zmailer.org/oh2mqk/aprx/
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/aprx/description
|
|
|
|
This daemon listens for traffic on the specified serial interfaces.
|
|
|
|
It then forwards appropriate packets to APRS-IS servers.
|
|
|
|
endef
|
|
|
|
|
2010-04-06 09:36:43 +00:00
|
|
|
CONFIGURE_ARGS += \
|
|
|
|
--with-embedded \
|
2008-07-24 14:06:26 +00:00
|
|
|
|
2010-08-22 16:36:30 +00:00
|
|
|
define Package/aprx/install
|
2008-07-24 14:06:26 +00:00
|
|
|
$(INSTALL_DIR) $(1)/etc/init.d
|
|
|
|
$(INSTALL_BIN) ./files/aprx.init $(1)/etc/init.d/aprx
|
2008-07-14 09:02:33 +00:00
|
|
|
$(INSTALL_DIR) $(1)/etc
|
|
|
|
$(INSTALL_CONF) $(PKG_BUILD_DIR)/aprx.conf $(1)/etc/
|
|
|
|
$(INSTALL_DIR) $(1)/usr/sbin
|
|
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/aprx $(1)/usr/sbin/
|
|
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/aprx-stat $(1)/usr/sbin/
|
|
|
|
endef
|
|
|
|
|
2011-11-16 20:02:41 +00:00
|
|
|
define Package/aprx/conffiles
|
|
|
|
/etc/aprx.conf
|
|
|
|
endef
|
|
|
|
|
2008-07-14 09:02:33 +00:00
|
|
|
$(eval $(call BuildPackage,aprx))
|