wok-current view weechat/receipt @ rev 8167
imported patch commit_inprogress/rp-pppoe.patch
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Thu Jan 27 00:20:49 2011 +0100 (2011-01-27) |
parents | 38b6f92fbac6 |
children | 254cdebd32d5 |
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 ncursesw libtasn1 python perl"
9 BUILD_DEPENDS="ncurses ncurses-dev libgcrypt-dev gnutls-dev libtasn1-dev perl python python-dev pkg-config slitaz-toolchain"
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 --prefix=/usr \
29 --enable-ncurses \
30 --enable-gcrypt \
31 --enable-gnutls \
32 --enable-python \
33 --enable-perl \
34 --disable-ruby \
35 --disable-tcl \
36 --disable-aspell \
37 --disable-doc \
38 --with-debug=0 \
39 $CONFIGURE_ARGS &&
40 make &&
41 make DESTDIR=$PWD/_pkg install
42 }
44 # Rules to gen a SliTaz package suitable for Tazpkg.
45 genpkg_rules()
46 {
47 mkdir -p $fs/usr
48 cp -a $_pkg/usr/bin $fs/usr
49 cp -a $_pkg/usr/lib $fs/usr
50 rm -rf $fs/usr/lib/pkgconfig
51 rm -f $fs/usr/lib/weechat/plugins/*.a
52 rm -f $fs/usr/lib/weechat/plugins/*.la
53 }