File: php-db.packages

package info (click to toggle)
yada 0.34
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 1,160 kB
  • ctags: 83
  • sloc: perl: 3,554; makefile: 26; sh: 12
file content (98 lines) | stat: -rw-r--r-- 5,080 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
# $Id: packages,v 1.2 2004/11/05 08:41:21 dexter Exp $

# If the debian/rules or debian/control file is missing, rebuild the file:
#
#   $ yada rebuild control
#   $ yada rebuild rules

Source: php-db
Section: interpreters
Priority: optional
Maintainer: Piotr Roszatycki <dexter@debian.org>
Standards-Version: 3.6.1
Upstream-Source: <URL:http://pear.php.net/package/DB/>
Home-Page: <URL:http://pear.php.net/>
Description: PEAR Database Abstraction Layer
Copyright: .
 // +----------------------------------------------------------------------+
 // | PHP Version 4                                                        |
 // +----------------------------------------------------------------------+
 // | Copyright (c) 1997-2004 The PHP Group                                |
 // +----------------------------------------------------------------------+
 // | This source file is subject to version 2.02 of the PHP license,      |
 // | that is bundled with this package in the file LICENSE, and is        |
 // | available at through the world-wide-web at                           |
 // | http://www.php.net/license/2_02.txt.                                 |
 // | If you did not receive a copy of the PHP license and are unable to   |
 // | obtain it through the world-wide-web, please send a note to          |
 // | license@php.net so we can mail you a copy immediately.               |
 // +----------------------------------------------------------------------+
 // | Authors: Stig Bakken <ssb@php.net>                                   |
 // |          Tomas V.V.Cox <cox@idecnet.com>                             |
 // | Maintainer: Daniel Convissor <danielc@php.net>                       |
 // +----------------------------------------------------------------------+
Build-Depends-Indep: pear
Build: sh
 rm -rf build || true
 mkdir build
 cd build
 tar zxvf ../*.tgz
 for p in ../debian/patches/*.diff; do
     test -f $p && patch -p0 < $p
 done
 cd */
 ln -s ../package.xml .
 pear \
     -v \
     -c $(pwd)/.pearrc \
     -d bin_dir=/usr/bin \
     -d doc_dir=/usr/share/php/docs \
     -d php_dir=/usr/share/php \
     -d data_dir=/usr/share/php/data \
     -d php_bin=/usr/bin/php \
     -d test_dir=/usr/share/php/tests \
     -d include_path=/usr/share/php \
     install --installroot=$(pwd)/tmp --force --nodeps package.xml
Clean: sh
 rm -rf build || true

Package: php-db
Architecture: all
Depends: php-pear | php5-pear
Depends: php4-common (>= 4.2.0) | php5-common
Replaces: php4-pear
Description: Database Abstraction Layer
 DB is a database abstraction layer providing:
   * an OO-style query API
   * portability features that make programs written for one DBMS work with other DBMS's
   * a DSN (data source name) format for specifying database servers
   * prepare/execute (bind) emulation for databases that don't support it natively
   * a result object for each query response
   * portable error codes
   * sequence emulation
   * sequential and non-sequential row fetching as well as bulk fetching
   * formats fetched rows as associative arrays, ordered arrays or objects
   * row limit support
   * transactions support
   * table information interface
   * DocBook and PHPDoc API documentation
 DB layers itself on top of PHP's existing database
 extensions.  The currently supported extensions are:
 dbase, fbsql, interbase, informix, msql, mssql, mysql,
 mysqli, oci8, odbc, pgsql, sqlite and sybase.
 DB is compatible with both PHP 4 and PHP 5.
Install: sh
 mkdir -p $ROOT/usr/share/doc/$PACKAGE
 cp -a build/*/tmp/* $ROOT
 test -d $ROOT/usr/share/php/docs && mkdir $ROOT/usr/share/doc/$PACKAGE/docs
 test -d $ROOT/usr/share/php/docs/*/docs && cp -a $ROOT/usr/share/php/docs/*/docs $ROOT/usr/share/doc/$PACKAGE && rm -rf $ROOT/usr/share/php/docs/*/docs
 test -d $ROOT/usr/share/php/docs/* && rmdir --ignore-fail-on-non-empty --parents $ROOT/usr/share/php/docs/*
 test -d $ROOT/usr/share/php/docs/* && cp -a $ROOT/usr/share/php/docs/*/* $ROOT/usr/share/doc/$PACKAGE/docs && rm -rf $ROOT/usr/share/php/docs/*/* && rmdir --ignore-fail-on-non-empty --parents $ROOT/usr/share/php/docs/*
 test -d $ROOT/usr/share/php/docs && cp -a $ROOT/usr/share/php/docs/* $ROOT/usr/share/doc/$PACKAGE/docs && rm -rf $ROOT/usr/share/php/docs
 test -d $ROOT/usr/share/php/tests && mkdir $ROOT/usr/share/doc/$PACKAGE/tests
 test -d $ROOT/usr/share/php/tests/*/tests && cp -a $ROOT/usr/share/php/tests/*/tests $ROOT/usr/share/doc/$PACKAGE && rm -rf $ROOT/usr/share/php/tests/*/tests
 test -d $ROOT/usr/share/php/tests/* && rmdir --ignore-fail-on-non-empty --parents $ROOT/usr/share/php/tests/*
 test -d $ROOT/usr/share/php/tests/* && cp -a $ROOT/usr/share/php/tests/*/* $ROOT/usr/share/doc/$PACKAGE/tests && rm -rf $ROOT/usr/share/php/tests/*/* && rmdir --ignore-fail-on-non-empty --parents $ROOT/usr/share/php/tests/*
 test -d $ROOT/usr/share/php/tests && cp -a $ROOT/usr/share/php/tests/* $ROOT/usr/share/doc/$PACKAGE/tests && rm -rf $ROOT/usr/share/php/tests
 cp -a build/package.xml $ROOT/usr/share/doc/$PACKAGE
 find $ROOT -name '.*' -print0 | xargs -0 -r rm -rf