Package: liblz1 Version: 1.13 Revision: 1 Description: Library for lzip LZMA compressor DescDetail: << 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. << DescPackaging: << Makefile only makes shared libs on linux so we just skip it and use libtool manually. << License: GPL3+ Homepage: https://www.nongnu.org/lzip/lzlib.html Maintainer: Daniel Johnson Source: https://download.savannah.gnu.org/releases/lzip/lzlib/lzlib-%v.tar.gz Source-Checksum: SHA256(a1ab58f3148ba4b2674e938438166042137a9275bed747306641acfddc9ffb80) Depends: %N-shlibs (= %v-%r) BuildDepends: libtool2 BuildDependsOnly: true CompileScript: << glibtool --mode=compile gcc -shared -Os -c lzlib.c glibtool --mode=link gcc -shared -no-undefined lzlib.lo -o liblz.la -version-info 1:12:0 -rpath %p/lib glibtool --mode=compile gcc -shared -Os -c carg_parser.c glibtool --mode=compile gcc -shared -Os -c minilzip.c -Wc,-DPROGVERSION=\"%{v}\" glibtool --mode=link gcc -shared carg_parser.lo minilzip.lo liblz.la -o minilzip << InfoTest: << TestScript: << glibtool --mode=compile gcc -shared -Os -c lzcheck.c glibtool --mode=link gcc -shared lzcheck.lo liblz.la -o lzcheck glibtool --mode=compile gcc -shared -Os -c bbexample.c glibtool --mode=link gcc -shared bbexample.lo liblz.la -o bbexample glibtool --mode=compile gcc -shared -Os -c ffexample.c glibtool --mode=link gcc -shared ffexample.lo liblz.la -o ffexample ./testsuite/check.sh `pwd`/testsuite || exit 2 << << InstallScript: << install -d %i/bin install -d %i/include install -d %i/lib install -d %i/share/info install -d %i/share/man/man1 glibtool --mode=install install -m 0755 minilzip %i/bin install -m 0644 lzlib.h %i/include glibtool --mode=install install -m 0644 liblz.la %i/lib install -m 0644 doc/lzlib.info %i/share/info install -m 0644 doc/minilzip.1 %i/share/man/man1 << DocFiles: AUTHORS ChangeLog COPYING NEWS README InfoDocs: lzlib.info SplitOff: << Package: %N-shlibs Files: lib/liblz.1.dylib Shlibs: %p/lib/liblz.1.dylib 2.0.0 %n (>= 1.0-0.rc1.1) DocFiles: AUTHORS ChangeLog COPYING NEWS README << SplitOff2: << Package: minilzip Description: Mini version of lzip built with lzlib DescUsage: See 'minilzip --help' for usage info. Depends: %N-shlibs (= %v-%r) Files: bin DocFiles: AUTHORS ChangeLog COPYING NEWS README <<