void-packages/srcpkgs/weechat/template
2014-08-17 08:53:02 +02:00

85 lines
2 KiB
Text

# Template file for 'weechat'
pkgname=weechat
version=1.0
revision=1
lib32disabled=yes
build_style=cmake
hostmakedepends="cmake pkg-config python-devel libgcrypt-devel tcl-devel>=8.6"
makedepends="tcl-devel>=8.6 aspell-devel libgcrypt-devel gnutls-devel>=3.1.5
python-devel ruby-devel>=2.1 lua-devel>=5.2 libcurl-devel perl>=5.18"
depends="ca-certificates"
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=82563f222df3a8b3381216d4e97e02bff79b8d836d4dac0eb08ff75bde83cb3d
subpackages="weechat-aspell weechat-devel weechat-ruby weechat-python weechat-tcl weechat-lua"
if [ -z "$CROSS_BUILD" ]; then
subpackages+=" weechat-perl"
fi
weechat-aspell_package() {
lib32disabled=yes
depends="${sourcepkg}-${version}_${revision}"
short_desc+=" - aspell plugin"
pkg_install() {
vmove usr/lib/weechat/plugins/aspell.so
}
}
weechat-devel_package() {
lib32disabled=yes
depends="ncurses-devel"
short_desc+=" - development package"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
}
}
weechat-perl_package() {
lib32disabled=yes
depends="${sourcepkg}-${version}_${revision}"
short_desc+=" - perl plugin"
pkg_install() {
vmove usr/lib/weechat/plugins/perl.so
}
}
weechat-ruby_package() {
lib32disabled=yes
depends="${sourcepkg}>=${version}"
short_desc+=" - ruby plugin"
pkg_install() {
vmove usr/lib/weechat/plugins/ruby.so
}
}
weechat-python_package() {
lib32disabled=yes
depends="${sourcepkg}-${version}_${revision}"
short_desc+=" - python plugin"
pkg_install() {
vmove usr/lib/weechat/plugins/python.so
}
}
weechat-tcl_package() {
lib32disabled=yes
depends="${sourcepkg}-${version}_${revision}"
short_desc+=" - tcl plugin"
pkg_install() {
vmove usr/lib/weechat/plugins/tcl.so
}
}
weechat-lua_package() {
lib32disabled=yes
depends="${sourcepkg}-${version}_${revision}"
short_desc+=" - lua plugin"
pkg_install() {
vmove usr/lib/weechat/plugins/lua.so
}
}