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.
gentoo-overlay/dev-util/open-vcdiff/open-vcdiff-0.8.3.ebuild

40 lines
758 B

# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
AUTOTOOLS_AUTORECONF=1
inherit autotools-utils
DESCRIPTION="An encoder/decoder for the VCDIFF (RFC3284) format"
HOMEPAGE="https://github.com/google/open-vcdiff"
SRC_URI="https://${PN}.googlecode.com/files/${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0/0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
RDEPEND="
dev-cpp/gflags
sys-libs/zlib
"
DEPEND="${RDEPEND}
test? ( dev-cpp/gtest )
"
src_prepare() {
rm -r gflags/src gtest src/zlib || die
local PATCHES=( "${FILESDIR}/0.8.3-system-libs.patch" )
autotools-utils_src_prepare
}
src_configure() {
local myeconfargs=(
--enable-shared
--disable-static
)
autotools-utils_src_configure
}