blob: 4cb900bec5bd075d4b3f6c38bb6a8d49b9573789 [file] [log] [blame]
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="4"
inherit autotools vcs-snapshot flag-o-matic
DESCRIPTION="Update local time over HTTPS"
HOMEPAGE="https://github.com/ioerror/tlsdate"
SRC_URI="https://github.com/ioerror/tlsdate/tarball/${P} -> ${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
IUSE=""
DEPEND="dev-libs/openssl"
RDEPEND="${DEPEND}"
src_prepare() {
sed -i -r '/^(C|LD)FLAGS/d' configure.ac || die
eautoreconf
append-cppflags "-DUNPRIV_GROUP='\"nobody\"'"
}