Added weechat-0.3.5 package (with 6 subpkgs for plugins).

This commit is contained in:
Juan RP 2011-06-21 14:00:13 +02:00
parent 511480fbfe
commit ce071d00fd
13 changed files with 151 additions and 0 deletions

1
srcpkgs/weechat-aspell Symbolic link
View file

@ -0,0 +1 @@
weechat

1
srcpkgs/weechat-devel Symbolic link
View file

@ -0,0 +1 @@
weechat

1
srcpkgs/weechat-perl Symbolic link
View file

@ -0,0 +1 @@
weechat

1
srcpkgs/weechat-python Symbolic link
View file

@ -0,0 +1 @@
weechat

1
srcpkgs/weechat-ruby Symbolic link
View file

@ -0,0 +1 @@
weechat

1
srcpkgs/weechat-tcl Symbolic link
View file

@ -0,0 +1 @@
weechat

37
srcpkgs/weechat/template Normal file
View file

@ -0,0 +1,37 @@
# Template file for 'weechat'
pkgname=weechat
version=0.3.5
distfiles="http://www.weechat.org/files/src//$pkgname-$version.tar.bz2"
build_style=configure
configure_script="cmake"
configure_args="-DPREFIX=/usr ."
short_desc="Fast, light and extensible IRC client (curses UI)"
maintainer="Mike Rosset <mike.rosset@gmail.com>"
homepage="http://www.weechat.org/"
license="GPL-3"
checksum=c8f86ed75bd57a498702aba7f9c96a99fc1581c6a034bf9a7761d8d578b4e154
long_desc="
WeeChat is:
- modular: a lightweight core with plugins around
- multi-protocols: IRC and Jabber (other soon)
- extensible: C plugins and scripts (Perl, Python, Ruby, Lua and Tcl)
- free software: released under GPLv3 license
- fully documented: user's guide, API, FAQ,.. translated in many languages"
subpackages="$pkgname-aspell $pkgname-devel $pkgname-perl $pkgname-python"
subpackages="${subpackages} $pkgname-ruby $pkgname-tcl"
Add_dependency run glibc
Add_dependency run gnutls
Add_dependency run libgcrypt
Add_dependency run ncurses-libs
Add_dependency build cmake
Add_dependency build glibc-devel
Add_dependency build aspell-devel
Add_dependency build gnutls-devel
Add_dependency build libgcrypt-devel
Add_dependency build python-devel
Add_dependency build ruby-devel
Add_dependency build tcl-devel
Add_dependency build ncurses-devel

View file

@ -0,0 +1,17 @@
# Template file for 'weechat-aspell'.
#
short_desc="${sourcepkg} aspell add-on"
long_desc="${long_desc}
This package contains the aspell plugin."
Add_dependency run aspell
Add_dependency run glibc
Add_dependency run weechat ">=${version}"
do_install()
{
mkdir -p ${DESTDIR}/usr/lib/weechat/plugins
mv ${SRCPKGDESTDIR}/usr/lib/weechat/plugins/aspell.so \
${DESTDIR}/usr/lib/weechat/plugins
}

View file

@ -0,0 +1,23 @@
# Template file for 'weechat-devel'.
#
short_desc="${sourcepkg} - development package"
long_desc="${long_desc}
This package contains development files."
Add_dependency run cmake
Add_dependency run glibc-devel
Add_dependency run aspell-devel
Add_dependency run gnutls-devel
Add_dependency run libgcrypt-devel
Add_dependency run python-devel
Add_dependency run ruby-devel
Add_dependency run tcl-devel
Add_dependency run ncurses-devel
do_install()
{
mkdir -p ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
}

View file

@ -0,0 +1,17 @@
# Template file for 'weechat-perl'.
#
short_desc="${sourcepkg} perl add-on"
long_desc="${long_desc}
This package contains the perl plugin."
Add_dependency run glibc
Add_dependency run perl
Add_dependency run weechat ">=${version}"
do_install()
{
mkdir -p ${DESTDIR}/usr/lib/weechat/plugins
mv ${SRCPKGDESTDIR}/usr/lib/weechat/plugins/perl.so \
${DESTDIR}/usr/lib/weechat/plugins
}

View file

@ -0,0 +1,17 @@
# Template file for 'weechat-python'.
#
short_desc="${sourcepkg} python add-on"
long_desc="${long_desc}
This package contains the python plugin."
Add_dependency run python
Add_dependency run glibc
Add_dependency run weechat ">=${version}"
do_install()
{
mkdir -p ${DESTDIR}/usr/lib/weechat/plugins
mv ${SRCPKGDESTDIR}/usr/lib/weechat/plugins/python.so \
${DESTDIR}/usr/lib/weechat/plugins
}

View file

@ -0,0 +1,17 @@
# Template file for 'weechat-ruby'.
#
short_desc="${sourcepkg} ruby add-on"
long_desc="${long_desc}
This package contains the ruby plugin."
Add_dependency run ruby
Add_dependency run glibc
Add_dependency run weechat ">=${version}"
do_install()
{
mkdir -p ${DESTDIR}/usr/lib/weechat/plugins
mv ${SRCPKGDESTDIR}/usr/lib/weechat/plugins/ruby.so \
${DESTDIR}/usr/lib/weechat/plugins
}

View file

@ -0,0 +1,17 @@
# Template file for 'weechat-tcl'.
#
short_desc="${sourcepkg} tcl add-on"
long_desc="${long_desc}
This package contains the tcl plugin."
Add_dependency run tcl
Add_dependency run glibc
Add_dependency run weechat ">=${version}"
do_install()
{
mkdir -p ${DESTDIR}/usr/lib/weechat/plugins
mv ${SRCPKGDESTDIR}/usr/lib/weechat/plugins/tcl.so \
${DESTDIR}/usr/lib/weechat/plugins
}