- move into the "Web" Submenu

- add a second mirror because the first is dead at the moment


git-svn-id: svn://svn.openwrt.org/openwrt/packages@9038 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
crazy_imp 2007-09-26 16:58:07 +00:00
parent ee3e05faee
commit e95a458c23

View File

@ -14,7 +14,8 @@ PKG_RELEASE:=2
PKG_SOURCE_NAME:=httpd PKG_SOURCE_NAME:=httpd
PKG_SOURCE:=$(PKG_SOURCE_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_SOURCE_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://ftp.uni-erlangen.de/pub/mirrors/apache/httpd/ PKG_SOURCE_URL:=http://ftp.uni-erlangen.de/pub/mirrors/apache/httpd/ \
http://apache.imsam.info/httpd/
PKG_MD5SUM:=d050a49bd7532ec21c6bb593b3473a5d PKG_MD5SUM:=d050a49bd7532ec21c6bb593b3473a5d
PKG_CAT:=zcat PKG_CAT:=zcat
@ -26,15 +27,21 @@ include $(INCLUDE_DIR)/package.mk
define Package/apache/Default define Package/apache/Default
SECTION:=net SECTION:=net
CATEGORY:=Network CATEGORY:=Network
DEPENDS:=+apr +apr-util +zlib +libexpat +libpcre +libopenssl +libsqlite3 SUBMENU:=Web
TITLE:=The Apache Web Server TITLE:=The Apache Web Server
URL:=http://httpd.apache.org/ URL:=http://httpd.apache.org/
SUBMENU:=apache endef
define Package/apache
$(call Package/apache/Default)
MENU=1
DEPENDS:=+apr +apr-util +zlib +libexpat +libpcre +libopenssl +libsqlite3
endef endef
define Package/apache-server define Package/apache-server
$(call Package/apache/Default) $(call Package/apache/Default)
TITLE:=The apache server & and some tools TITLE:=The apache server & and some tools
DEPENDS:=apache
DESCRIPTION:=\ DESCRIPTION:=\
Take care that you don't include apache at the moment into your image\\\ Take care that you don't include apache at the moment into your image\\\
please select it only as module because busybox will override\\\ please select it only as module because busybox will override\\\
@ -67,7 +74,7 @@ endef
define Package/apache-icons define Package/apache-icons
$(call Package/apache/Default) $(call Package/apache/Default)
TITLE:=Icons from Apache TITLE:=Icons from Apache
DEPENDS:= DEPENDS:=apache
endef endef
define Build/Configure define Build/Configure
@ -154,5 +161,6 @@ define Package/apache-icons/install
$(CP) $(PKG_INSTALL_DIR)/usr/share/icons $(1)/usr/share/ $(CP) $(PKG_INSTALL_DIR)/usr/share/icons $(1)/usr/share/
endef endef
$(eval $(call BuildPackage,apache))
$(eval $(call BuildPackage,apache-server)) $(eval $(call BuildPackage,apache-server))
$(eval $(call BuildPackage,apache-icons)) $(eval $(call BuildPackage,apache-icons))