]> git.sur5r.net Git - i3/i3/commitdiff
Add debian/
authorMichael Stapelberg <michael+x200@stapelberg.de>
Sun, 22 Feb 2009 16:41:30 +0000 (17:41 +0100)
committerMichael Stapelberg <michael+x200@stapelberg.de>
Sun, 22 Feb 2009 16:41:30 +0000 (17:41 +0100)
Makefile
debian/changelog [new file with mode: 0644]
debian/compat [new file with mode: 0644]
debian/control [new file with mode: 0644]
debian/copyright [new file with mode: 0644]
debian/rules [new file with mode: 0755]

index 06388cb9c0ce7af3dfb11e338f0fa4340b8ff245..af84637093461b76d118cb06160d96de472d61ab 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,6 @@
 UNAME=$(shell uname)
 DEBUG=1
+INSTALL=install
 
 CFLAGS += -std=c99
 CFLAGS += -Wall
@@ -37,6 +38,10 @@ src/%.o: src/%.c ${HEADERS}
 all: ${FILES}
        $(CC) -o i3 ${FILES} $(LDFLAGS)
 
+install: all
+       $(INSTALL) -d -m 0755 $(DESTDIR)/usr/bin
+       $(INSTALL) -m 0755 i3 $(DESTDIR)/usr/bin/
+
 clean:
        rm -f src/*.o
 
diff --git a/debian/changelog b/debian/changelog
new file mode 100644 (file)
index 0000000..5054325
--- /dev/null
@@ -0,0 +1,5 @@
+i3 (1.0-1) unstable; urgency=low
+
+  * First release
+
+ -- Michael Stapelberg <michael+i3@stapelberg.de>  Sat, 21 Feb 2009 15:24:04 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644 (file)
index 0000000..7ed6ff8
--- /dev/null
@@ -0,0 +1 @@
+5
diff --git a/debian/control b/debian/control
new file mode 100644 (file)
index 0000000..a491ae4
--- /dev/null
@@ -0,0 +1,15 @@
+Source: i3
+Section: utils
+Priority: optional
+Maintainer: Michael Stapelberg <michael+i3@stapelberg.de>
+Build-Depends: debhelper (>= 5), libxcb-wm0-dev (>= 0.3.3),  libxcb-aux0-dev (>= 0.3.3)
+Standards-Version: 3.8.0
+Homepage: http://i3.zekjur.net/
+
+Package: i3
+Architecture: any
+Priority: optional
+Section: utils
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: an improved dynamic tiling window manager
+ TODO
diff --git a/debian/copyright b/debian/copyright
new file mode 100644 (file)
index 0000000..588f735
--- /dev/null
@@ -0,0 +1,29 @@
+This Debian package is based on a tarball downloaded from
+http://i3.zekjur.net
+
+Copyright: (C) 2009 Michael Stapelberg <michael+i3 at stapelberg dot de>
+
+Redistribution and use in source and binary forms, with or without modification,
+are permitted provided that the following conditions are met:
+
+* Redistributions of source code must retain the above copyright notice, this
+  list of conditions and the following disclaimer.
+
+* Redistributions in binary form must reproduce the above copyright notice, this
+  list of conditions and the following disclaimer in the documentation and/or other
+  materials provided with the distribution.
+
+* Neither the name of Michael Stapelberg, wiipdf nor the names of its contributors
+  may be used to endorse or promote products derived from this software without
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
+EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT
+SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
+INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
+TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
+BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
+ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
+DAMAGE.
diff --git a/debian/rules b/debian/rules
new file mode 100755 (executable)
index 0000000..2186810
--- /dev/null
@@ -0,0 +1,80 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+config.status: configure
+       dh_testdir
+       touch $@
+
+build:
+       dh_testdir
+
+       # Add here commands to compile the package.
+       $(MAKE)
+
+       touch $@
+
+clean: 
+       dh_testdir
+       dh_testroot
+       rm -f build
+
+       # Add here commands to clean up after the build process.
+       [ ! -f Makefile ] || $(MAKE) distclean
+
+       dh_clean 
+
+install: build
+       dh_testdir
+       dh_testroot
+       dh_clean -k 
+       dh_installdirs
+
+       # Add here commands to install the package into debian/wiipdf
+       $(MAKE) DESTDIR=$(CURDIR)/debian/i3/ install
+
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+       dh_testdir
+       dh_testroot
+       dh_installchangelogs 
+       dh_installdocs
+       dh_installexamples
+#      dh_install
+#      dh_installmenu
+       dh_installdebconf       
+#      dh_installlogrotate
+#      dh_installemacsen
+#      dh_installpam
+#      dh_installmime
+#      dh_python
+       dh_installinit
+#      dh_installcron
+#      dh_installinfo
+       dh_installman
+       dh_link
+       dh_strip
+       dh_compress
+       dh_fixperms
+#      dh_perl
+#      dh_makeshlibs
+       dh_installdeb
+       dh_shlibdeps
+       dh_gencontrol
+       dh_md5sums
+       dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install