From 33fa0bfb74c0a3c3940fca6392807f907010bb30 Mon Sep 17 00:00:00 2001 From: Evgeniy Polyakov Date: Sat, 15 Aug 2015 21:32:42 +0300 Subject: Added debianization --- debian/changelog | 8 ++++++++ debian/compat | 1 + debian/control | 16 ++++++++++++++++ debian/copyright | 9 +++++++++ debian/dirs | 2 ++ debian/docs | 0 debian/lz4-dev.install | 2 ++ debian/lz4.install | 2 ++ debian/rules | 26 ++++++++++++++++++++++++++ 9 files changed, 66 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/dirs create mode 100644 debian/docs create mode 100644 debian/lz4-dev.install create mode 100644 debian/lz4.install create mode 100755 debian/rules diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..430c1c7 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,8 @@ +lz4 (0.131) unstable; urgency=low + + * New : Dos/DJGPP target, thanks to Louis Santillan (#114) + * Added : Example using lz4frame library, by Zbigniew Jędrzejewski-Szmek (#118) + * Changed: xxhash symbols are modified (namespace emulation) within liblz4 + + -- Yann Collet Sun, 28 Jun 2015 01:00:00 +0000 + diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..7f8f011 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +7 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..f36e476 --- /dev/null +++ b/debian/control @@ -0,0 +1,16 @@ +Source: lz4 +Section: devel +Priority: optional +Maintainer: Evgeniy Polyakov +Build-Depends: + cmake (>= 2.6), + debhelper (>= 7.0.50~) +Standards-Version: 3.8.0 +Homepage: https://code.google.com/p/lz4/ +Vcs-Git: git://github.com/Cyan4973/lz4.git +Vcs-Browser: https://github.com/Cyan4973/lz4 + +Package: lz4 +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Extremely Fast Compression algorithm http://www.lz4.org diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..8b41def --- /dev/null +++ b/debian/copyright @@ -0,0 +1,9 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: lz4 +Upstream-Contact: Yann Collet +Source: https://github.com/Cyan4973/lz4 + +Files: * +Copyright: (C) 2011+ Yann Collet +License: GPL-2+ + The full text of license: https://github.com/Cyan4973/lz4/blob/master/lib/LICENSE diff --git a/debian/dirs b/debian/dirs new file mode 100644 index 0000000..ca882bb --- /dev/null +++ b/debian/dirs @@ -0,0 +1,2 @@ +usr/bin +usr/sbin diff --git a/debian/docs b/debian/docs new file mode 100644 index 0000000..e69de29 diff --git a/debian/lz4-dev.install b/debian/lz4-dev.install new file mode 100644 index 0000000..85f6809 --- /dev/null +++ b/debian/lz4-dev.install @@ -0,0 +1,2 @@ +usr/include/lz4* +usr/lib/*.so diff --git a/debian/lz4.install b/debian/lz4.install new file mode 100644 index 0000000..0bfc1fd --- /dev/null +++ b/debian/lz4.install @@ -0,0 +1,2 @@ +usr/lib/*.so.* +usr/bin/* diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..06eb09b --- /dev/null +++ b/debian/rules @@ -0,0 +1,26 @@ +#!/usr/bin/make -f + +%: + dh $@ --buildsystem=cmake + +override_dh_auto_configure: + DESTDIR="$(CURDIR)/debian/lz4" dh_auto_configure \ + --buildsystem=cmake -- \ + -DCMAKE_INSTALL_PREFIX="/usr" \ + -DCMAKE_BUILD_TYPE=RelWithDebInfo \ + ../cmake_unofficial + +override_dh_auto_install: + dh_auto_install \ + --destdir="$(CURDIR)/debian/lz4" + --buildsystem=cmake + +override_dh_clean: + dh_clean + +override_dh_makeshlibs: + dh_makeshlibs -V "lz4 (>= $(shell dpkg-parsechangelog | sed -n -r -e 's/^Version: ([^.]+\.[^.]+).*/\1/p'))" + +override_dh_strip: + #dh_strip --dbg-package=lz4-dbg + -- cgit v0.12