udpxy: pass our CFLAGS

Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/packages@39829 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
florian 2014-03-08 00:57:49 +00:00
parent d91a4bde08
commit 9e2ec32d11

View File

@ -1,5 +1,5 @@
#
# Copyright (C) 2006-2011 OpenWrt.org
# Copyright (C) 2006-2014 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
@ -11,7 +11,7 @@ PKG_NAME:=udpxy
PKG_REV:=1.0.23
PKG_TAG:=9
PKG_VERSION:=$(PKG_REV)-$(PKG_TAG)
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME).$(PKG_REV)-$(patsubst %,%-prod,$(PKG_TAG)).tar.gz
PKG_SOURCE_URL:=http://www.udpxy.com/download/1_23
@ -39,7 +39,8 @@ define Package/udpxy/description
endef
MAKE_FLAGS += \
INSTALLROOT="$(PKG_INSTALL_DIR)/usr"
INSTALLROOT="$(PKG_INSTALL_DIR)/usr" \
ALL_CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS)"
define Package/udpxy/install
$(INSTALL_DIR) $(1)/etc/init.d