Fix syslog-ng build and cleanup Makefile.
git-svn-id: svn://svn.openwrt.org/openwrt/packages@12593 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
3e9d6e83fc
commit
7e5eee900b
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2006 OpenWrt.org
|
# Copyright (C) 2006-2008 OpenWrt.org
|
||||||
#
|
#
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
@ -13,7 +13,8 @@ PKG_VERSION:=1.6.12
|
|||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=1
|
||||||
PKG_MD5SUM:=a3cbfdb6e1e5beea181a7349749719f3
|
PKG_MD5SUM:=a3cbfdb6e1e5beea181a7349749719f3
|
||||||
|
|
||||||
PKG_SOURCE_URL:= http://www.balabit.com/downloads/files/syslog-ng/sources/1.6/src \
|
PKG_SOURCE_URL:= \
|
||||||
|
http://www.balabit.com/downloads/files/syslog-ng/sources/1.6/src \
|
||||||
http://www.balabit.com/downloads/files/syslog-ng/stable/src
|
http://www.balabit.com/downloads/files/syslog-ng/stable/src
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
|
|
||||||
@ -38,15 +39,19 @@ define Package/syslog-ng/conffiles
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/Configure
|
define Build/Configure
|
||||||
$(call Build/Configure/Default,--disable-dependency-tracking \
|
$(call Build/Configure/Default, \
|
||||||
|
--disable-dependency-tracking \
|
||||||
--disable-full-static \
|
--disable-full-static \
|
||||||
--enable-tcp-wrapper \
|
--enable-tcp-wrapper \
|
||||||
--with-libol="$(STAGING_DIR)/usr/bin",CPPFLAGS="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/usr/include/libol" \
|
--with-libol="$(STAGING_DIR)/host/bin" \
|
||||||
LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/usr/lib/libol")
|
, \
|
||||||
|
CPPFLAGS="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/usr/include/libol" \
|
||||||
|
LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/usr/lib/libol" \
|
||||||
|
)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
$(call Build/Compile/Default,DESTDIR="$(PKG_INSTALL_DIR)" all install)
|
$(call Build/Compile/Default,DESTDIR="$(PKG_INSTALL_DIR)" all install)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/syslog-ng/install
|
define Package/syslog-ng/install
|
||||||
|
Loading…
x
Reference in New Issue
Block a user