-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=2
+EAPI=6
-inherit base toolchain-funcs
+inherit toolchain-funcs
+
+MY_P="${P/pidgin-/}"
DESCRIPTION="Pidgin plug-in supporting microblog services like Twitter or identi.ca"
HOMEPAGE="https://code.google.com/p/microblog-purple/"
-MY_P="${P/pidgin-/}"
SRC_URI="https://microblog-purple.googlecode.com/files/${MY_P}.tar.gz"
LICENSE="GPL-3"
virtual/pkgconfig"
S=${WORKDIR}/${MY_P}
-pkg_setup() {
+src_prepare() {
+ default
+
tc-export CC
-}
-src_prepare() {
# upstream Issue 226 (Respect LDFLAGS)
- sed -i "/^LDFLAGS/d" global.mak || die
+ sed -i "/^LDFLAGS/d" global.mak || die "sed for LDFLAGS failed"
# upstream Issue 225 (Warnings during compilation using make -j2)
- sed -i "s/make /\$(MAKE) /g" Makefile || die
+ sed -i "s/make /\$(MAKE) /g" Makefile || die "sed #2 failed"
# upstream Issue 224 (configurable twitgin)
if ! use twitgin; then