changeset 385:28e822aa84e5

Debian packaging script
author Ben Lau <xbenlau@gmail.com>
date Thu, 09 Apr 2009 21:11:29 +0800
parents 7cbb364fd273
children 12464f1138ae
files debian/README.Debian debian/changelog debian/compat debian/control debian/copyright debian/dirs debian/docs debian/libmadbutterfly-dev.install debian/madbuilder.dirs debian/madbuilder.links debian/madbutterfly-doc.docs debian/rules
diffstat 12 files changed, 85 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/debian/README.Debian	Thu Apr 09 21:11:29 2009 +0800
@@ -0,0 +1,6 @@
+madbutterfly for Debian
+-----------------------
+
+<possible notes regarding this package - if none, delete this file>
+
+ -- Ben Lau <benlau@visionware.com.hk>  Thu, 09 Apr 2009 20:00:10 +0800
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/debian/changelog	Thu Apr 09 21:11:29 2009 +0800
@@ -0,0 +1,6 @@
+madbutterfly (0.0-1) intrepid; urgency=low
+
+  * Initial release
+
+ -- Ben Lau <benlau@visionware.com.hk>  Thu, 09 Apr 2009 20:00:10 +0800
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/debian/compat	Thu Apr 09 21:11:29 2009 +0800
@@ -0,0 +1,1 @@
+6
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/debian/control	Thu Apr 09 21:11:29 2009 +0800
@@ -0,0 +1,29 @@
+Source: madbutterfly
+Section: devel
+Priority: extra
+Maintainer: Ben Lau <benlau@visionware.com.hk>
+Build-Depends: debhelper (>= 5),cdbs , mozilla-devscripts
+Standards-Version: 3.7.3
+Homepage: http://www.assembla.com/spaces/MadButterfly
+
+Package: libmadbutterfly-dev
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: GUI environment toolkit
+ MadButterfly (http://www.assembla.com/spaces/MadButterfly)
+ is a toolkit for GUI environment. It is designed for 
+ embedded system. It make GUI designers and programmers 
+ work seperately. Designer export their artifacts to files 
+ with SVG format. MadButterfly provides a tool to translate 
+ graphics in SVG into C code and a framework that 
+ programmer can manipulate graphics. It works like a 
+ Javascript programmer to manipulate DOM object. 
+ Programmers using MadButterfly manipulate objects 
+ corresponding to SVG tags to interact with users of 
+ application.
+
+Package: madbuilder
+Architecture: all
+Depends: python-soappy,python-twisted,mozplugger,python-lxml
+Description: MadButterFly Integrated Development Environment
+ 
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/debian/copyright	Thu Apr 09 21:11:29 2009 +0800
@@ -0,0 +1,24 @@
+This package was debianized by Ben Lau <benlau@visionware.com.hk> on
+Thu, 09 Apr 2009 20:00:10 +0800.
+
+It was downloaded from <url://example.com>
+
+Upstream Author(s): 
+
+    <put author's name and email here>
+    <likewise for another author>
+
+Copyright: 
+
+    <Copyright (C) YYYY Name OfAuthor>
+    <likewise for another author>
+
+License:
+
+    <Put the license of the package here indented by 4 spaces>
+
+The Debian packaging is (C) 2009, Ben Lau <benlau@visionware.com.hk> and
+is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
+
+# Please also look if there are files or directories which have a
+# different copyright/license attached and list them here.
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/debian/dirs	Thu Apr 09 21:11:29 2009 +0800
@@ -0,0 +1,2 @@
+usr/bin
+usr/sbin
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/debian/docs	Thu Apr 09 21:11:29 2009 +0800
@@ -0,0 +1,1 @@
+README.h
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/debian/libmadbutterfly-dev.install	Thu Apr 09 21:11:29 2009 +0800
@@ -0,0 +1,4 @@
+debian/tmp/usr/include
+debian/tmp/usr/lib
+debian/tmp/usr/share/mb
+debian/tmp/usr/bin
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/debian/madbuilder.dirs	Thu Apr 09 21:11:29 2009 +0800
@@ -0,0 +1,1 @@
+usr/lib/iceweasel/extensions
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/debian/madbuilder.links	Thu Apr 09 21:11:29 2009 +0800
@@ -0,0 +1,1 @@
+usr/share/madbuilder usr/lib/iceweasel/extensions/{9cb6698c-667e-488c-8e61-dddfa2a5f8eb}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/debian/madbutterfly-doc.docs	Thu Apr 09 21:11:29 2009 +0800
@@ -0,0 +1,2 @@
+#DOCS#
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/debian/rules	Thu Apr 09 21:11:29 2009 +0800
@@ -0,0 +1,8 @@
+#!/usr/bin/make -f
+
+MOZ_EXTENSION_PKG := madbuilder
+MOZ_XPI_BUILD_COMMAND = make -C inkscape/firefox madbuilder.xpi ; cp inkscape/firefox/madbuilder.xpi .
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/autotools.mk
+include /usr/share/mozilla-devscripts/xpi.mk