diff options
author | Yann Collet <yann.collet.73@gmail.com> | 2015-08-16 10:09:17 (GMT) |
---|---|---|
committer | Yann Collet <yann.collet.73@gmail.com> | 2015-08-16 10:09:17 (GMT) |
commit | e64345506845034454be3c1fdd19e9397e8a2b6d (patch) | |
tree | fae7959cb7358b8a00a316847b31652fd5d81262 | |
parent | d15ac1f1a7dc0a5514849ee1ef04a5ce8d2c3e38 (diff) | |
parent | 2a6ad2a7ffb918885dd221c1b2b2c8377473ba4d (diff) | |
download | lz4-e64345506845034454be3c1fdd19e9397e8a2b6d.zip lz4-e64345506845034454be3c1fdd19e9397e8a2b6d.tar.gz lz4-e64345506845034454be3c1fdd19e9397e8a2b6d.tar.bz2 |
Merge pull request #142 from bioothod/master
Added debianization
-rw-r--r-- | cmake_unofficial/CMakeLists.txt | 4 | ||||
-rw-r--r-- | debian/changelog | 8 | ||||
-rw-r--r-- | debian/compat | 1 | ||||
-rw-r--r-- | debian/control | 23 | ||||
-rw-r--r-- | debian/copyright | 9 | ||||
-rw-r--r-- | debian/dirs | 1 | ||||
-rw-r--r-- | debian/docs | 0 | ||||
-rw-r--r-- | debian/liblz4-dev.install | 2 | ||||
-rw-r--r-- | debian/liblz4.install | 2 | ||||
-rwxr-xr-x | debian/rules | 8 |
10 files changed, 56 insertions, 2 deletions
diff --git a/cmake_unofficial/CMakeLists.txt b/cmake_unofficial/CMakeLists.txt index a986f43..6b8923a 100644 --- a/cmake_unofficial/CMakeLists.txt +++ b/cmake_unofficial/CMakeLists.txt @@ -2,7 +2,7 @@ PROJECT(LZ4 C) set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "LZ4 compression library") set(CPACK_PACKAGE_VERSION_MAJOR 1) set(CPACK_PACKAGE_VERSION_MINOR 5) -set(CPACK_PACKAGE_VERSION_PATCH r128) +set(CPACK_PACKAGE_VERSION_PATCH r131) set(VERSION_STRING " \"${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}\" ") include(CPack) @@ -43,7 +43,7 @@ if(BUILD_TOOLS) endif() if(BUILD_LIBS) - add_library(liblz4 ${LZ4_SRCS_LIB}) + add_library(liblz4 SHARED ${LZ4_SRCS_LIB}) set_target_properties(liblz4 PROPERTIES OUTPUT_NAME lz4 diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..7a4bac6 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,8 @@ +liblz4 (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 + 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..1a5a077 --- /dev/null +++ b/debian/control @@ -0,0 +1,23 @@ +Source: liblz4 +Section: devel +Priority: optional +Maintainer: Evgeniy Polyakov <zbr@ioremap.net> +Build-Depends: + cmake (>= 2.6), + debhelper (>= 7.0.50~), + cdbs +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: liblz4 +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Extremely Fast Compression algorithm http://www.lz4.org + +Package: liblz4-dev +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Extremely Fast Compression algorithm http://www.lz4.org + Development files. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..da22555 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,9 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: liblz4 +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 diff --git a/debian/dirs b/debian/dirs new file mode 100644 index 0000000..e772481 --- /dev/null +++ b/debian/dirs @@ -0,0 +1 @@ +usr/bin diff --git a/debian/docs b/debian/docs new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/debian/docs diff --git a/debian/liblz4-dev.install b/debian/liblz4-dev.install new file mode 100644 index 0000000..3a02909 --- /dev/null +++ b/debian/liblz4-dev.install @@ -0,0 +1,2 @@ +usr/include/lz4* +usr/lib/liblz4.so diff --git a/debian/liblz4.install b/debian/liblz4.install new file mode 100644 index 0000000..e444956 --- /dev/null +++ b/debian/liblz4.install @@ -0,0 +1,2 @@ +usr/lib/liblz4.so.* +usr/bin/* diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..748e68d --- /dev/null +++ b/debian/rules @@ -0,0 +1,8 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/cmake.mk + + +DEB_CMAKE_EXTRA_FLAGS := -DCMAKE_BUILD_TYPE=RelWithDebInfo ../cmake_unofficial + |