wok-4.x view weechat/receipt @ rev 7847
Add: weechat v0.3.3(from wok-undigest/weechat)
author | Liu Peng <rocky@slitaz.org> |
---|---|
date | Tue Dec 28 16:11:28 2010 +0000 (2010-12-28) |
parents | |
children | 7aa8b2fe697f |
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-doc \
36 --with-debug=0 \
37 $CONFIGURE_ARGS &&
38 make &&
39 make DESTDIR=$PWD/_pkg 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 }