From: Ed Bartosh Date: Mon, 12 Nov 2012 17:11:46 +0000 (+0200) Subject: Packaged for Debian and Ubuntu X-Git-Tag: submit/tizen_2.1/20130425.000057^2~10 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a8b840a5b6760f021e0b3041d7fb223bd80fb932;p=tools%2Flthor.git Packaged for Debian and Ubuntu Change-Id: I5f99117eb0bd506dd1d83d691a0b0e9c5f08c944 Signed-off-by: Ed Bartosh --- diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..4ab29a4 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +lthor (1.0) unstable; urgency=low + + * Initial upload + + -- Ed Bartosh Mon, 12 Nov 2012 19:08:56 +0200 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..7813681 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +5 \ No newline at end of file diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..c1c09bc --- /dev/null +++ b/debian/control @@ -0,0 +1,12 @@ +Source: lthor +Section: net +Priority: extra +Maintainer: Ed Bartosh +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 index 0000000..abde6ef --- /dev/null +++ b/debian/rules @@ -0,0 +1,5 @@ +#!/usr/bin/make -f + +%: + dh $@ + diff --git a/packaging/Makefile b/packaging/Makefile index ae0311f..4ffb78c 100644 --- a/packaging/Makefile +++ b/packaging/Makefile @@ -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 index 0000000..e4e4e6e --- /dev/null +++ b/packaging/lthor.dsc @@ -0,0 +1,10 @@ +Format: 1.0 +Source: lthor +Binary: lthor +Architecture: any +Version: 1.0 +Maintainer: Ed Bartosh +Standards-Version: 3.7.2 +Build-Depends: debhelper (>= 7), pkg-config, cmake, libarchive-dev +Files: + 58f2bac971d05de313cd5d9ca3e60c9b 9259 lthor_1.0.tar.gz