nginx: Add openssl dependency. Also fix parallel build.
authorMichael Büsch <mb@bu3sch.de>
Fri, 8 Oct 2010 22:36:18 +0000 (22:36 +0000)
committerMichael Büsch <mb@bu3sch.de>
Fri, 8 Oct 2010 22:36:18 +0000 (22:36 +0000)
SVN-Revision: 23342

net/nginx/Makefile

index 6f01f76a09a5f592770e0878da350d05aef2a8fe..11245222e666d3a4ebbad05743c8ee29e7fcec0c 100644 (file)
@@ -9,12 +9,15 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=nginx
 PKG_VERSION:=0.7.67
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://sysoev.ru/nginx/
 PKG_MD5SUM:=b6e175f969d03a4d3c5643aaabc6a5ff
 
+PKG_BUILD_PARALLEL:=1
+PKG_INSTALL:=1
+
 include $(INCLUDE_DIR)/package.mk
 
 define Package/nginx
@@ -22,7 +25,7 @@ define Package/nginx
   CATEGORY:=Network
   TITLE:=Nginx web server
   URL:=http://nginx.net/
-  DEPENDS:=+libpcre
+  DEPENDS:=+libpcre +libopenssl
   MENU:=1
 endef
 
@@ -86,9 +89,7 @@ define Build/Configure
 endef
 
 define Build/Compile
-       $(MAKE) -C $(PKG_BUILD_DIR) \
-               DESTDIR=$(PKG_INSTALL_DIR) \
-               build install
+       $(call Build/Compile/Default,build)
 endef
 
 define Package/nginx/install