[syslog-ng] fix parallel build thanks Raphael HUCK

git-svn-id: svn://svn.openwrt.org/openwrt/packages@19605 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
thepeople 2010-02-12 15:24:17 +00:00
parent 0ef53bdfc4
commit c3c79cff00

View File

@ -1,5 +1,5 @@
#
# Copyright (C) 2006-2009 OpenWrt.org
# Copyright (C) 2006-2010 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=syslog-ng
PKG_VERSION:=1.6.12
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_MD5SUM:=a3cbfdb6e1e5beea181a7349749719f3
PKG_SOURCE_URL:= \
@ -17,6 +17,8 @@ PKG_SOURCE_URL:= \
http://www.balabit.com/downloads/files/syslog-ng/stable/src
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_INSTALL:=1
include $(INCLUDE_DIR)/package.mk
define Package/syslog-ng
@ -49,10 +51,6 @@ define Build/Configure
)
endef
define Build/Compile
$(call Build/Compile/Default,DESTDIR="$(PKG_INSTALL_DIR)" all install)
endef
define Package/syslog-ng/install
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/syslog-ng $(1)/usr/sbin/