[Pkg-php-commits] r939 - php-timezonedb/branches/php4/debian
Raphael Geissert
atomo64-guest at alioth.debian.org
Fri Dec 14 00:18:12 UTC 2007
Author: atomo64-guest
Date: 2007-12-14 00:18:12 +0000 (Fri, 14 Dec 2007)
New Revision: 939
Added:
php-timezonedb/branches/php4/debian/php4-timezonedb.dirs
Removed:
php-timezonedb/branches/php4/debian/php5-timezonedb.dirs
Modified:
php-timezonedb/branches/php4/debian/control
php-timezonedb/branches/php4/debian/rules
Log:
"Updated" so it actually compiles the php4 version
Modified: php-timezonedb/branches/php4/debian/control
===================================================================
--- php-timezonedb/branches/php4/debian/control 2007-12-14 00:15:51 UTC (rev 938)
+++ php-timezonedb/branches/php4/debian/control 2007-12-14 00:18:12 UTC (rev 939)
@@ -3,13 +3,10 @@
Priority: optional
Maintainer: Debian PHP Maintainers <pkg-php-maint at lists.alioth.debian.org>
Uploaders: Raphael Geissert <atomo64 at gmail.com>
-Build-Depends: debhelper (>= 5), po-debconf, xsltproc , php5-dev
-Standards-Version: 3.7.3
-Homepage: http://pecl.php.net/package/timezonedb
-Vcs-Svn: svn://svn.debian.org/pkg-php/php-timezonedb/trunk
-Vcs-Browser: http://svn.debian.org/wsvn/pkg-php/php-timezonedb/trunk
+Build-Depends: debhelper (>= 5), po-debconf, xsltproc , php4-dev
+Standards-Version: 3.7.2
-Package: php5-timezonedb
+Package: php4-timezonedb
Architecture: any
Depends: ${shlibs:Depends}, ${php:Depends}, ${misc:Depends}
Description: Independent timezone database for PHP
@@ -22,4 +19,6 @@
.
The data that this extension uses comes from the "Olson" database,
which is located at ftp://elsie.nci.nih.gov/pub/.
+ .
+ Homepage: http://pecl.php.net/package/timezonedb
Copied: php-timezonedb/branches/php4/debian/php4-timezonedb.dirs (from rev 938, php-timezonedb/branches/php4/debian/php5-timezonedb.dirs)
===================================================================
--- php-timezonedb/branches/php4/debian/php4-timezonedb.dirs (rev 0)
+++ php-timezonedb/branches/php4/debian/php4-timezonedb.dirs 2007-12-14 00:18:12 UTC (rev 939)
@@ -0,0 +1 @@
+usr/lib/php5
Deleted: php-timezonedb/branches/php4/debian/php5-timezonedb.dirs
===================================================================
--- php-timezonedb/branches/php4/debian/php5-timezonedb.dirs 2007-12-14 00:15:51 UTC (rev 938)
+++ php-timezonedb/branches/php4/debian/php5-timezonedb.dirs 2007-12-14 00:18:12 UTC (rev 939)
@@ -1 +0,0 @@
-usr/lib/php5
Modified: php-timezonedb/branches/php4/debian/rules
===================================================================
--- php-timezonedb/branches/php4/debian/rules 2007-12-14 00:15:51 UTC (rev 938)
+++ php-timezonedb/branches/php4/debian/rules 2007-12-14 00:18:12 UTC (rev 939)
@@ -1,7 +1,7 @@
#!/usr/bin/make -f
EXTN=timezonedb
-BUILD=$(CURDIR)/debian/php5-$(EXTN)
-PHP_EX=$(shell /usr/bin/php-config5 --extension-dir)
+BUILD=$(CURDIR)/debian/php4-$(EXTN)
+PHP_EX=$(shell /usr/bin/php-config4 --extension-dir)
SOURCE_DIR=$(shell ls -d $(EXTN)*-*)
#export DH_VERBOSE=1
@@ -28,11 +28,11 @@
dh_testdir
xsltproc --nonet --novalid debian/changelog.xsl package.xml > debian/ChangeLog
(cd $(SOURCE_DIR); \
- phpize5; \
+ phpize4; \
./configure --disable-rpath --prefix=$(BUILD)/usr \
--mandir=\$${prefix}/share/man \
--infodir=\$${prefix}/share/info \
- --with-php-config=/usr/bin/php-config5 ;\
+ --with-php-config=/usr/bin/php-config4 ;\
$(MAKE) DESTDIR=$(BUILD); )
touch build-stamp
@@ -45,7 +45,7 @@
rm -rf build-stamp
(cd $(SOURCE_DIR); \
[ ! -f Makefile ] || $(MAKE) clean; \
- phpize5 --clean ;)
+ phpize4 --clean ;)
rm -rf $(CURDIR)/debian/ChangeLog
dh_clean
@@ -54,8 +54,8 @@
dh_testroot
dh_installdirs
(cd $(SOURCE_DIR); \
- install -D -m 644 modules/$(EXTN).so $(CURDIR)/debian/php5-$(EXTN)$(PHP_EX)/$(EXTN).so; )
- install -D -m 644 debian/$(EXTN).ini debian/php5-$(EXTN)/etc/php5/conf.d/$(EXTN).ini
+ install -D -m 644 modules/$(EXTN).so $(CURDIR)/debian/php4-$(EXTN)$(PHP_EX)/$(EXTN).so; )
+ install -D -m 644 debian/$(EXTN).ini debian/php4-$(EXTN)/etc/php4/conf.d/$(EXTN).ini
binary-indep:
@@ -70,7 +70,7 @@
dh_fixperms
dh_installdeb
dh_shlibdeps
- echo "php:Depends=phpapi-`php-config5 --phpapi`" >> debian/php5-$(EXTN).substvars
+ echo "php:Depends=phpapi-`php-config4 --phpapi`" >> debian/php4-$(EXTN).substvars
dh_gencontrol
dh_md5sums
dh_builddeb
More information about the Pkg-php-commits
mailing list