| Name |
lmdb |
| Description |
|
| Version |
|
| Package Base |
|
| Homepage |
|
| Maintainers |
['Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>'] |
| Contributors |
['Jakub Ružička <jru@debian.org>', 'Ondřej Surý <ondrej@debian.org>'] |
| Distro-repo |
https://git.launchpad.net/ubuntu/+source/lmdb/tree/?h=ubuntu/noble |
| Sources |
['https://git.launchpad.net/ubuntu/+source/lmdb/plain/debian/patches/../?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/lmdb/plain/debian/patches/0001-Debian-quirks-to-make-shared-library-versioned.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/lmdb/plain/debian/patches/0002-Make-the-build-reproducible-by-turning-off-HTML_TIME.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/lmdb/plain/debian/patches/series?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/lmdb/plain/debian/watch?h=ubuntu/noble'] |
| Dependencies |
[] |
| Optional-Dependencies |
[] |
| Build-Dependencies |
['debhelper-compat', 'doxygen'] |
| Provides |
[] |
| Builddate |
|
| Architecture |
amd64 |
| Distro-Version |
noble |
| Licenses |
[] |
| Hash |
|
#!/usr/bin/make -f
# enable dpkg build flags
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/default.mk
export XCFLAGS := $(shell dpkg-buildflags --get CFLAGS)
MANPAGES=compat.3 debug.3 errors.3 idls.3 internal.3 lmdb.h.3 mt_dbflag.3 readers.3 todo.3 Version.3
%:
dh $@ -Dlibraries/liblmdb/
override_dh_auto_clean:
dh_auto_clean -Dlibraries/liblmdb/
rm -rf html man
override_dh_auto_build:
dh_auto_build -Dlibraries/liblmdb/
cd libraries/liblmdb && doxygen
cd libraries/liblmdb && \
for m in $(MANPAGES); do \
mv man/man3/$$m man/man3/mdb_$$m; \
done
override_dh_install-arch:
dh_install -X.la
mkdir debian/liblmdb-dev/usr/lib/$(DEB_HOST_MULTIARCH)/pkgconfig/
sed -e 's,@prefix@,/usr,' \
-e 's,@exec_prefix@,$${prefix},' \
-e 's,@libdir@,$${prefix}/lib/$(DEB_HOST_MULTIARCH),' \
-e 's,@includedir@,$${prefix}/include,' \
-e 's,@PACKAGE_VERSION@,$(DEB_VERSION_UPSTREAM),' \
< debian/lmdb.pc.in \
> debian/liblmdb-dev/usr/lib/$(DEB_HOST_MULTIARCH)/pkgconfig/lmdb.pc
override_dh_auto_test:
ifneq ($(DEB_HOST_ARCH),hurd-i386)
dh_auto_test -Dlibraries/liblmdb/
endif