source: packages/net/aprx/Makefile @ 20732

Last change on this file since 20732 was 20732, checked in by nico, 7 years ago

[packages] aprx: prevent spurious rebuilds caused by PKG_BUILD_DIR containing .svn, use svn upstream repository instead

File size: 1.2 KB
Line 
1#
2# Copyright (C) 2008-2010 OpenWrt.org
3#
4# This is free software, licensed under the GNU General Public License v2.
5# See /LICENSE for more information.
6#
7
8include $(TOPDIR)/rules.mk
9
10PKG_NAME:=aprx
11PKG_REV:=121
12PKG_VERSION:=0.99_r$(PKG_REV)
13PKG_RELEASE:=1
14
15PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
16PKG_SOURCE_URL:=http://repo.ham.fi/svn/aprx/trunk/
17PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
18PKG_SOURCE_VERSION:=$(PKG_REV)
19PKG_SOURCE_PROTO:=svn
20
21include $(INCLUDE_DIR)/package.mk
22
23define Package/aprx
24  SECTION:=net
25  CATEGORY:=Network
26  TITLE:=APRS RX only I-gate
27  URL:=http://ham.zmailer.org/oh2mqk/aprx/
28endef
29
30define Package/aprx/description
31        This daemon listens for traffic on the specified serial interfaces.
32        It then forwards appropriate packets to APRS-IS servers.
33endef
34
35CONFIGURE_ARGS += \
36        --with-embedded \
37
38define 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/
46endef
47
48$(eval $(call BuildPackage,aprx))
Note: See TracBrowser for help on using the repository browser.