mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-31 21:18:09 -07:00
Testsuite requires, that sqlcipher is built with TCL Gentoo-Bug: 582584 Reported-by: Killian De Volder <Killian.de.volder@scarlet.be> Package-Manager: portage-2.3.0_rc1
45 lines
977 B
Bash
45 lines
977 B
Bash
# Copyright 1999-2016 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Id$
|
|
|
|
EAPI=5
|
|
|
|
AUTOTOOLS_AUTORECONF=1
|
|
inherit autotools-multilib flag-o-matic
|
|
|
|
DESCRIPTION="Full Database Encryption for SQLite"
|
|
HOMEPAGE="http://sqlcipher.net/"
|
|
SRC_URI="https://github.com/sqlcipher/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
|
|
LICENSE="BSD"
|
|
SLOT="0"
|
|
KEYWORDS="amd64 x86"
|
|
|
|
IUSE="readline static-libs tcl test"
|
|
|
|
# Tcl is always needed by buildsystem
|
|
RDEPEND="dev-libs/openssl:0[${MULTILIB_USEDEP}]
|
|
readline? ( sys-libs/readline:0[${MULTILIB_USEDEP}] )
|
|
tcl? ( dev-lang/tcl:=[${MULTILIB_USEDEP}] )"
|
|
DEPEND="${RDEPEND}
|
|
dev-lang/tcl"
|
|
|
|
# Testsuite requires compilation with TCL, bug #582584
|
|
REQUIRED_USE="test? ( tcl )"
|
|
|
|
src_prepare() {
|
|
append-cflags -DSQLITE_HAS_CODEC
|
|
|
|
autotools-multilib_src_prepare
|
|
}
|
|
|
|
src_configure()
|
|
{
|
|
local myeconfargs=(
|
|
--enable-tempstore=yes
|
|
$(use_enable readline)
|
|
$(use_enable tcl)
|
|
)
|
|
autotools-multilib_src_configure
|
|
}
|