2011-06-21 14:00:13 +02:00
|
|
|
# Template file for 'weechat'
|
|
|
|
pkgname=weechat
|
2013-10-07 12:49:26 +02:00
|
|
|
version=0.4.2
|
2013-10-10 11:07:37 +02:00
|
|
|
revision=2
|
2011-10-24 15:08:19 +02:00
|
|
|
build_style=cmake
|
2013-10-07 12:49:26 +02:00
|
|
|
hostmakedepends="cmake pkg-config python-devel libgcrypt-devel"
|
2013-05-22 11:48:00 +02:00
|
|
|
makedepends="tcl-devel>=8.6 aspell-devel libgcrypt-devel gnutls-devel>=3.1.5
|
2013-10-10 11:07:37 +02:00
|
|
|
python-devel ruby-devel>=2.0 lua-devel>=5.2 libcurl-devel perl"
|
2011-06-21 14:00:13 +02:00
|
|
|
short_desc="Fast, light and extensible IRC client (curses UI)"
|
2011-07-17 08:27:36 +02:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-06-21 14:00:13 +02:00
|
|
|
license="GPL-3"
|
2012-09-29 15:58:44 +02:00
|
|
|
homepage="http://www.weechat.org"
|
|
|
|
distfiles="${homepage}/files/src/$pkgname-$version.tar.bz2"
|
2013-10-07 12:49:26 +02:00
|
|
|
checksum=95c4337b10f0e54192dcdaf7ce60f9bd22dfc82abd0832219b20dedd06d509dc
|
2013-06-21 07:48:18 +02:00
|
|
|
|
2013-04-14 17:36:49 +02:00
|
|
|
weechat-aspell_package() {
|
|
|
|
depends="${sourcepkg}-${version}_${revision}"
|
2013-05-20 15:48:08 +02:00
|
|
|
short_desc+=" - aspell plugin"
|
2013-04-14 17:36:49 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/lib/weechat/plugins/aspell.so
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
weechat-devel_package() {
|
|
|
|
depends="ncurses-devel"
|
2013-05-20 15:48:08 +02:00
|
|
|
short_desc+=" - development package"
|
2013-04-14 17:36:49 +02:00
|
|
|
pkg_install() {
|
2013-04-16 12:57:47 +02:00
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2013-04-14 17:36:49 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-06-21 07:48:18 +02:00
|
|
|
# XXX disabled for now in cross builds.
|
|
|
|
if [ -z "$CROSS_BUILD" ]; then
|
|
|
|
|
2013-04-14 17:36:49 +02:00
|
|
|
weechat-perl_package() {
|
|
|
|
depends="${sourcepkg}-${version}_${revision}"
|
2013-05-20 15:48:08 +02:00
|
|
|
short_desc+=" - perl plugin"
|
2013-04-14 17:36:49 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/lib/weechat/plugins/perl.so
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
weechat-ruby_package() {
|
|
|
|
depends="${sourcepkg}>=${version}"
|
2013-05-20 15:48:08 +02:00
|
|
|
short_desc+=" - ruby plugin"
|
2013-04-14 17:36:49 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/lib/weechat/plugins/ruby.so
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-06-21 07:48:18 +02:00
|
|
|
fi
|
|
|
|
|
|
|
|
weechat-python_package() {
|
|
|
|
depends="${sourcepkg}-${version}_${revision}"
|
|
|
|
short_desc+=" - python plugin"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/lib/weechat/plugins/python.so
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-04-14 17:36:49 +02:00
|
|
|
weechat-tcl_package() {
|
|
|
|
depends="${sourcepkg}-${version}_${revision}"
|
2013-05-20 15:48:08 +02:00
|
|
|
short_desc+=" - tcl plugin"
|
2013-04-14 17:36:49 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/lib/weechat/plugins/tcl.so
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
weechat-lua_package() {
|
|
|
|
depends="${sourcepkg}-${version}_${revision}"
|
2013-05-20 15:48:08 +02:00
|
|
|
short_desc+=" - lua plugin"
|
2013-04-14 17:36:49 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/lib/weechat/plugins/lua.so
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
weechat_package() {
|
|
|
|
pkg_install() {
|
2013-05-20 15:48:08 +02:00
|
|
|
vmove all
|
2013-04-14 17:36:49 +02:00
|
|
|
}
|
|
|
|
}
|