| Name |
liblerc4 |
| Description |
Limited Error Raster Compression library |
| Version |
4.0.0+ds-4ubuntu2 |
| Package Base |
lerc |
| Homepage |
https://github.com/Esri/lerc |
| Maintainers |
['Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>'] |
| Contributors |
['Antonio Valentino <antonio.valentino@tiscali.it>'] |
| Distro-repo |
https://git.launchpad.net/ubuntu/+source/lerc/tree/?h=ubuntu/noble |
| Sources |
['https://git.launchpad.net/ubuntu/+source/liblerc4/plain/debian/watch?h=ubuntu/noble'] |
| Dependencies |
['libc6', 'libgcc-s1', 'libstdc++6'] |
| Optional-Dependencies |
[] |
| Build-Dependencies |
['architecture-is-little-endian', 'cmake', 'debhelper-compat', 'dh-python', 'dh-sequence-numpy3', 'dh-sequence-pkgkde-symbolshelper', 'dh-sequence-python3', 'pkg-kde-tools', 'python3-all', 'python3-numpy', 'python3-setuptools'] |
| Provides |
[] |
| Builddate |
|
| Architecture |
amd64 |
| Distro-Version |
noble |
| Licenses |
[] |
| Hash |
f1b9dbfa28c56564f6b544f3757f5f3f4d549ce9962f39e897812c23b0a5d0e7 |
#!/usr/bin/make -f
# DH_VERBOSE := 1
include /usr/share/dpkg/pkg-info.mk
UPSTREAM_VERSION = $(shell echo $(DEB_VERSION_UPSTREAM) | sed -e 's/\+.*//')
export DEB_BUILD_MAINT_OPTIONS=hardening=+all optimize=+lto
export PYBUILD_NAME=lerc
%:
dh $@ --buildsystem=cmake
override_dh_auto_clean:
dh_auto_clean
dh_auto_clean --builddirectory build-static
dh_auto_clean --buildsystem=pybuild --sourcedirectory=OtherLanguages/Python
override_dh_auto_configure:
dh_auto_configure
dh_auto_configure --builddirectory build-static -- -DBUILD_SHARED_LIBS=FALSE
override_dh_auto_build:
dh_auto_build
dh_auto_build --builddirectory build-static
override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
env LD_LIBRARY_PATH=$(shell dirname $(CURDIR)/*/libLerc.so) PYTHONPATH=$(CURDIR)/OtherLanguages/Python \
python3 -c "import lerc; assert lerc.test() == 0"
endif
override_dh_auto_install:
dh_auto_install --buildsystem=pybuild -ppython3-lerc --sourcedirectory=OtherLanguages/Python
dh_auto_install --builddirectory build-static
dh_auto_install
# Ubuntu wants the build to fail when symbols disappear
override_dh_makeshlibs:
ifneq ($(shell dpkg-vendor --query vendor),Ubuntu)
dh_makeshlibs -- -v$(UPSTREAM_VERSION) -c0
else
dh_makeshlibs -- -v$(UPSTREAM_VERSION)
endif
override_dh_numpy3:
dh_numpy3 -p python3-lerc