Name libstemmer0d
Description Snowball stemming algorithms for use in Information Retrieval
Version 2.2.0-4+b2
Package Base snowball
Homepage https://snowballstem.org/
Maintainers ['Stefano Rivera <stefanor@debian.org>']
Contributors []
Distro-repo https://salsa.debian.org/debian/snowball
Sources ['https://sources.debian.org/data/main/s/snowball/2.2.0-4/debian/watch', 'https://sources.debian.org/src/snowball/2.2.0-4/debian/patches/build-options.diff', 'https://sources.debian.org/src/snowball/2.2.0-4/debian/patches/clean-stemtest.diff', 'https://sources.debian.org/src/snowball/2.2.0-4/debian/patches/python-dist.diff', 'https://sources.debian.org/src/snowball/2.2.0-4/debian/patches/series', 'https://sources.debian.org/src/snowball/2.2.0-4/debian/patches/shared-library.diff']
Dependencies ['libc6']
Optional-Dependencies []
Build-Dependencies ['debhelper-compat', 'snowball-data']
Provides []
Builddate
Architecture amd64
Distro-Version trixie
Licenses []
Hash ee9510a4f48b6efad845cad80b8773d72219291d325e4e3c3d07b3930a7bf2ee
#!/usr/bin/make -f

include /usr/share/dpkg/architecture.mk
include /usr/share/dpkg/pkg-info.mk

%:
	dh $@

override_dh_auto_build:
	dpkg-architecture -a$(DEB_BUILD_ARCH) -f -c dh_auto_build -- snowball
	dh_auto_build -- $(shell dpkg-buildflags --export=configure)
ifneq (,$(filter python3-snowballstemmer,$(shell dh_listpackages)))
	$(MAKE) dist_libstemmer_python
	dh_auto_build --buildsystem=pybuild -- --dir dist/snowballstemmer-$(DEB_VERSION_UPSTREAM) --name snowballstemmer
endif

override_dh_auto_install-indep:
	dh_auto_install --buildsystem=pybuild -- --dir dist/snowballstemmer-$(DEB_VERSION_UPSTREAM) --name snowballstemmer

override_dh_auto_test:
	STEMMING_DATA=/usr/share/snowball/data dh_auto_test --no-parallel

override_dh_installdocs-arch:
	dh_installdocs --link-doc=libstemmer0d