Added debianization

This commit is contained in:
Evgeniy Polyakov 2015-08-15 21:32:42 +03:00
parent b4b739c4bf
commit 33fa0bfb74
9 changed files with 66 additions and 0 deletions

8
debian/changelog vendored Normal file
View File

@ -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 <Cyan4973@github.com> Sun, 28 Jun 2015 01:00:00 +0000

1
debian/compat vendored Normal file
View File

@ -0,0 +1 @@
7

16
debian/control vendored Normal file
View File

@ -0,0 +1,16 @@
Source: lz4
Section: devel
Priority: optional
Maintainer: Evgeniy Polyakov <zbr@ioremap.net>
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

9
debian/copyright vendored Normal file
View File

@ -0,0 +1,9 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: lz4
Upstream-Contact: Yann Collet <Cyan4973@github.com>
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

2
debian/dirs vendored Normal file
View File

@ -0,0 +1,2 @@
usr/bin
usr/sbin

0
debian/docs vendored Normal file
View File

2
debian/lz4-dev.install vendored Normal file
View File

@ -0,0 +1,2 @@
usr/include/lz4*
usr/lib/*.so

2
debian/lz4.install vendored Normal file
View File

@ -0,0 +1,2 @@
usr/lib/*.so.*
usr/bin/*

26
debian/rules vendored Executable file
View File

@ -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