wok view weechat/receipt @ rev 14909

slitaz-i18n: add slitaz-configs as bdep; slitaz-configs: back openbox menu; locale-el, locale-ru: add keyboard layout icons; locale-fr, locale-hu, locale-pt_BR: recook with openbox menu.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Aug 05 11:40:01 2013 +0300 (2013-08-05)
parents 6250bda90743
children 48e9e6d61362
line source
1 # SliTaz package receipt
3 PACKAGE="weechat"
4 VERSION="0.3.7"
5 CATEGORY="network"
6 SHORT_DESC="a fast, light and extensible chat client."
7 MAINTAINER="rocky@slitaz.org"
8 DEPENDS="ncursesw libgcrypt libgnutls libtasn1 python perl"
9 BUILD_DEPENDS="perl python pkg-config curl-dev guile-dev gmp-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://weechat.org/"
12 WGET_URL="http://weechat.org/files/src/$TARBALL"
13 TAGS="irc"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 while read file; do
20 [ -f done.$file ] && continue
21 echo "Apply $file..."
22 patch -p1 < $stuff/$file || return 1
23 touch done.$file
24 done <<EOT
25 weechat-implicit-function-declaration.patch
26 EOT
27 ./configure \
28 --enable-ncurses \
29 --enable-gcrypt \
30 --enable-gnutls \
31 --enable-python \
32 --enable-perl \
33 --disable-ruby \
34 --disable-tcl \
35 --disable-aspell \
36 --disable-doc \
37 --with-debug=0 \
38 $CONFIGURE_ARGS &&
39 make &&
40 make install
41 }
43 # Rules to gen a SliTaz package suitable for Tazpkg.
44 genpkg_rules()
45 {
46 mkdir -p $fs/usr
47 cp -a $_pkg/usr/bin $fs/usr
48 cp -a $_pkg/usr/lib $fs/usr
49 rm -rf $fs/usr/lib/pkgconfig
50 rm -f $fs/usr/lib/weechat/plugins/*.a
51 rm -f $fs/usr/lib/weechat/plugins/*.la
52 }