| 1 |
# Copyright 1999-2012 Gentoo Foundation |
| 2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 |
# $Header: $ |
| 4 |
|
| 5 |
EAPI="4" |
| 6 |
|
| 7 |
inherit autotools vcs-snapshot flag-o-matic |
| 8 |
|
| 9 |
DESCRIPTION="Update local time over HTTPS" |
| 10 |
HOMEPAGE="https://github.com/ioerror/tlsdate" |
| 11 |
SRC_URI="https://github.com/ioerror/tlsdate/tarball/${P} -> ${P}.tar.gz" |
| 12 |
|
| 13 |
LICENSE="BSD" |
| 14 |
SLOT="0" |
| 15 |
KEYWORDS="~amd64 ~arm ~x86" |
| 16 |
IUSE="" |
| 17 |
|
| 18 |
DEPEND="dev-libs/openssl" |
| 19 |
RDEPEND="${DEPEND}" |
| 20 |
|
| 21 |
src_prepare() { |
| 22 |
sed -i -r '/^(C|LD)FLAGS/d' configure.ac || die |
| 23 |
eautoreconf |
| 24 |
append-cppflags "-DUNPRIV_GROUP='\"nobody\"'" |
| 25 |
} |