net-libs/libgcm - 0.1.3 (junkdrawer)

Search

Package Information

Description:
Google Cloud Messaging C library
Homepage:
https://github.com/doctaweeks/libgcm

Ebuild Details

Version EAPI Keywords Slot
0.1.3 8 amd64 x86 0
View Raw Ebuild
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit autotools

DESCRIPTION="Google Cloud Messaging C library"
HOMEPAGE="https://github.com/doctaweeks/libgcm"
if [[ ${PV} == "9999" ]] ; then
	inherit git-r3
	EGIT_REPO_URI="https://github.com/doctaweeks/${PN}"
else
	SRC_URI="https://github.com/doctaweeks/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
	KEYWORDS="amd64 x86"
fi

LICENSE="GPL-2"
SLOT="0"
IUSE="static-libs"

DEPEND="dev-libs/json-c
	net-misc/curl"
RDEPEND="${DEPEND}"

src_prepare() {
	default
	eautoreconf
}

src_configure() {
	local myeconfargs=(
		$(use_enable static-libs static)
	)
	econf "${myeconfargs[@]}"
}

src_install() {
	default
	if ! use static-libs ; then
		find "${ED}" -name "*.la" -delete || die
	fi
}

USE Flags

Dependencies

DEPEND

dev-libs/json-c
	net-misc/curl

RDEPEND

dev-libs/json-c
	net-misc/curl

Manifest for 0.1.3

Type File Size Source URLs
DIST libgcm-0.1.3.tar.gz 15040 bytes https://github.com/doctaweeks/libgcm/archive/v0.1.3.tar.gz