wok-current view weechat/receipt @ rev 14770

Up busybox (1.21.1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jun 29 17:32:45 2013 +0200 (2013-06-29)
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 }