git-archimport-id: opensource@polytechnique.org--2005/banana--mainline--1.0--patch-10
PKG_FILES = AUTHORS Changelog COPYING README Makefile TODO
-PKG_DIRS = banana po
+PKG_DIRS = banana po css examples img
-VCS_FILTER = ! -name .arch-ids ! -name CVS
+VCS_FILTER = ! -name .arch-ids ! -name .arch-inventory
# global targets
pkg-build: banana/banana.inc.php
make -C po
+ make -C po clean
pkg-dist: pkg-build
rm -rf $(PKG_DIST) $(PKG_DIST).tar.gz
for dir in `find $(PKG_DIRS) -type d $(VCS_FILTER)`; \
do \
mkdir -p $(PKG_DIST)/$$dir; \
- find $$dir -type f -maxdepth 1 -exec cp {} $(PKG_DIST)/$$dir \; ; \
+ find $$dir -type f $(VCS_FILTER) -maxdepth 1 -exec cp {} $(PKG_DIST)/$$dir \; ; \
done
tar czf $(PKG_DIST).tar.gz $(PKG_DIST)
rm -rf $(PKG_DIST)
--- /dev/null
+banana (1.0-0) unstable; urgency=low
+
+ * First upstream release.
+
+ -- Pierre Habouzit <pierre.habouzit@m4x.org> Fri, 7 Jan 2005 22:37:03 +0100
+
--- /dev/null
+Source: banana
+Section: web
+Priority: optional
+Maintainer: Pierre Habouzit <pierre.habouzit@m4x.org>
+Standards-Version: 3.6.1
+Build-Depends-Indep: cdbs, debhelper (>= 4.1.16)
+
+Package: php-banana
+Architecture: all
+Depends: php4-cli
+Recommends: compface, imagemagick
+Description: foobar
+ Foobar
+ .
+ Homepage: http://opensource.polytechnique.org/banana/
+
--- /dev/null
+This package was debianized by Pierre Habouzit <pierre.habouzit@m4x.org> on
+Fri, 07 Jan 2005 22:40:08 +0100
+
+It was downloaded from http://opensource.polytechnique.org/banana/
+
+Upstream Author: David Bachelart
+
+* Banana is licensed under the terms of the GPL version 2
+ or later and is copyright :
+
+ (c) 2003-2004 David Bachelart.
+ (c) 2005 Pierre Habouzit.
+
+On Debian GNU/Linux systems, the complete text of the GNU General Public
+License may be found in `/usr/share/common-licenses/GPL'.
--- /dev/null
+banana/ /usr/share/php/banana
+img/ /usr/share/banana
+css/ /usr/share/banana
+locale/ /usr/share/
--- /dev/null
+#! /bin/sh
+
+chown -R www-data /var/spool/banana
+
+#DEBHELPER#
+
+exit 0
+
--- /dev/null
+#!/bin/sh -e
+
+ACTION=$1
+case "$ACTION" in
+ purge)
+ rm -rf /var/spool/banana
+ ;;
+
+ *)
+ ;;
+esac
+
+
+#DEBHELPER#
+
+exit 0
--- /dev/null
+#!/usr/bin/make -f
+include /usr/share/cdbs/1/rules/debhelper.mk
+
+# documentation
+DEB_INSTALL_DOCS_ALL :=
+DEB_INSTALL_DOCS_php-banana := AUTHORS TODO examples/
+
+# changelogs
+DEB_INSTALL_CHANGELOGS_ALL :=
+DEB_INSTALL_CHANGELOGS_php-banana := Changelog
+
+#directories
+DEB_INSTALL_DIRS_php-banana := var/spool/banana/
+
+install/php-banana::
+ make
+
+clean::
+ rm -f debian/compat
+ make clean