summaryrefslogtreecommitdiff
path: root/package/lighttpd
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-09-14 19:04:46 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2010-09-14 19:04:46 +0200
commit05d0076d97ed69a531df1aa5cde3a1e6ed17f922 (patch)
treee605e2d5de96fe9afe7ad8724fe57e9e5c5417e1 /package/lighttpd
parenta2e96ddb9519a2f40857f11501b88e465d25082d (diff)
replace mksh scripts with faster C programs
depmaker and pkgmaker is replaced by C programs. scan-pkgs.sh will be replaced by another mechanism. scan-pkgs.sh is needed to recognize package flavour changes, so that a package is rebuild. Generation of meta-data is a lot faster now. Fix or add new PKG variables to fulfill the needs of the new programs. Documentation will follow as soon as it is stable.
Diffstat (limited to 'package/lighttpd')
-rw-r--r--package/lighttpd/Makefile24
1 files changed, 11 insertions, 13 deletions
diff --git a/package/lighttpd/Makefile b/package/lighttpd/Makefile
index a6f75ac63..780b9b5b5 100644
--- a/package/lighttpd/Makefile
+++ b/package/lighttpd/Makefile
@@ -9,16 +9,18 @@ PKG_RELEASE:= 1
PKG_MD5SUM:= 87e936ec272ddaba8a2fdfecd8c6b704
PKG_DESCR:= a lightweight web server
PKG_SECTION:= www
-PKG_DEPENDS:= libxml2 libsqlite libpcre
-PKG_BUILDDEP+= pcre libxml2 sqlite
-ifeq (${ADK_COMPILE_LIGHTTPD_WITH_OPENSSL},y)
-PKG_DEPENDS+= libopenssl
-PKG_BUILDDEP+= openssl
-endif
-PKG_URL:= http://www.lighttpd.net
+PKG_DEPENDS:= libxml2 libsqlite libpcre libopenssl
+PKG_BUILDDEP:= pcre libxml2 sqlite openssl
+PKG_URL:= http://www.lighttpd.net/
PKG_SITES:= http://download.lighttpd.net/lighttpd/releases-1.4.x/
PKG_MULTI:= 1
+PKG_SUBPKGS:= LIGHTTPD LIGHTTPD_MOD_ACCESSLOG LIGHTTPD_MOD_ALIAS LIGHTTPD_MOD_AUTH
+PKG_SUBPKGS+= LIGHTTPD_MOD_CGI LIGHTTPD_MOD_EVASIVE LIGHTTPD_MOD_EXPIRE LIGHTTPD_MOD_FASTCGI
+PKG_SUBPKGS+= LIGHTTPD_MOD_PROXY LIGHTTPD_MOD_REDIRECT LIGHTTPD_MOD_REWRITE LIGHTTPD_MOD_SETENV
+PKG_SUBPKGS+= LIGHTTPD_MOD_SIMPLE_VHOST LIGHTTPD_MOD_SSI LIGHTTPD_MOD_STATUS LIGHTTPD_MOD_USERTRACK
+PKG_SUBPKGS+= LIGHTTPD_MOD_WEBDAV
+
include $(TOPDIR)/mk/package.mk
define PKG_mod_template
@@ -81,12 +83,8 @@ CONFIGURE_ARGS+= \
--without-mysql \
--with-pcre \
--without-valgrind \
- --with-webdav-props
-ifeq (${ADK_COMPILE_LIGHTTPD_WITH_OPENSSL},y)
-CONFIGURE_ARGS+= --with-openssl='${STAGING_DIR}/usr'
-else
-CONFIGURE_ARGS+= --without-openssl
-endif
+ --with-webdav-props \
+ --with-openssl='${STAGING_DIR}/usr'
post-install: ${INSTALL_MODS_y} ${INSTALL_MODS_m}
install -m0755 -d $(IDIR_LIGHTTPD)/etc