2 # Copyright (C) 2008-2011 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
12 PKG_VERSION
:=2.00_r
$(PKG_REV
)
15 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.bz2
16 PKG_SOURCE_URL
:=http
://repo.ham.fi
/svn
/aprx
/trunk
/
17 PKG_SOURCE_SUBDIR
:=$(PKG_NAME
)-$(PKG_VERSION
)
18 PKG_SOURCE_VERSION
:=$(PKG_REV
)
21 include $(INCLUDE_DIR
)/package.mk
26 TITLE
:=APRS RX only I-gate
27 URL
:=http
://ham.zmailer.org
/oh2mqk
/aprx
/
30 define Package
/aprx
/description
31 This daemon listens for traffic on the specified serial interfaces.
32 It then forwards appropriate packets to APRS-IS servers.
38 define Package
/aprx
/install
39 $(INSTALL_DIR
) $(1)/etc
/init.d
40 $(INSTALL_BIN
) .
/files
/aprx.init
$(1)/etc
/init.d
/aprx
41 $(INSTALL_DIR
) $(1)/etc
42 $(INSTALL_CONF
) $(PKG_BUILD_DIR
)/aprx.conf
$(1)/etc
/
43 $(INSTALL_DIR
) $(1)/usr
/sbin
44 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/aprx
$(1)/usr
/sbin
/
45 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/aprx-stat
$(1)/usr
/sbin
/
48 define Package
/aprx
/conffiles
52 $(eval
$(call BuildPackage
,aprx
))