wok-next view weechat/receipt @ rev 15607
libdvdread: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Dec 06 20:15:24 2013 +0000 (2013-12-06) |
parents | 92b374c7a36d |
children | b67414949731 |
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"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 while read file; do
22 [ -f done.$file ] && continue
23 echo "Apply $file..."
24 patch -p1 < $stuff/$file || return 1
25 touch done.$file
26 done <<EOT
27 weechat-implicit-function-declaration.patch
28 EOT
29 ./configure \
30 --enable-ncurses \
31 --enable-gcrypt \
32 --enable-gnutls \
33 --enable-python \
34 --enable-perl \
35 --disable-ruby \
36 --disable-tcl \
37 --disable-aspell \
38 --disable-doc \
39 --with-debug=0 \
40 $CONFIGURE_ARGS &&
41 make &&
42 make install
43 }
45 # Rules to gen a SliTaz package suitable for Tazpkg.
46 genpkg_rules()
47 {
48 mkdir -p $fs/usr
49 cp -a $install/usr/bin $fs/usr
50 cp -a $install/usr/lib $fs/usr
51 rm -rf $fs/usr/lib/pkgconfig
52 rm -f $fs/usr/lib/weechat/plugins/*.a
53 rm -f $fs/usr/lib/weechat/plugins/*.la
54 }