Packaged for Debian and Ubuntu
authorEd Bartosh <eduard.bartosh@intel.com>
Mon, 12 Nov 2012 17:11:46 +0000 (19:11 +0200)
committerEd Bartosh <eduard.bartosh@intel.com>
Mon, 12 Nov 2012 17:37:36 +0000 (19:37 +0200)
Change-Id: I5f99117eb0bd506dd1d83d691a0b0e9c5f08c944
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
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]
packaging/Makefile
packaging/lthor.dsc [new file with mode: 0644]

diff --git a/debian/changelog b/debian/changelog
new file mode 100644 (file)
index 0000000..4ab29a4
--- /dev/null
@@ -0,0 +1,5 @@
+lthor (1.0) unstable; urgency=low
+
+  * Initial upload
+
+ -- Ed Bartosh <eduard.bartosh@intel.com>  Mon, 12 Nov 2012 19:08:56 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644 (file)
index 0000000..7813681
--- /dev/null
@@ -0,0 +1 @@
+5
\ No newline at end of file
diff --git a/debian/control b/debian/control
new file mode 100644 (file)
index 0000000..c1c09bc
--- /dev/null
@@ -0,0 +1,12 @@
+Source: lthor
+Section: net
+Priority: extra
+Maintainer: Ed Bartosh <eduard.bartosh@intel.com>
+Build-Depends: debhelper (>= 5), libc6-dev, pkg-config, cmake, libarchive-dev
+Standards-Version: 0.0.1
+
+Package: lthor
+Architecture: any
+Depends: ${shlibs:Depends}
+Description: Flashing tool for Tizen lunchbox
+
diff --git a/debian/rules b/debian/rules
new file mode 100755 (executable)
index 0000000..abde6ef
--- /dev/null
@@ -0,0 +1,5 @@
+#!/usr/bin/make -f
+
+%:
+       dh $@
+
index ae0311f9403067b6fcf5800099948a466897c1aa..4ffb78c437a88589e105a5e5c1d042badcd5f860 100644 (file)
@@ -8,7 +8,12 @@ tarball:
        @cd .. && git archive --prefix $(PKG_NAME)-$(PKG_VERSION)/ HEAD \
                | gzip > packaging/$(TARBALL)
 
+dsc: tarball
+       $(eval MD5=$(shell md5sum $(TARBALL) | sed "s/  / $(shell stat -c '%s' $(TARBALL)) /"))
+       @sed  -i 's/^Version:.*/Version: $(PKG_VERSION)/' $(PKG_NAME).dsc
+       @sed  -i 's/ [a-f0-9]\+ [0-9]\+ $(PKG_NAME).*tar.*/ $(MD5)/' $(PKG_NAME).dsc
+
 clean:
        @rm -f $(PKG_NAME)_*.tar.gz
 
-all: clean tarball
+all: clean tarball dsc
diff --git a/packaging/lthor.dsc b/packaging/lthor.dsc
new file mode 100644 (file)
index 0000000..e4e4e6e
--- /dev/null
@@ -0,0 +1,10 @@
+Format: 1.0
+Source: lthor
+Binary: lthor
+Architecture: any
+Version: 1.0
+Maintainer: Ed Bartosh <eduard.bartosh@intel.com>
+Standards-Version: 3.7.2
+Build-Depends: debhelper (>= 7), pkg-config, cmake, libarchive-dev
+Files:
+  58f2bac971d05de313cd5d9ca3e60c9b 9259 lthor_1.0.tar.gz