2011-06-21 12:00:13 +00:00
|
|
|
# Template file for 'weechat'
|
|
|
|
pkgname=weechat
|
2014-02-10 07:37:56 +00:00
|
|
|
version=0.4.3
|
|
|
|
revision=1
|
2014-03-15 09:14:29 +00:00
|
|
|
lib32disabled=yes
|
2011-10-24 13:08:19 +00:00
|
|
|
build_style=cmake
|
2014-02-10 07:37:56 +00:00
|
|
|
hostmakedepends="cmake pkg-config python-devel libgcrypt-devel tcl-devel>=8.6"
|
2013-05-22 09:48:00 +00:00
|
|
|
makedepends="tcl-devel>=8.6 aspell-devel libgcrypt-devel gnutls-devel>=3.1.5
|
2014-01-28 21:20:53 +00:00
|
|
|
python-devel ruby-devel>=2.0 lua-devel>=5.2 libcurl-devel perl>=5.18"
|
2011-06-21 12:00:13 +00:00
|
|
|
short_desc="Fast, light and extensible IRC client (curses UI)"
|
2011-07-17 06:27:36 +00:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-06-21 12:00:13 +00:00
|
|
|
license="GPL-3"
|
2012-09-29 13:58:44 +00:00
|
|
|
homepage="http://www.weechat.org"
|
|
|
|
distfiles="${homepage}/files/src/$pkgname-$version.tar.bz2"
|
2014-02-10 07:37:56 +00:00
|
|
|
checksum=a8ec847d331a1201de975530a22f1813c260db420c68675b2ecaa7bf3c7c3ff8
|
2013-06-21 05:48:18 +00:00
|
|
|
|
2013-04-14 15:36:49 +00:00
|
|
|
weechat-aspell_package() {
|
|
|
|
depends="${sourcepkg}-${version}_${revision}"
|
2013-05-20 13:48:08 +00:00
|
|
|
short_desc+=" - aspell plugin"
|
2013-04-14 15:36:49 +00:00
|
|
|
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"
|
2013-04-14 15:36:49 +00:00
|
|
|
pkg_install() {
|
2013-04-16 10:57:47 +00:00
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2013-04-14 15:36:49 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-06-21 05:48:18 +00:00
|
|
|
if [ -z "$CROSS_BUILD" ]; then
|
2013-04-14 15:36:49 +00:00
|
|
|
weechat-perl_package() {
|
|
|
|
depends="${sourcepkg}-${version}_${revision}"
|
2013-05-20 13:48:08 +00:00
|
|
|
short_desc+=" - perl plugin"
|
2013-04-14 15:36:49 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/lib/weechat/plugins/perl.so
|
|
|
|
}
|
|
|
|
}
|
2014-02-10 07:37:56 +00:00
|
|
|
fi # fails to build right now
|
2013-04-14 15:36:49 +00:00
|
|
|
|
|
|
|
weechat-ruby_package() {
|
|
|
|
depends="${sourcepkg}>=${version}"
|
2013-05-20 13:48:08 +00:00
|
|
|
short_desc+=" - ruby plugin"
|
2013-04-14 15:36:49 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/lib/weechat/plugins/ruby.so
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-06-21 05:48:18 +00:00
|
|
|
weechat-python_package() {
|
|
|
|
depends="${sourcepkg}-${version}_${revision}"
|
|
|
|
short_desc+=" - python plugin"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/lib/weechat/plugins/python.so
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-04-14 15:36:49 +00:00
|
|
|
weechat-tcl_package() {
|
|
|
|
depends="${sourcepkg}-${version}_${revision}"
|
2013-05-20 13:48:08 +00:00
|
|
|
short_desc+=" - tcl plugin"
|
2013-04-14 15:36:49 +00:00
|
|
|
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"
|
2013-04-14 15:36:49 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/lib/weechat/plugins/lua.so
|
|
|
|
}
|
|
|
|
}
|