Package: libtalloc2 # later versions must use python3 to build. Version: 2.3.1 Revision: 1 Description: Hierarchical ref. counted memory pool system License: LGPL3 Homepage: https://talloc.samba.org Maintainer: Daniel Johnson Source: https://www.samba.org/ftp/talloc/talloc-%v.tar.gz Source-Checksum: SHA256(ef4822d2fdafd2be8e0cabc3ec3c806ae29b8268e932c5e9a4cd5585f37f9f77) Depends: %N-shlibs (= %v-%r) BuildDepends: << docbook-dtd, docbook-xsl, libgettext8-dev, libiconv-dev, libxslt-bin << BuildDependsOnly: true # Necessary to prevent linking to preexisting libtalloc2. BuildConflicts: libtalloc2 # tests check the pythonmodule even when we disable it in configure PatchFile: %n.patch PatchFile-MD5: f7f6e5fbe4a92f5fad11960c481e4d6b ConfigureParams: --disable-python CompileScript: << [ -x /usr/bin/python3 ] && pyversion=3 ; PYTHON=/usr/bin/python$pyversion ./configure %c [ -x /usr/bin/python3 ] && pyversion=3 ; PYTHON=/usr/bin/python$pyversion make -w << InfoTest: << TestScript: [ -x /usr/bin/python3 ] && pyversion=3 ; PYTHON=/usr/bin/python$pyversion make check || exit 2 << InstallScript: << [ -x /usr/bin/python3 ] && pyversion=3 ; PYTHON=/usr/bin/python$pyversion make install DESTDIR=%d head -n 27 talloc.c >LICENSE install_name_tool -id %p/lib/libtalloc.2.dylib %i/lib/libtalloc.%v.dylib << DocFiles: LICENSE NEWS talloc_guide.txt web/index.html SplitOff: << Package: %N-shlibs Files: lib/libtalloc.*.dylib Shlibs: %p/lib/libtalloc.2.dylib 0.0.0 %n (>= 2.0.6-1) DocFiles: LICENSE NEWS talloc_guide.txt web/index.html <<