| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 | # This file is part of the OpenADK project. OpenADK is copyrighted# material, please see the LICENCE file in the top-level directory.include $(TOPDIR)/rules.mkPKG_NAME:=		nginxPKG_VERSION:=		1.5.3PKG_RELEASE:=		1PKG_MD5SUM:=		1e735dd6a6ade2b5c20e924b67c3d355PKG_DESCR:=		powerful http reverse proxyPKG_SECTION:=		proxyPKG_BUILDDEP:=		openssl pcre zlibPKG_DEPENDS:=		libopenssl libpcre libpthread zlibPKG_URL:=		http://nginx.org/PKG_SITES:=		http://nginx.org/download/include $(TOPDIR)/mk/package.mk$(eval $(call PKG_template,NGINX,nginx,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))CONFIG_STYLE:=          minimalTARGET_CFLAGS+=         -fPICCONFIGURE_ARGS:=        --prefix=/srv/nginx \			--sbin-path=/usr/sbin \			--user=nginx \			--group=nginx \			--crossbuild=Linux::$(ARCH) \			--with-cc="$(TARGET_CC)" \                        --with-cc-opt="$(TARGET_CPPFLAGS) $(TARGET_CFLAGS)" \                        --with-ld-opt="$(TARGET_LDFLAGS)" \			--conf-path=/etc/nginx/nginx.conf \                        --error-log-path=/var/log/nginx/error.log \                        --pid-path=/var/run/nginx.pid \                        --lock-path=/var/lock/nginx.lock \                        --http-log-path=/var/log/nginx/access.log \                        --http-client-body-temp-path=/var/lib/nginx/body \                        --http-proxy-temp-path=/var/lib/nginx/proxy \                        --http-fastcgi-temp-path=/var/lib/nginx/fastcgi \			--with-http_ssl_moduleALL_TARGET:=		XAKE_FLAGS+=		GCC_HONOUR_COPTS=snginx-install:	$(INSTALL_DIR) $(IDIR_NGINX)/usr/sbin $(IDIR_NGINX)/etc/nginx	$(INSTALL_BIN) $(WRKINST)/usr/sbin/nginx \		$(IDIR_NGINX)/usr/sbin	for f in nginx.conf mime.types fastcgi_params koi-utf koi-win win-utf; do \		cp $(WRKINST)/etc/nginx/$${f} \		$(IDIR_NGINX)/etc/nginx ; \	done	$(INSTALL_DIR) $(IDIR_NGINX)/srv/nginx/html	$(CP) $(WRKINST)/srv/nginx/html/* $(IDIR_NGINX)/srv/nginx/htmlinclude ${TOPDIR}/mk/pkg-bottom.mk
 |