rough Debian package
authorJeremy Laine <jeremy.laine@m4x.org>
Sat, 1 Feb 2003 18:34:07 +0000 (18:34 +0000)
committerJeremy Laine <jeremy.laine@m4x.org>
Sat, 1 Feb 2003 18:34:07 +0000 (18:34 +0000)
deptrack/ChangeLog [new file with mode: 0644]
deptrack/README [new file with mode: 0644]
deptrack/debian/changelog [new file with mode: 0644]
deptrack/debian/control [new file with mode: 0644]
deptrack/debian/copyright [new file with mode: 0644]
deptrack/debian/docs [new file with mode: 0644]
deptrack/debian/examples [new file with mode: 0644]
deptrack/debian/rules [new file with mode: 0755]

diff --git a/deptrack/ChangeLog b/deptrack/ChangeLog
new file mode 100644 (file)
index 0000000..8172193
--- /dev/null
@@ -0,0 +1,3 @@
+deptrack 0.3
+ * started versioning
+ * tracks includes/requires
diff --git a/deptrack/README b/deptrack/README
new file mode 100644 (file)
index 0000000..cef2545
--- /dev/null
@@ -0,0 +1,24 @@
+deptrack - a PHP dependency tracker
+
+DISTRIBUTING
+============
+
+deptrack is distributed under the terms of the GNU General Public
+License (GPL).
+
+USAGE
+=====
+
+In order to use deptrack, you need to have a MySQL database with the tables
+to hold the PHP dependencies that deptrack finds. You can create the necessary
+tables by using the deptrack.sql which is provided.
+
+The user that runs deptrack will also need to install a ~/.deptrackrc file
+configured to match your database setup. You can use the provided deptrackrc
+example.
+
+HOMEPAGE
+========
+
+The project's homepage is http://opensource.polytechnique.org/
+
diff --git a/deptrack/debian/changelog b/deptrack/debian/changelog
new file mode 100644 (file)
index 0000000..d117f2c
--- /dev/null
@@ -0,0 +1,6 @@
+deptrack (0.3-1) unstable; urgency=low
+
+  * Initial Release.
+
+ -- Jeremy Laine <jeremy.laine@m4x.org>  Sat,  1 Feb 2003 18:56:33 +0100
+
diff --git a/deptrack/debian/control b/deptrack/debian/control
new file mode 100644 (file)
index 0000000..4d5b759
--- /dev/null
@@ -0,0 +1,13 @@
+Source: deptrack
+Section: net
+Priority: optional
+Maintainer: Jeremy Laine <jeremy.laine@m4x.org>
+Build-Depends: debhelper (>> 3.0.0)
+Standards-Version: 3.5.2
+
+Package: deptrack
+Architecture: all
+Description: a PHP dependency tracker 
+ Deptrack takes a set of PHP files, calculates their dependencies 
+ and outputs the results to a MySQL database.
+
diff --git a/deptrack/debian/copyright b/deptrack/debian/copyright
new file mode 100644 (file)
index 0000000..ebeca57
--- /dev/null
@@ -0,0 +1,11 @@
+This package was debianized by Jeremy Laine <jeremy.laine@m4x.org> on
+Sat,  1 Feb 2003 18:56:33 +0100.
+
+It was downloaded from http://opensource.polytechnique.org/
+
+Upstream Authors: Jeremy LainĂ© and Pierre Habouzit 
+
+Copyright: GNU GPL Version 2
+
+On Debian GNU/Linux systems, the complete text of the GNU General Public
+License may be found in `/usr/share/common-licenses/GPL'.
diff --git a/deptrack/debian/docs b/deptrack/debian/docs
new file mode 100644 (file)
index 0000000..d6db2ea
--- /dev/null
@@ -0,0 +1,2 @@
+README
+deptrack.sql
diff --git a/deptrack/debian/examples b/deptrack/debian/examples
new file mode 100644 (file)
index 0000000..34e3e70
--- /dev/null
@@ -0,0 +1 @@
+deptrackrc
diff --git a/deptrack/debian/rules b/deptrack/debian/rules
new file mode 100755 (executable)
index 0000000..a097e7d
--- /dev/null
@@ -0,0 +1,84 @@
+#!/usr/bin/make -f
+# Sample debian/rules that uses debhelper.
+# GNU copyright 1997 to 1999 by Joey Hess.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# This is the debhelper compatibility version to use.
+export DH_COMPAT=3
+
+# These are used for cross-compiling and for saving the configure script
+# from having to guess our platform (since we know it already)
+DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+
+ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
+       CFLAGS += -g
+endif
+ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
+       INSTALL_PROGRAM += -s
+endif
+
+config.status: configure
+       dh_testdir
+       # Add here commands to configure the package.
+       ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info
+
+
+build: build-stamp
+
+build-stamp:  config.status
+       dh_testdir
+
+       # Add here commands to compile the package.
+       $(MAKE)
+       #/usr/bin/docbook-to-man debian/deptrack.sgml > deptrack.1
+
+       touch build-stamp
+
+clean:
+       dh_testdir
+       dh_testroot
+       rm -f build-stamp 
+
+       # Add here commands to clean up after the build process.
+       -$(MAKE) distclean
+       -test -r /usr/share/misc/config.sub && \
+         cp -f /usr/share/misc/config.sub config.sub
+       -test -r /usr/share/misc/config.guess && \
+         cp -f /usr/share/misc/config.guess config.guess
+
+
+       dh_clean
+
+install: build
+       dh_testdir
+       dh_testroot
+       dh_clean -k
+       dh_installdirs
+
+       # Add here commands to install the package into debian/deptrack
+       $(MAKE) install prefix=$(CURDIR)/debian/deptrack/usr
+
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+       dh_testdir
+       dh_testroot
+       dh_installdocs
+       dh_installexamples
+       dh_installman
+       dh_installchangelogs ChangeLog 
+       dh_compress
+       dh_fixperms
+       dh_installdeb
+       dh_perl
+       dh_gencontrol
+       dh_md5sums
+       dh_builddeb
+
+binary: binary-indep 
+.PHONY: build clean binary-indep binary install