diff options
-rw-r--r-- | debian/changelog | 5 | ||||
-rw-r--r-- | debian/compat | 1 | ||||
-rw-r--r-- | debian/control | 41 | ||||
-rw-r--r-- | debian/copyright | 40 | ||||
-rw-r--r-- | debian/liblz-dev.examples | 1 | ||||
-rw-r--r-- | debian/liblz-dev.install | 5 | ||||
-rw-r--r-- | debian/liblz0.docs | 2 | ||||
-rw-r--r-- | debian/liblz0.install | 1 | ||||
-rwxr-xr-x | debian/rules | 72 |
9 files changed, 168 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..98073b6 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +lzlib (0.3-1) unstable; urgency=low + + * Initial release. + + -- Daniel Baumann <daniel@debian.org> Mon, 4 May 2009 07:51:00 +0200 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..61ce06d --- /dev/null +++ b/debian/control @@ -0,0 +1,41 @@ +Source: lzlib +Section: libs +Priority: optional +Maintainer: Daniel Baumann <daniel@debian.org> +Build-Depends: debhelper (>= 7), autotools-dev, texinfo +Standards-Version: 3.8.1 +Homepage: http://www.nongnu.org/lzip/lzlib.html +Vcs-Browser: http://git.debian.net/?p=debian/lzlib.git +Vcs-Git: git://git.debian.net/git/debian/lzlib.git + +Package: liblz0 +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: data compressor based on the LZMA algorithm (library) + The lzlib compression library provides in-memory LZMA compression and + decompression functions, including integrity checking of the uncompressed data. + The compressed data format used by the library is the lzip format. + +Package: liblz-dev +Section: libdevel +Architecture: any +Depends: liblz0 (= ${binary:Version}) +Description: data compressor based on the LZMA algorithm (development) + The lzlib compression library provides in-memory LZMA compression and + decompression functions, including integrity checking of the uncompressed data. + The compressed data format used by the library is the lzip format. + . + This package contains the development files. + +Package: liblz-dbg +Section: debug +Priority: extra +Architecture: any +Depends: liblz0 (= ${binary:Version}), liblz-dev (= ${binary:Version}) +Description: data compressor based on the LZMA algorithm (debug) + The lzlib compression library provides in-memory LZMA compression and + decompression functions, including integrity checking of the uncompressed data. + The compressed data format used by the library is the lzip format. + . + This package contains the debugging symbols. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..c6929a8 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,40 @@ +Author: Antonio Diaz Diaz <ant_diaz@teleline.es> +Download: http://www.nongnu.org/lzip/lzip.html + +Files: * +Copyright: (C) 2006-2009 Antonio Diaz Diaz <ant_diaz@teleline.es> +License: GPL-3+ + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + . + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. + . + On Debian systems, the complete text of the GNU General Public License + can be found in /usr/share/common-licenses/GPL-3 file. + +Files: debian/* +Copyright: (C) 2009 Daniel Baumann <daniel@debian.org> +License: GPL-3+ + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + . + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. + . + On Debian systems, the complete text of the GNU General Public License + can be found in /usr/share/common-licenses/GPL-3 file. diff --git a/debian/liblz-dev.examples b/debian/liblz-dev.examples new file mode 100644 index 0000000..2783442 --- /dev/null +++ b/debian/liblz-dev.examples @@ -0,0 +1 @@ +main.cc diff --git a/debian/liblz-dev.install b/debian/liblz-dev.install new file mode 100644 index 0000000..e07f637 --- /dev/null +++ b/debian/liblz-dev.install @@ -0,0 +1,5 @@ +/usr/include +/usr/lib/*.a +/usr/lib/*.so +/usr/lib/*.a +/usr/share/info diff --git a/debian/liblz0.docs b/debian/liblz0.docs new file mode 100644 index 0000000..50bd824 --- /dev/null +++ b/debian/liblz0.docs @@ -0,0 +1,2 @@ +NEWS +README diff --git a/debian/liblz0.install b/debian/liblz0.install new file mode 100644 index 0000000..49cc562 --- /dev/null +++ b/debian/liblz0.install @@ -0,0 +1 @@ +/usr/lib/*.so.* diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..61046e9 --- /dev/null +++ b/debian/rules @@ -0,0 +1,72 @@ +#!/usr/bin/make -f + +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + +ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE)) + CROSS= --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE) +else + CROSS= --build $(DEB_BUILD_GNU_TYPE) +endif + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + rm -f config.guess configu.sub + + [ ! -f Makefile ] || $(MAKE) distclean + + dh_clean + +config.status: configure + dh_testdir + +ifneq "$(wildcard /usr/share/misc/config.guess)" "" + cp -f /usr/share/misc/config.guess config.guess +endif +ifneq "$(wildcard /usr/share/misc/config.sub)" "" + cp -f /usr/share/misc/config.sub config.sub +endif + + ./configure $(CROSS) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs" + +build: build-stamp +build-stamp: config.status + dh_testdir + + $(MAKE) + + touch build-stamp + +install: build + dh_testdir + dh_testroot + dh_prep + + $(MAKE) LDCONFIG=/bin/true prefix=$(CURDIR)/debian/tmp/usr install + + ln -s liblz.so.0.3 debian/tmp/usr/lib/liblz.so + +binary: binary-arch + +binary-arch: install + dh_testdir + dh_testroot + dh_installchangelogs ChangeLog + dh_installdocs + dh_installexamples + dh_install --fail-missing --sourcedir=debian/tmp + dh_strip --dbg-package=liblz-dbg + dh_compress + dh_fixperms + dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary-indep: + +.PHONY: clean build install binary binary-arch binary-indep |