wok view weechat/receipt @ rev 11182

Up: pcre to 8.20.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Nov 03 00:14:11 2011 +0000 (2011-11-03)
parents e9f13767ef1e
children 92b374c7a36d
line source
1 # SliTaz package receipt
3 PACKAGE="weechat"
4 VERSION="0.3.5"
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"
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 }