2011-06-21 12:00:13 +00:00
|
|
|
# Template file for 'weechat'
|
|
|
|
pkgname=weechat
|
2015-01-26 07:25:37 +00:00
|
|
|
version=1.1.1
|
2015-02-15 12:46:52 +00:00
|
|
|
revision=2
|
2014-03-15 09:14:29 +00:00
|
|
|
lib32disabled=yes
|
2011-10-24 13:08:19 +00:00
|
|
|
build_style=cmake
|
2015-01-22 19:56:21 +00:00
|
|
|
configure_args="-DENABLE_MAN=ON -DPYTHON_EXECUTABLE=/usr/bin/python2.7 -DPYTHON_LIBRARY=/usr/lib/libpython2.7.so"
|
2015-03-27 09:50:40 +00:00
|
|
|
hostmakedepends="cmake pkg-config python-devel libgcrypt-devel tcl-devel asciidoc"
|
|
|
|
makedepends="tcl-devel aspell-devel libgcrypt-devel gnutls-devel
|
|
|
|
python-devel ruby-devel lua-devel libcurl-devel"
|
2014-07-27 15:54:40 +00:00
|
|
|
depends="ca-certificates"
|
2015-01-11 23:30:00 +00:00
|
|
|
short_desc="Fast, light and extensible IRC client"
|
2015-04-10 07:16:30 +00:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
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"
|
2015-01-26 07:25:37 +00:00
|
|
|
checksum=810bf0584fd5888246797fc7f1bbc4facb064a4d1c5d91627a9c8c01cbce97b5
|
2014-08-17 06:53:02 +00:00
|
|
|
|
|
|
|
subpackages="weechat-aspell weechat-devel weechat-ruby weechat-python weechat-tcl weechat-lua"
|
|
|
|
if [ -z "$CROSS_BUILD" ]; then
|
2015-03-27 09:50:40 +00:00
|
|
|
makedepends+=" perl"
|
2014-08-17 06:53:02 +00:00
|
|
|
subpackages+=" weechat-perl"
|
|
|
|
fi
|
2013-06-21 05:48:18 +00:00
|
|
|
|
2013-04-14 15:36:49 +00:00
|
|
|
weechat-aspell_package() {
|
2014-03-29 16:05:24 +00:00
|
|
|
lib32disabled=yes
|
2015-01-11 23:30:00 +00:00
|
|
|
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() {
|
2014-03-29 16:05:24 +00:00
|
|
|
lib32disabled=yes
|
2015-01-11 23:30:00 +00:00
|
|
|
depends="${sourcepkg}>=${version}_${revision} 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
|
|
|
}
|
|
|
|
}
|
|
|
|
weechat-perl_package() {
|
2014-03-29 16:05:24 +00:00
|
|
|
lib32disabled=yes
|
2015-01-11 23:30:00 +00:00
|
|
|
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
|
|
|
|
}
|
|
|
|
}
|
|
|
|
weechat-ruby_package() {
|
2014-03-29 16:05:24 +00:00
|
|
|
lib32disabled=yes
|
2015-01-11 23:30:00 +00:00
|
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
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() {
|
2014-03-29 16:05:24 +00:00
|
|
|
lib32disabled=yes
|
2015-01-22 22:42:55 +00:00
|
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
2013-06-21 05:48:18 +00:00
|
|
|
short_desc+=" - python plugin"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/lib/weechat/plugins/python.so
|
|
|
|
}
|
|
|
|
}
|
2013-04-14 15:36:49 +00:00
|
|
|
weechat-tcl_package() {
|
2014-03-29 16:05:24 +00:00
|
|
|
lib32disabled=yes
|
2015-01-11 23:30:00 +00:00
|
|
|
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() {
|
2014-03-29 16:05:24 +00:00
|
|
|
lib32disabled=yes
|
2015-01-11 23:30:00 +00:00
|
|
|
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
|
|
|
|
}
|
|
|
|
}
|