void-packages/srcpkgs/pidgin/template

111 lines
3 KiB
Text

# Template file for 'pidgin'
pkgname=pidgin
version=2.10.6
revision=3
build_style=gnu-configure
configure_args="--disable-schemas-install --disable-meanwhile
--enable-cyrus-sasl --disable-doxygen --enable-nm --disable-vv
--with-system-ssl-certs=/etc/ssl/certs --disable-tk
--with-gconf-schema-file-dir=/usr/share/gconf/schemas
--disable-gnutls --disable-tcl"
short_desc="Multi-protocol instant messaging client"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
homepage="http://pidgin.im/"
distfiles="${SOURCEFORGE_SITE}/pidgin/pidgin-${version}.tar.bz2"
checksum=3e25a633b97cbfa8326999a30282e7a662a9b9bbf2853be84af0b8fb60392c96
long_desc="
Pidgin is an easy to use and free chat client used by millions. Connect to
AIM, MSN, Yahoo, and more chat networks all at once."
makedepends="pkg-config intltool glib-devel gtk+-devel libXext-devel
libXScrnSaver-devel gtkspell-devel startup-notification-devel ncurses-devel
libxml2-devel GConf-devel gst-plugins-base-devel libidn-devel python-devel
avahi-glib-libs-devel dbus-glib-devel NetworkManager-devel nss-devel
libsasl-devel libXext-devel libSM-devel"
pre_configure() {
# Create this to make configure happy.
install -d /etc/ssl/certs
}
post_install() {
mv ${DESTDIR}/usr/share/gconf/schemas/*.schemas ${wrksrc}
gconf-merge-schema ${DESTDIR}/usr/share/gconf/schemas/purple.schemas \
--domain purple ${wrksrc}/*.schemas
}
libpurple_package() {
short_desc="IM library extracted from Pidgin"
pkg_install() {
vmove "usr/bin/purple-*"
vmove "usr/lib/libpurple*.so*"
vmove usr/lib/purple-2
vmove usr/share/purple
vmove usr/share/sounds/purple
vmove usr/share/gconf
}
}
libpurple-devel_package() {
depends="libglib-devel libpurple>=${version}"
short_desc="IM library extracted from Pidgin -- development files"
pkg_install() {
vmove usr/include/libpurple
vmove usr/lib/pkgconfig/purple.pc
vmove usr/share/aclocal/purple.m4
vmove usr/share/man/man3/Purple.3p
}
}
libgnt_package() {
short_desc="IM library extracted from Pidgin (GNT)"
pkg_install() {
vmove "usr/lib/libgnt*.so*"
vmove usr/lib/finch
vmove usr/lib/gnt
}
}
libgnt-devel_package() {
depends="libglib-devel libgnt>=${version}"
short_desc="IM library extracted from Pidgin (GNT) -- development files"
pkg_install() {
vmove usr/include/gnt
vmove usr/lib/pkgconfig/gnt.pc
}
}
finch_package() {
short_desc="A ncurses-based messaging client"
pkg_install() {
vmove usr/bin/finch
vmove usr/share/man/man1/finch.1
}
}
finch-devel_package() {
depends="libgnt-devel>=${version} libpurple-devel>=${version}"
short_desc="A ncurses-based messaging client -- development files"
pkg_install() {
vmove usr/include/finch
vmove usr/lib/pkgconfig/finch.pc
}
}
pidgin-devel_package() {
depends="gtk+-devel libpurple-devel>=${version}"
short_desc="${short_desc} -- development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/share/man/man3/Pidgin.3p
}
}
pidgin_package() {
depends="cyrus-sasl-modules"
pkg_install() {
vmove usr
}
}