Merge pull request #142 from bioothod/master

Added debianization
This commit is contained in:
Yann Collet 2015-08-16 12:09:17 +02:00
commit e643455068
10 changed files with 56 additions and 2 deletions

View File

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

8
debian/changelog vendored Normal file
View File

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

1
debian/compat vendored Normal file
View File

@ -0,0 +1 @@
7

23
debian/control vendored Normal file
View File

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

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

1
debian/dirs vendored Normal file
View File

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

0
debian/docs vendored Normal file
View File

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

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

2
debian/liblz4.install vendored Normal file
View File

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

8
debian/rules vendored Executable file
View File

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