diff --git a/configure.php b/configure.php index de2d1ff..85e2e10 100644 --- a/configure.php +++ b/configure.php @@ -3,7 +3,7 @@ set_include_path ( get_include_path () - .PATH_SEPARATOR.__DIR__.'/package/usr/share/php' + .PATH_SEPARATOR.__DIR__.'/lib' ); ?> diff --git a/copyright.txt b/copyright.txt new file mode 100755 index 0000000..9b26e8d --- /dev/null +++ b/copyright.txt @@ -0,0 +1,17 @@ +Copyright (C) 2015 - Juan Ferrer Toribio + +This package is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . + +On Debian systems, the complete text of the GNU General Public +License can be found in "/usr/share/common-licenses/GPL-3". diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..16e8c30 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +php-vn-lib (1.0-16) stable; urgency=low + + * Initial Release. + + -- Juan Ferrer Toribio Wed, 19 Aug 2015 12:00:00 +0200 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..f11c82a --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +9 \ No newline at end of file diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..0ad03c7 --- /dev/null +++ b/debian/control @@ -0,0 +1,16 @@ +Source: php-vn-lib +Priority: optional +Maintainer: Juan Ferrer Toribio +Build-Depends: build-essential, debhelper +Standards-Version: 3.9.3 +Section: misc +Homepage: http://www.verdnatura.es +Vcs-Git: git://www.verdnatura.es/var/git/php-vn-lib + +Package: php-vn-lib +Architecture: any +Depends: php5-mysql +Section: misc +Priority: optional +Description: PHP libraries + PHP libraries. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..6f2b3d9 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,24 @@ +Format: http://dep.debian.net/deps/dep5 +Name: php-vn-lib +Source: git://www.verdnatura.es/var/git/php-vn-lib + +Files: * +Copyright: 2011-2015 Juan Ferrer Toribio +License: GPL-3.0+ + +License: GPL-3.0+ + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + . + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with this program. If not, see . + . + On Debian systems, the complete text of the GNU General Public + License can be found in "/usr/share/common-licenses/GPL-3". diff --git a/debian/install b/debian/install new file mode 100644 index 0000000..bdbef13 --- /dev/null +++ b/debian/install @@ -0,0 +1 @@ +lib/* usr/share/php diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..abde6ef --- /dev/null +++ b/debian/rules @@ -0,0 +1,5 @@ +#!/usr/bin/make -f + +%: + dh $@ + diff --git a/package/usr/share/php/vn/db/conn.php b/lib/vn/db/conn.php similarity index 100% rename from package/usr/share/php/vn/db/conn.php rename to lib/vn/db/conn.php diff --git a/package/usr/share/php/vn/db/db.php b/lib/vn/db/db.php similarity index 100% rename from package/usr/share/php/vn/db/db.php rename to lib/vn/db/db.php diff --git a/package/usr/share/php/vn/db/exception.php b/lib/vn/db/exception.php similarity index 100% rename from package/usr/share/php/vn/db/exception.php rename to lib/vn/db/exception.php diff --git a/package/usr/share/php/vn/db/my.cnf b/lib/vn/db/my.cnf similarity index 100% rename from package/usr/share/php/vn/db/my.cnf rename to lib/vn/db/my.cnf diff --git a/package/usr/share/php/vn/lib/lib.php b/lib/vn/lib/lib.php similarity index 100% rename from package/usr/share/php/vn/lib/lib.php rename to lib/vn/lib/lib.php diff --git a/package/usr/share/php/vn/lib/locale.php b/lib/vn/lib/locale.php similarity index 100% rename from package/usr/share/php/vn/lib/locale.php rename to lib/vn/lib/locale.php diff --git a/package/usr/share/php/vn/lib/log.php b/lib/vn/lib/log.php similarity index 100% rename from package/usr/share/php/vn/lib/log.php rename to lib/vn/lib/log.php diff --git a/package/usr/share/php/vn/lib/type.php b/lib/vn/lib/type.php similarity index 100% rename from package/usr/share/php/vn/lib/type.php rename to lib/vn/lib/type.php diff --git a/package/DEBIAN/control b/package/DEBIAN/control deleted file mode 100644 index ef6dbfa..0000000 --- a/package/DEBIAN/control +++ /dev/null @@ -1,9 +0,0 @@ -Package: php-vn-lib -Version: 1.0-16 -Architecture: all -Maintainer: Juan Ferrer Toribio -Depends: php5-mysql -Section: misc -Priority: optional -Description: PHP libraries - PHP libraries.