wok annotate weechat/receipt @ rev 15100

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