You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
50 lines
1.5 KiB
50 lines
1.5 KiB
# Copyright 1999-2014 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: /var/cvsroot/gentoo-x86/app-backup/cyphertite/cyphertite-2.0.2.ebuild,v 1.1 2014/06/26 00:56:07 grknight Exp $
|
|
|
|
EAPI=5
|
|
|
|
inherit toolchain-funcs eutils multilib
|
|
|
|
DESCRIPTION="High Security, Zero-Knowledge Online Backup"
|
|
HOMEPAGE="https://www.cyphertite.com/"
|
|
SRC_URI="https://www.cyphertite.com/snapshots/source/${PV}/${PN}-full-${PV}.tar.gz"
|
|
LICENSE="ISC"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~x86"
|
|
IUSE="debug"
|
|
|
|
DEPEND="
|
|
>=dev-libs/openssl-1.0.1g
|
|
dev-libs/expat
|
|
>=dev-libs/lzo-2.0
|
|
sys-libs/zlib
|
|
dev-db/sqlite:3
|
|
dev-libs/libedit
|
|
>=net-misc/curl-7.15.1
|
|
dev-libs/libbsd
|
|
"
|
|
RDEPEND="${DEPEND}"
|
|
|
|
src_prepare() {
|
|
# Fix build system that assumes that modules are installed to the live system
|
|
epatch "${FILESDIR}/${P}-fix-build.patch"
|
|
}
|
|
|
|
src_compile() {
|
|
# Package has a home grown Makefile system. Make it work for Gentoo
|
|
emake INCDIR="${S}" WARNFLAGS="-Wall" DEBUG=$(usex debug -g '') CC=$(tc-getCC) \
|
|
AR=$(tc-getAR) LOCALBASE="/usr" LIB.LINKSTATIC="" LIB.LINKDYNAMIC=""
|
|
}
|
|
|
|
src_install() {
|
|
# Only the main executable needs to be installed
|
|
emake -C cyphertite/cyphertite DESTDIR="${D}" LOCALBASE=usr LIBDIR=usr/$(get_libdir) LNFORCE=-s install
|
|
|
|
# Fix up broken man symlinks
|
|
rm "${D}"usr/share/man/man1/ct*.1 || die
|
|
dosym /usr/share/man/man1/cyphertite.1.bz2 /usr/share/man/man1/ct.1.bz2
|
|
dosym /usr/share/man/man1/cyphertitectl.1.bz2 /usr/share/man/man1/ctctl.1.bz2
|
|
dosym /usr/share/man/man1/cyphertitefb.1.bz2 /usr/share/man/man1/ctfb.1.bz2
|
|
}
|