wok view weechat/receipt @ rev 9361

Up: xorg-libX11 to 1.4.2.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Mar 20 15:30:17 2011 +0000 (2011-03-20)
parents 254cdebd32d5
children e9f13767ef1e
line source
1 # SliTaz package receipt
3 PACKAGE="weechat"
4 VERSION="0.3.3"
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 make &&
39 make install
40 }
42 # Rules to gen a SliTaz package suitable for Tazpkg.
43 genpkg_rules()
44 {
45 mkdir -p $fs/usr
46 cp -a $_pkg/usr/bin $fs/usr
47 cp -a $_pkg/usr/lib $fs/usr
48 rm -rf $fs/usr/lib/pkgconfig
49 rm -f $fs/usr/lib/weechat/plugins/*.a
50 rm -f $fs/usr/lib/weechat/plugins/*.la
51 }