diff --git a/srcpkgs/weechat-aspell b/srcpkgs/weechat-aspell new file mode 120000 index 00000000000..37992dc0bff --- /dev/null +++ b/srcpkgs/weechat-aspell @@ -0,0 +1 @@ +weechat \ No newline at end of file diff --git a/srcpkgs/weechat-devel b/srcpkgs/weechat-devel new file mode 120000 index 00000000000..37992dc0bff --- /dev/null +++ b/srcpkgs/weechat-devel @@ -0,0 +1 @@ +weechat \ No newline at end of file diff --git a/srcpkgs/weechat-perl b/srcpkgs/weechat-perl new file mode 120000 index 00000000000..37992dc0bff --- /dev/null +++ b/srcpkgs/weechat-perl @@ -0,0 +1 @@ +weechat \ No newline at end of file diff --git a/srcpkgs/weechat-python b/srcpkgs/weechat-python new file mode 120000 index 00000000000..37992dc0bff --- /dev/null +++ b/srcpkgs/weechat-python @@ -0,0 +1 @@ +weechat \ No newline at end of file diff --git a/srcpkgs/weechat-ruby b/srcpkgs/weechat-ruby new file mode 120000 index 00000000000..37992dc0bff --- /dev/null +++ b/srcpkgs/weechat-ruby @@ -0,0 +1 @@ +weechat \ No newline at end of file diff --git a/srcpkgs/weechat-tcl b/srcpkgs/weechat-tcl new file mode 120000 index 00000000000..37992dc0bff --- /dev/null +++ b/srcpkgs/weechat-tcl @@ -0,0 +1 @@ +weechat \ No newline at end of file diff --git a/srcpkgs/weechat/template b/srcpkgs/weechat/template new file mode 100644 index 00000000000..cae06761406 --- /dev/null +++ b/srcpkgs/weechat/template @@ -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 " +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 diff --git a/srcpkgs/weechat/weechat-aspell.template b/srcpkgs/weechat/weechat-aspell.template new file mode 100644 index 00000000000..9eb4f3b0538 --- /dev/null +++ b/srcpkgs/weechat/weechat-aspell.template @@ -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 +} diff --git a/srcpkgs/weechat/weechat-devel.template b/srcpkgs/weechat/weechat-devel.template new file mode 100644 index 00000000000..aac6083bac7 --- /dev/null +++ b/srcpkgs/weechat/weechat-devel.template @@ -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 +} diff --git a/srcpkgs/weechat/weechat-perl.template b/srcpkgs/weechat/weechat-perl.template new file mode 100644 index 00000000000..e9ba47d05af --- /dev/null +++ b/srcpkgs/weechat/weechat-perl.template @@ -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 +} diff --git a/srcpkgs/weechat/weechat-python.template b/srcpkgs/weechat/weechat-python.template new file mode 100644 index 00000000000..32b0b9f92c5 --- /dev/null +++ b/srcpkgs/weechat/weechat-python.template @@ -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 +} diff --git a/srcpkgs/weechat/weechat-ruby.template b/srcpkgs/weechat/weechat-ruby.template new file mode 100644 index 00000000000..8d8ff07aa47 --- /dev/null +++ b/srcpkgs/weechat/weechat-ruby.template @@ -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 +} diff --git a/srcpkgs/weechat/weechat-tcl.template b/srcpkgs/weechat/weechat-tcl.template new file mode 100644 index 00000000000..9519e2eca18 --- /dev/null +++ b/srcpkgs/weechat/weechat-tcl.template @@ -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 +}