void-packages/srcpkgs/weechat/template

82 lines
1.9 KiB
Plaintext
Raw Normal View History

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