wok view weechat/receipt @ rev 9858

removed old tazbb (will keep a copy in slitaz-dev-tools
author Christophe Lincoln <pankso@slitaz.org>
date Mon May 16 15:38:06 2011 +0200 (2011-05-16)
parents 940b5937e496
children 6250bda90743
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 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 }