wok view weechat/receipt @ rev 16786
Add softether
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jun 27 13:13:18 2014 +0200 (2014-06-27) |
parents | 48e9e6d61362 |
children | 49b5c130d94f |
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 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://weechat.org/"
11 WGET_URL="http://weechat.org/files/src/$TARBALL"
12 TAGS="irc"
14 DEPENDS="ncursesw libgcrypt libgnutls libtasn1 python perl"
15 BUILD_DEPENDS="perl python pkg-config curl-dev guile-dev gmp-dev ncursesw-dev \
16 libtool"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 while read file; do
23 [ -f done.$file ] && continue
24 echo "Apply $file..."
25 patch -p1 < $stuff/$file || return 1
26 touch done.$file
27 done <<EOT
28 weechat-implicit-function-declaration.patch
29 EOT
30 ./configure \
31 --enable-ncurses \
32 --enable-gcrypt \
33 --enable-gnutls \
34 --enable-python \
35 --enable-perl \
36 --disable-ruby \
37 --disable-tcl \
38 --disable-aspell \
39 --disable-doc \
40 --with-debug=0 \
41 $CONFIGURE_ARGS &&
42 make &&
43 make install
44 }
46 # Rules to gen a SliTaz package suitable for Tazpkg.
47 genpkg_rules()
48 {
49 mkdir -p $fs/usr
50 cp -a $install/usr/bin $fs/usr
51 cp -a $install/usr/lib $fs/usr
52 rm -rf $fs/usr/lib/pkgconfig
53 rm -f $fs/usr/lib/weechat/plugins/*.a
54 rm -f $fs/usr/lib/weechat/plugins/*.la
55 }