From cc46cd98f9eb17c1b65ac2e73a54b7ed61d25362 Mon Sep 17 00:00:00 2001 From: nico Date: Tue, 6 Apr 2010 09:36:43 +0000 Subject: [PATCH] [packages] aprx: prevent spurious rebuilds caused by PKG_BUILD_DIR containing .svn, use svn upstream repository instead git-svn-id: svn://svn.openwrt.org/openwrt/packages@20732 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- net/aprx/Makefile | 24 +++++++++++------------- 1 file changed, 11 insertions(+), 13 deletions(-) diff --git a/net/aprx/Makefile b/net/aprx/Makefile index e5f5c8f03..6907fd787 100644 --- a/net/aprx/Makefile +++ b/net/aprx/Makefile @@ -1,5 +1,5 @@ # -# Copyright (C) 2008 OpenWrt.org +# Copyright (C) 2008-2010 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. @@ -8,14 +8,15 @@ include $(TOPDIR)/rules.mk PKG_NAME:=aprx -PKG_VERSION:=0.99 -PKG_RELEASE:=svn121 +PKG_REV:=121 +PKG_VERSION:=0.99_r$(PKG_REV) +PKG_RELEASE:=1 -PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).$(PKG_RELEASE).tar.gz -PKG_SOURCE_URL:=http://ham.zmailer.org/oh2mqk/aprx -PKG_MD5SUM:=095ec0aa24432196002ae717593bfe5c - -PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION).$(PKG_RELEASE) +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 include $(INCLUDE_DIR)/package.mk @@ -31,11 +32,8 @@ define Package/aprx/description It then forwards appropriate packets to APRS-IS servers. endef -define Build/Configure - $(call Build/Configure/Default, \ - --with-embedded \ - ) -endef +CONFIGURE_ARGS += \ + --with-embedded \ define Package/aprx/install $(INSTALL_DIR) $(1)/etc/init.d