void-packages/srcpkgs/weechat/template

78 lines
1.8 KiB
Text
Raw Normal View History

# Template file for 'weechat'
pkgname=weechat
2013-01-20 12:48:40 +00:00
version=0.4.0
revision=3
build_style=cmake
2012-09-29 13:58:44 +00:00
makedepends="cmake perl>=5.16 pkg-config tcl-devel aspell-devel
libgcrypt-devel gnutls-devel>=3.1.5 python-devel ruby-devel lua-devel
2012-11-13 09:47:58 +00:00
libcurl-devel"
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-01-20 12:48:40 +00:00
checksum=1df12201d8b0ac25f62ddbfb675e8f3d978e52bc5b644d55ccf4c755956fa60d
weechat-aspell_package() {
depends="${sourcepkg}-${version}_${revision}"
short_desc="${short_desc} -- aspell plugin"
pkg_install() {
vmove usr/lib/weechat/plugins/aspell.so
}
}
weechat-devel_package() {
depends="ncurses-devel"
short_desc="${short_desc} - development package"
pkg_install() {
vmove usr/include usr
vmove usr/lib/pkgconfig usr/lib
}
}
weechat-perl_package() {
depends="${sourcepkg}-${version}_${revision}"
short_desc="${short_desc} -- perl plugin"
pkg_install() {
vmove usr/lib/weechat/plugins/perl.so
}
}
weechat-python_package() {
depends="${sourcepkg}-${version}_${revision}"
short_desc="${short_desc} -- python plugin"
pkg_install() {
vmove usr/lib/weechat/plugins/python.so
}
}
weechat-ruby_package() {
depends="${sourcepkg}>=${version}"
short_desc="${short_desc} -- ruby plugin"
pkg_install() {
vmove usr/lib/weechat/plugins/ruby.so
}
}
weechat-tcl_package() {
depends="${sourcepkg}-${version}_${revision}"
short_desc="${short_desc} -- tcl plugin"
pkg_install() {
vmove usr/lib/weechat/plugins/tcl.so
}
}
weechat-lua_package() {
depends="${sourcepkg}-${version}_${revision}"
short_desc="${short_desc} -- lua plugin"
pkg_install() {
vmove usr/lib/weechat/plugins/lua.so
}
}
weechat_package() {
pkg_install() {
vmove usr
}
}