void-packages/srcpkgs/weechat/template

77 lines
1.8 KiB
Text
Raw Normal View History

# Template file for 'weechat'
pkgname=weechat
2013-10-07 10:49:26 +00:00
version=0.4.2
2013-10-10 09:07:37 +00:00
revision=2
build_style=cmake
2013-10-07 10:49:26 +00:00
hostmakedepends="cmake pkg-config python-devel libgcrypt-devel"
2013-05-22 09:48:00 +00:00
makedepends="tcl-devel>=8.6 aspell-devel libgcrypt-devel gnutls-devel>=3.1.5
2013-10-10 09:07:37 +00:00
python-devel ruby-devel>=2.0 lua-devel>=5.2 libcurl-devel perl"
short_desc="Fast, light and extensible IRC client (curses UI)"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-3"
2012-09-29 13:58:44 +00:00
homepage="http://www.weechat.org"
distfiles="${homepage}/files/src/$pkgname-$version.tar.bz2"
2013-10-07 10:49:26 +00:00
checksum=95c4337b10f0e54192dcdaf7ce60f9bd22dfc82abd0832219b20dedd06d509dc
weechat-aspell_package() {
depends="${sourcepkg}-${version}_${revision}"
2013-05-20 13:48:08 +00:00
short_desc+=" - aspell plugin"
pkg_install() {
vmove usr/lib/weechat/plugins/aspell.so
}
}
weechat-devel_package() {
depends="ncurses-devel"
2013-05-20 13:48:08 +00:00
short_desc+=" - development package"
pkg_install() {
2013-04-16 10:57:47 +00:00
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}"
2013-05-20 13:48:08 +00:00
short_desc+=" - perl plugin"
pkg_install() {
vmove usr/lib/weechat/plugins/perl.so
}
}
weechat-ruby_package() {
depends="${sourcepkg}>=${version}"
2013-05-20 13:48:08 +00:00
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}"
2013-05-20 13:48:08 +00:00
short_desc+=" - tcl plugin"
pkg_install() {
vmove usr/lib/weechat/plugins/tcl.so
}
}
weechat-lua_package() {
depends="${sourcepkg}-${version}_${revision}"
2013-05-20 13:48:08 +00:00
short_desc+=" - lua plugin"
pkg_install() {
vmove usr/lib/weechat/plugins/lua.so
}
}