Initial debianization.
authorwellu <wellu@wellu.org>
Wed, 27 Aug 2008 18:37:41 +0000 (18:37 +0000)
committerwellu <wellu@wellu.org>
Wed, 27 Aug 2008 18:37:41 +0000 (18:37 +0000)
git-svn-id: file:///svnroot/speedometer/trunk@5 df364472-da61-43ef-8a67-511c89aa921b

Makefile
debian/changelog [new file with mode: 0644]
debian/compat [new file with mode: 0644]
debian/control [new file with mode: 0644]
debian/rules [new file with mode: 0755]

index 8ea43e4..24838d4 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -27,3 +27,7 @@ $(OBJECTS): $(SOURCES)
 
 clean:
        rm -f $(OBJECTS) $(TARGET)
+
+install:
+       install -D -m 755 speedometer $(DESTDIR)/usr/bin/speedometer
+
diff --git a/debian/changelog b/debian/changelog
new file mode 100644 (file)
index 0000000..9ed5431
--- /dev/null
@@ -0,0 +1,5 @@
+speedometer (0.1) unstable; urgency=low
+
+  * Initial Release.
+
+ -- Wellu Mäkinen <wellu@wellu.org>  Wed, 27 Aug 2008 21:16:11 +0300
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..ee85281
--- /dev/null
@@ -0,0 +1,14 @@
+Source: speedometer
+Section: user/utils
+Priority: extra
+Maintainer: Wellu Mäkinen <wellu@wellu.org>
+Build-Depends: debhelper (>= 5), liblocation-dev
+Standards-Version: 3.7.2
+
+Package: speedometer
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Speedometer shows current speed on the screen.
+ Speedometer shows your current speed in various units
+ on the device screen. Speed is taken from GPS connection.
+
diff --git a/debian/rules b/debian/rules
new file mode 100755 (executable)
index 0000000..1335ffb
--- /dev/null
@@ -0,0 +1,99 @@
+#!/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
+
+
+
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+       CFLAGS += -O0
+else
+       CFLAGS += -O2
+endif
+
+configure: configure-stamp
+configure-stamp:
+       dh_testdir
+       # Add here commands to configure the package.
+
+       touch configure-stamp
+
+
+build: build-stamp
+
+build-stamp: configure-stamp 
+       dh_testdir
+
+       # Add here commands to compile the package.
+       $(MAKE)
+       #docbook-to-man debian/speedometer.sgml > speedometer.1
+
+       touch $@
+
+clean:
+       dh_testdir
+       dh_testroot
+       rm -f build-stamp configure-stamp
+       rm -rf debian/speedometer
+
+       # Add here commands to clean up after the build process.
+       $(MAKE) clean
+
+       dh_clean 
+
+install: build
+       dh_testdir
+       dh_testroot
+       dh_clean -k 
+       dh_installdirs
+
+       # Add here commands to install the package into debian/speedometer.
+       $(MAKE) DESTDIR=$(CURDIR)/debian/speedometer 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 configure