wok-next annotate weechat/receipt @ rev 9440

Remove esmart
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Apr 01 00:57:55 2011 +0200 (2011-04-01)
parents 254cdebd32d5
children e9f13767ef1e
rev   line source
rocky@7847 1 # SliTaz package receipt
rocky@7847 2
rocky@7847 3 PACKAGE="weechat"
rocky@7847 4 VERSION="0.3.3"
rocky@7847 5 CATEGORY="network"
rocky@7847 6 SHORT_DESC="a fast, light and extensible chat client."
rocky@7847 7 MAINTAINER="rocky@slitaz.org"
slaxemulator@8965 8 DEPENDS="ncursesw libgcrypt libgnutls libtasn1 python perl"
slaxemulator@8965 9 BUILD_DEPENDS="perl python pkg-config"
rocky@7847 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
rocky@7847 11 WEB_SITE="http://weechat.org/"
rocky@7847 12 WGET_URL="http://weechat.org/files/src/$TARBALL"
rocky@7847 13 TAGS="irc"
rocky@7847 14
rocky@7847 15 # Rules to configure and make the package.
rocky@7847 16 compile_rules()
rocky@7847 17 {
rocky@7847 18 cd $src
rocky@7847 19 while read file; do
rocky@7847 20 [ -f done.$file ] && continue
rocky@7847 21 echo "Apply $file..."
pascal@8974 22 patch -p1 < $stuff/$file || return 1
rocky@7847 23 touch done.$file
rocky@7847 24 done <<EOT
rocky@7847 25 weechat-implicit-function-declaration.patch
rocky@7847 26 EOT
rocky@7847 27 ./configure \
rocky@7847 28 --enable-ncurses \
rocky@7847 29 --enable-gcrypt \
rocky@7847 30 --enable-gnutls \
rocky@7847 31 --enable-python \
rocky@7847 32 --enable-perl \
rocky@7847 33 --disable-ruby \
rocky@7852 34 --disable-tcl \
rocky@7852 35 --disable-aspell \
rocky@7847 36 --disable-doc \
slaxemulator@8965 37 --with-debug=0 &&
rocky@7847 38 make &&
slaxemulator@8965 39 make install
rocky@7847 40 }
rocky@7847 41
rocky@7847 42 # Rules to gen a SliTaz package suitable for Tazpkg.
rocky@7847 43 genpkg_rules()
rocky@7847 44 {
rocky@7847 45 mkdir -p $fs/usr
rocky@7847 46 cp -a $_pkg/usr/bin $fs/usr
rocky@7847 47 cp -a $_pkg/usr/lib $fs/usr
rocky@7847 48 rm -rf $fs/usr/lib/pkgconfig
rocky@7847 49 rm -f $fs/usr/lib/weechat/plugins/*.a
rocky@7847 50 rm -f $fs/usr/lib/weechat/plugins/*.la
rocky@7847 51 }