void-packages/srcpkgs/weechat/template

83 lines
1.8 KiB
Plaintext

# Template file for 'weechat'
pkgname=weechat
version=0.4.2
revision=1
build_style=cmake
hostmakedepends="cmake pkg-config python-devel libgcrypt-devel"
makedepends="tcl-devel>=8.6 aspell-devel libgcrypt-devel gnutls-devel>=3.1.5
python-devel ruby-devel>=2.0 lua-devel libcurl-devel perl"
short_desc="Fast, light and extensible IRC client (curses UI)"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-3"
homepage="http://www.weechat.org"
distfiles="${homepage}/files/src/$pkgname-$version.tar.bz2"
checksum=95c4337b10f0e54192dcdaf7ce60f9bd22dfc82abd0832219b20dedd06d509dc
weechat-aspell_package() {
depends="${sourcepkg}-${version}_${revision}"
short_desc+=" - aspell plugin"
pkg_install() {
vmove usr/lib/weechat/plugins/aspell.so
}
}
weechat-devel_package() {
depends="ncurses-devel"
short_desc+=" - development package"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
}
}
# XXX disabled for now in cross builds.
if [ -z "$CROSS_BUILD" ]; then
weechat-perl_package() {
depends="${sourcepkg}-${version}_${revision}"
short_desc+=" - perl plugin"
pkg_install() {
vmove usr/lib/weechat/plugins/perl.so
}
}
weechat-ruby_package() {
depends="${sourcepkg}>=${version}"
short_desc+=" - ruby plugin"
pkg_install() {
vmove usr/lib/weechat/plugins/ruby.so
}
}
fi
weechat-python_package() {
depends="${sourcepkg}-${version}_${revision}"
short_desc+=" - python plugin"
pkg_install() {
vmove usr/lib/weechat/plugins/python.so
}
}
weechat-tcl_package() {
depends="${sourcepkg}-${version}_${revision}"
short_desc+=" - tcl plugin"
pkg_install() {
vmove usr/lib/weechat/plugins/tcl.so
}
}
weechat-lua_package() {
depends="${sourcepkg}-${version}_${revision}"
short_desc+=" - lua plugin"
pkg_install() {
vmove usr/lib/weechat/plugins/lua.so
}
}
weechat_package() {
pkg_install() {
vmove all
}
}