2018-05-12 14:51:57 +02:00
|
|
|
# Copyright 1999-2018 Gentoo Foundation
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
# $Id$
|
|
|
|
|
|
|
|
EAPI=6
|
|
|
|
inherit git-r3 cmake-utils
|
|
|
|
|
2018-05-13 06:25:29 +02:00
|
|
|
DESCRIPTION="Mastodon bot that expands shortened URLs."
|
2018-05-12 14:51:57 +02:00
|
|
|
HOMEPAGE="https://github.com/tastytea/expandurl-mastodon"
|
|
|
|
EGIT_REPO_URI="https://github.com/tastytea/expandurl-mastodon.git"
|
|
|
|
LICENSE="GPL-3"
|
|
|
|
SLOT="0"
|
|
|
|
KEYWORDS=""
|
|
|
|
IUSE=""
|
|
|
|
RDEPEND=">=dev-cpp/mastodon-cpp-9999
|
|
|
|
>=dev-cpp/curlpp-0.8.1"
|
|
|
|
DEPEND=">=dev-util/cmake-3.9.6
|
|
|
|
${RDEPEND}"
|
|
|
|
|
|
|
|
src_unpack() {
|
|
|
|
git-r3_src_unpack
|
|
|
|
}
|
|
|
|
|
|
|
|
src_install() {
|
|
|
|
cmake-utils_src_install
|
|
|
|
dodoc README.md
|
2018-05-12 15:07:23 +02:00
|
|
|
newinitd init/expandurl-mastodon.openrc expandurl-mastodon
|
|
|
|
echo "EXPANDURL_USER=\"expandurl\"" | newconfd - expandurl-mastodon
|
2018-05-12 14:51:57 +02:00
|
|
|
}
|