[Pkg-php-commits] r1188 - pear/php-mdb2-driver-sqlite/trunk/debian
Mark Hershberger
mah-guest at alioth.debian.org
Mon Jan 5 20:34:03 UTC 2009
Author: mah-guest
Date: 2009-01-05 20:34:02 +0000 (Mon, 05 Jan 2009)
New Revision: 1188
Modified:
pear/php-mdb2-driver-sqlite/trunk/debian/rules
Log:
sqlite has a strange package.xml name
Modified: pear/php-mdb2-driver-sqlite/trunk/debian/rules
===================================================================
--- pear/php-mdb2-driver-sqlite/trunk/debian/rules 2009-01-05 20:11:26 UTC (rev 1187)
+++ pear/php-mdb2-driver-sqlite/trunk/debian/rules 2009-01-05 20:34:02 UTC (rev 1188)
@@ -10,8 +10,9 @@
DEB_UPSTREAM_VERSION := $(shell echo $(DEB_NOEPOCH_VERSION) | sed 's/-[^-]*$$//')
PEAR ?= /usr/bin/pear
-pear_pkg =
+pear_pkg = MDB2_Driver_sqlite
package = $(shell dpkg-parsechangelog | egrep '^Source:' | cut -f 2 -d ' ')
+packagexml = ${pear_pkg}-${DEB_UPSTREAM_VERSION}/package_sqlite.xml
configure: configure-stamp
configure-stamp:
@@ -27,8 +28,8 @@
clean:
dh_testdir
dh_testroot
- if [ -f $(pear_pkg)/package.xml ]; then \
- rm $(pear_pkg)/package.xml; \
+ if [ -f ${pear_pkg}/package.xml ]; then \
+ rm ${pear_pkg}/package.xml; \
fi
dh_clean build-stamp configure-stamp
@@ -39,7 +40,7 @@
dh_installdirs
# Add here commands to install the package into debian/package.
- cp package.xml $(pear_pkg)/package.xml
+ cp ${packagexml} $(pear_pkg)/package.xml
$(PEAR) install -f -f -n -R debian/$(package) $(pear_pkg)/package.xml
rm -f debian/$(package)/usr/share/php/.filemap
rm -f debian/$(package)/usr/share/php/.lock
@@ -76,6 +77,3 @@
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install configure
-
-get-orig-source:
- wget http://download.pear.php.net/package/MDB2_Driver_mysql-${DEB_UPSTREAM_VERSION}.tgz -O php-mdb2-driver-mysql_${DEB_UPSTREAM_VERSION}.orig.tar.gz
More information about the Pkg-php-commits
mailing list