A Mastodon bot that expands shortened URLs.
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.
 
 
 

30 lines
712 B

  1. # Copyright 1999-2018 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. # $Id$
  4. EAPI=6
  5. inherit git-r3 cmake-utils
  6. DESCRIPTION="Mastodon bot that expands shortened URLs."
  7. HOMEPAGE="https://github.com/tastytea/expandurl-mastodon"
  8. EGIT_REPO_URI="https://github.com/tastytea/expandurl-mastodon.git"
  9. LICENSE="GPL-3"
  10. SLOT="0"
  11. KEYWORDS=""
  12. IUSE=""
  13. RDEPEND=">=dev-cpp/mastodon-cpp-9999
  14. >=dev-cpp/curlpp-0.8.1"
  15. DEPEND=">=dev-util/cmake-3.9.6
  16. ${RDEPEND}"
  17. src_unpack() {
  18. git-r3_src_unpack
  19. }
  20. src_install() {
  21. cmake-utils_src_install
  22. dodoc README.md
  23. newinitd init/expandurl-mastodon.openrc expandurl-mastodon
  24. echo "EXPANDURL_USER=\"expandurl\"" | newconfd - expandurl-mastodon
  25. }