added .gitignore, added fetch target

This commit is contained in:
Olaf Rempel 2006-11-05 16:21:42 +01:00
parent 4420b8c24c
commit 8ce7e48bae
2 changed files with 15 additions and 1 deletions

5
.gitignore vendored Normal file
View File

@ -0,0 +1,5 @@
download/eaccelerator*
download/httpd*
#download/mod_rpaf*
download/php*
source

View File

@ -24,7 +24,7 @@ DOWNLOAD_RPAF=http://stderr.net/apache/rpaf/download/$(PACKAGE_RPAF)
SOURCE_RPAF=$(_SOURCES)/mod_rpaf-0.5
PACKAGE_PHP4=php-4.4.4.tar.bz2
DOWNLOAD_PHP4=http://de3.php.net/get/$(PACKAGE_PHP4)/from/de.php.net/mirror
DOWNLOAD_PHP4=http://de3.php.net/get/$(PACKAGE_PHP4)/from/this/mirror
SOURCE_PHP4=$(_SOURCES)/php-4.4.4
PACKAGE_EACCELERATOR=eaccelerator-0.9.5.tar.bz2
@ -35,10 +35,16 @@ SOURCE_EACCELERATOR=$(_SOURCES)/eaccelerator-0.9.5
all: apache2-fe apache2-be
fetch: $(_DOWNLOADS)/$(PACKAGE_APACHE2) \
$(_DOWNLOADS)/$(PACKAGE_RPAF) \
$(_DOWNLOADS)/$(PACKAGE_PHP4) \
$(_DOWNLOADS)/$(PACKAGE_EACCELERATOR)
$(_DOWNLOADS)/$(PACKAGE_APACHE2):
$(WGET) -P $(_DOWNLOADS) $(DOWNLOAD_APACHE2)
$(SOURCE_APACHE2)/.unpacked: $(_DOWNLOADS)/$(PACKAGE_APACHE2)
mkdir -p $(SOURCE_APACHE2)
tar -C $(_SOURCES) -xjf $(_DOWNLOADS)/$(PACKAGE_APACHE2)
touch $@
@ -46,6 +52,7 @@ $(_DOWNLOADS)/$(PACKAGE_RPAF):
$(WGET) -P $(_DOWNLOADS) $(DOWNLOAD_RPAF)
$(SOURCE_RPAF)/.unpacked: $(_DOWNLOADS)/$(PACKAGE_RPAF)
mkdir -p $(SOURCE_RPAF)
tar -C $(_SOURCES) -xzf $(_DOWNLOADS)/$(PACKAGE_RPAF)
touch $@
@ -53,6 +60,7 @@ $(_DOWNLOADS)/$(PACKAGE_PHP4):
$(WGET) -P $(_DOWNLOADS) $(DOWNLOAD_PHP4)
$(SOURCE_PHP4)/.unpacked: $(_DOWNLOADS)/$(PACKAGE_PHP4)
mkdir -p $(SOURCE_PHP4)
tar -C $(_SOURCES) -xjf $(_DOWNLOADS)/$(PACKAGE_PHP4)
touch $@
@ -60,6 +68,7 @@ $(_DOWNLOADS)/$(PACKAGE_EACCELERATOR):
$(WGET) -P $(_DOWNLOADS) $(DOWNLOAD_EACCELERATOR)
$(SOURCE_EACCELERATOR)/.unpacked: $(_DOWNLOADS)/$(PACKAGE_EACCELERATOR)
mkdir -p $(SOURCE_EACCELERATOR)
tar -C $(_SOURCES) -xjf $(_DOWNLOADS)/$(PACKAGE_EACCELERATOR)
touch $@