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/x11-plugins/pidgin-xmpp-receipts/pidgin-xmpp-receipts-0.6.eb...

32 lines
925 B

# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
inherit toolchain-funcs
DESCRIPTION="Implementation of xmpp message delivery receipts (XEP-0184) for Pidgin"
HOMEPAGE="https://www.assembla.com/spaces/pidgin-xmpp-receipts/documents"
SRC_URI="https://www.assembla.com/spaces/pidgin-xmpp-receipts/documents/ckA6jCV5Kr4OkjacwqjQXA/download/ckA6jCV5Kr4OkjacwqjQXA -> ${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="amd64"
IUSE=""
RDEPEND="net-im/pidgin[gtk]"
DEPEND="${RDEPEND}
virtual/pkgconfig"
src_compile() {
GTK_PIDGIN_INCLUDES=$(pkg-config --cflags gtk+-2.0 pidgin)
$(tc-getCC) ${LDFLAGS} -shared ${CFLAGS} -fpic ${GTK_PIDGIN_INCLUDES} -o ${PN/pidgin-/}.so ${PN/pidgin-/}.c || die
}
src_install() {
PLUGIN_DIR_PIDGIN=$(pkg-config --variable=plugindir pidgin)
dodir "${PLUGIN_DIR_PIDGIN}"
insinto "${PLUGIN_DIR_PIDGIN}"
doins ${PN/pidgin-/}.so
}