diff options
author | Ed Bartosh <eduard.bartosh@intel.com> | 2012-11-12 19:11:46 +0200 |
---|---|---|
committer | Ed Bartosh <eduard.bartosh@intel.com> | 2012-11-12 19:37:36 +0200 |
commit | a8b840a5b6760f021e0b3041d7fb223bd80fb932 (patch) | |
tree | 00c16c03dcbaf95f5f4f5da8c44539bebd028c18 | |
parent | 2c311019cb1f1e6eca4caea65265aa44760a45c7 (diff) | |
download | lthor-a8b840a5b6760f021e0b3041d7fb223bd80fb932.tar.gz lthor-a8b840a5b6760f021e0b3041d7fb223bd80fb932.tar.bz2 lthor-a8b840a5b6760f021e0b3041d7fb223bd80fb932.zip |
Packaged for Debian and Ubuntu
Change-Id: I5f99117eb0bd506dd1d83d691a0b0e9c5f08c944
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
-rw-r--r-- | debian/changelog | 5 | ||||
-rw-r--r-- | debian/compat | 1 | ||||
-rw-r--r-- | debian/control | 12 | ||||
-rwxr-xr-x | debian/rules | 5 | ||||
-rw-r--r-- | packaging/Makefile | 7 | ||||
-rw-r--r-- | packaging/lthor.dsc | 10 |
6 files changed, 39 insertions, 1 deletions
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 <eduard.bartosh@intel.com> 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 <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 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 <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 |