summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--frikanalen/Makefile14
-rw-r--r--frikanalen/debian/changelog5
-rw-r--r--frikanalen/debian/compat1
-rw-r--r--frikanalen/debian/control14
-rw-r--r--frikanalen/debian/copyright8
-rwxr-xr-xfrikanalen/debian/rules52
6 files changed, 94 insertions, 0 deletions
diff --git a/frikanalen/Makefile b/frikanalen/Makefile
new file mode 100644
index 0000000..c68fffc
--- /dev/null
+++ b/frikanalen/Makefile
@@ -0,0 +1,14 @@
+DESTDIR =
+prefix = /usr
+bindir = $(prefix)/bin
+
+INSTALL = install -m755
+INSTALL_DATA = install -m644
+
+all:
+
+install:
+ $(INSTALL) -d $(DESTDIR)$(bindir)
+ $(INSTALL) bin/scheduler $(DESTDIR)$(bindir)/frikanalen-scheduler
+
+clean:
diff --git a/frikanalen/debian/changelog b/frikanalen/debian/changelog
new file mode 100644
index 0000000..8fb83fc
--- /dev/null
+++ b/frikanalen/debian/changelog
@@ -0,0 +1,5 @@
+frikanalen (0.0.0-1) unstable; urgency=low
+
+ * Initial Release.
+
+ -- Petter Reinholdtsen <pere@debian.org> Mon, 15 Mar 2010 22:00:28 +0100
diff --git a/frikanalen/debian/compat b/frikanalen/debian/compat
new file mode 100644
index 0000000..7f8f011
--- /dev/null
+++ b/frikanalen/debian/compat
@@ -0,0 +1 @@
+7
diff --git a/frikanalen/debian/control b/frikanalen/debian/control
new file mode 100644
index 0000000..1e84596
--- /dev/null
+++ b/frikanalen/debian/control
@@ -0,0 +1,14 @@
+Source: frikanalen
+Section: misc
+Priority: optional
+Maintainer: Petter Reinholdtsen <pere@debian.org>
+Build-Depends: debhelper (>= 7)
+Standards-Version: 3.7.4
+Homepage: http://www.frikanalen.no/
+
+Package: frikanalen
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${perl:Depends}
+Description: Web based TV channel control system
+ Provide tools and services used for controling the Norweginan Open Channel
+ Frikanalen.
diff --git a/frikanalen/debian/copyright b/frikanalen/debian/copyright
new file mode 100644
index 0000000..249a8d0
--- /dev/null
+++ b/frikanalen/debian/copyright
@@ -0,0 +1,8 @@
+The Debian packaging was written by Petter Reinholdtsen.
+
+The source was downloaded from the NUUG subversion repository
+svn+ssh://nerdhaven.nuug.no/data/video/svnroot
+
+Copyright:
+
+GNU General Public License v2 or later.
diff --git a/frikanalen/debian/rules b/frikanalen/debian/rules
new file mode 100755
index 0000000..1b4bb20
--- /dev/null
+++ b/frikanalen/debian/rules
@@ -0,0 +1,52 @@
+#!/usr/bin/make -f
+
+export LC_ALL=C
+
+package=frikanalen
+
+debdir=$(shell pwd)/debian
+DESTDIR=${debdir}/$(package)
+
+build: build-stamp
+build-stamp:
+ dh_testdir
+ make
+ touch build-stamp
+
+clean:
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp
+ make clean
+ dh_clean
+
+binary-indep: build
+# There are no architecture-independent files to be uploaded
+# generated by this package. If there were any they would be
+# made here.
+
+binary-arch: build
+ dh_testdir
+ dh_testroot
+ dh_clean
+ dh_installdirs
+
+ make install DESTDIR=${DESTDIR}
+ dh_install --sourcedir=${DESTDIR}
+
+ dh_installdocs
+ dh_installchangelogs
+
+ dh_perl
+ dh_strip
+ dh_compress
+ dh_fixperms
+ dh_installdeb
+ dh_shlibdeps
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+# Below here is fairly generic really
+binary: binary-indep binary-arch
+.PHONY: binary binary-arch binary-indep clean