void-packages/srcpkgs/pidgin/template

104 lines
2.8 KiB
Text
Raw Normal View History

2012-12-09 17:18:12 +00:00
# Template file for 'pidgin'
pkgname=pidgin
2014-02-03 15:16:03 +00:00
version=2.10.9
revision=3
lib32disabled=yes
2012-12-09 17:18:12 +00:00
build_style=gnu-configure
configure_args="--disable-schemas-install --disable-meanwhile
--enable-cyrus-sasl --disable-doxygen --enable-nm --disable-vv
2014-01-28 22:17:18 +00:00
--with-system-ssl-certs=/etc/ssl/certs --disable-tk --disable-tcl
--disable-gnutls"
2012-12-09 17:18:12 +00:00
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"
2014-02-03 15:16:03 +00:00
checksum=dc362ed8577f623eea4554a79e917073aa726825074fea402f2e515f0f51f319
2012-12-09 17:18:12 +00:00
2013-04-22 08:04:07 +00:00
hostmakedepends="pkg-config intltool automake libtool gettext-devel"
makedepends="libglib-devel gtk+-devel libXext-devel
2012-12-09 17:18:12 +00:00
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
2014-02-03 15:16:03 +00:00
libsasl-devel libXext-devel libSM-devel cyrus-sasl-modules"
depends="cyrus-sasl-modules"
2012-12-09 17:18:12 +00:00
pre_configure() {
# Create this to make configure happy.
install -d /etc/ssl/certs
2013-04-22 08:04:07 +00:00
autoreconf -fi
2012-12-09 17:18:12 +00:00
}
post_install() {
2014-01-28 22:17:18 +00:00
rm -rf ${DESTDIR}/etc/gconf
}
libpurple_package() {
short_desc="IM library extracted from Pidgin"
pkg_install() {
vmove "usr/bin/purple-*"
2014-01-28 22:17:18 +00:00
vmove "usr/lib/libpurple*.so.*"
vmove usr/lib/purple-2
vmove usr/share/purple
vmove usr/share/sounds/purple
}
}
libpurple-devel_package() {
2014-01-28 22:17:18 +00:00
depends="libglib-devel libpurple>=${version}_${revision}"
short_desc="IM library extracted from Pidgin - development files"
pkg_install() {
vmove usr/include/libpurple
vmove usr/lib/pkgconfig/purple.pc
vmove usr/lib/libpurple*.so
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() {
2014-01-28 22:17:18 +00:00
depends="libglib-devel libgnt>=${version}_${revision}"
short_desc="IM library extracted from Pidgin (GNT) - development files"
pkg_install() {
vmove usr/include/gnt
vmove usr/lib/pkgconfig/gnt.pc
2014-01-28 22:17:18 +00:00
vmove usr/lib/libgnt.so
}
}
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() {
2014-01-28 22:17:18 +00:00
depends="libgnt-devel>=${version} libpurple-devel>=${version}_${revision}"
short_desc="A ncurses-based messaging client - development files"
pkg_install() {
vmove usr/include/finch
vmove usr/lib/pkgconfig/finch.pc
}
}
pidgin-devel_package() {
2014-01-28 22:17:18 +00:00
depends="gtk+-devel libpurple-devel>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/share/man/man3/Pidgin.3p
}
}