diff options
author | Nicolas Bock <nicolasbock@gentoo.org> | 2022-03-18 14:58:15 -0600 |
---|---|---|
committer | Nicolas Bock <nicolasbock@gentoo.org> | 2022-03-18 14:59:00 -0600 |
commit | 81637f76cdf07d490ed6f7e94df39b0ecdc5ced1 (patch) | |
tree | b180d819f4ddf2209ab741e66529d70d84893659 /dev-db/lmdb++ | |
parent | app-emacs/bison-mode: drop 0.3 (diff) | |
download | gentoo-81637f76cdf07d490ed6f7e94df39b0ecdc5ced1.tar.gz gentoo-81637f76cdf07d490ed6f7e94df39b0ecdc5ced1.tar.bz2 gentoo-81637f76cdf07d490ed6f7e94df39b0ecdc5ced1.zip |
dev-db/lmdb++: Revision to use EAPI 8
Signed-off-by: Nicolas Bock <nicolasbock@gentoo.org>
Diffstat (limited to 'dev-db/lmdb++')
-rw-r--r-- | dev-db/lmdb++/lmdb++-1.0.0-r1.ebuild | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/dev-db/lmdb++/lmdb++-1.0.0-r1.ebuild b/dev-db/lmdb++/lmdb++-1.0.0-r1.ebuild new file mode 100644 index 000000000000..1540d53602ed --- /dev/null +++ b/dev-db/lmdb++/lmdb++-1.0.0-r1.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MY_P="${P/lmdb++/lmdbxx}" +S="${WORKDIR}/${MY_P}" + +DESCRIPTION="C++11 wrapper for the LMDB database library" +HOMEPAGE="https://github.com/hoytech/lmdbxx" +SRC_URI="https://github.com/hoytech/lmdbxx/archive/${PV}.tar.gz -> ${MY_P}.tar.gz" + +LICENSE="public-domain" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND="dev-db/lmdb" + +src_install() { + emake PREFIX="${D}/usr" install + dodoc AUTHORS CREDITS INSTALL README.md TODO UNLICENSE +} + +src_test() { + emake CXXFLAGS="-g -std=c++17 ${CXXFLAGS}" LDFLAGS="${LDFLAGS}" check +} |