weechat: new -lua subpkg, add missing builddeps.

This commit is contained in:
Juan RP 2011-06-30 09:45:14 +02:00
parent 14d39967c0
commit 9be28af618
4 changed files with 24 additions and 1 deletions

1
srcpkgs/weechat-lua Symbolic link
View File

@ -0,0 +1 @@
weechat

View File

@ -19,7 +19,7 @@ long_desc="
- 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"
subpackages="${subpackages} $pkgname-ruby $pkgname-tcl $pkgname-lua"
Add_dependency run glibc
Add_dependency run gnutls
@ -27,11 +27,15 @@ Add_dependency run libgcrypt
Add_dependency run ncurses-libs
Add_dependency build cmake
Add_dependency build pkg-config
Add_dependency build gettext
Add_dependency build glibc-devel
Add_dependency build aspell-devel
Add_dependency build gnutls-devel
Add_dependency build libgcrypt-devel
Add_dependency build perl
Add_dependency build python-devel
Add_dependency build ruby-devel
Add_dependency build tcl-devel
Add_dependency build ncurses-devel
Add_dependency build lua-devel

View File

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

View File

@ -817,3 +817,4 @@ libgiblib.so giblib giblib-devel
libgc.so gc gc-devel
libgslcblas.so gsl gsl-devel
libgsl.so gsl gsl-devel
liblua.so lua lua-devel