wok-current annotate weechat/receipt @ rev 10468

testdisk: fix path
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 25 11:41:14 2011 +0200 (2011-05-25)
parents e9f13767ef1e
children 92b374c7a36d
rev   line source
rocky@7847 1 # SliTaz package receipt
rocky@7847 2
rocky@7847 3 PACKAGE="weechat"
slaxemulator@9853 4 VERSION="0.3.5"
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@10055 37 --with-debug=0 \
slaxemulator@10055 38 $CONFIGURE_ARGS &&
rocky@7847 39 make &&
slaxemulator@8965 40 make install
rocky@7847 41 }
rocky@7847 42
rocky@7847 43 # Rules to gen a SliTaz package suitable for Tazpkg.
rocky@7847 44 genpkg_rules()
rocky@7847 45 {
rocky@7847 46 mkdir -p $fs/usr
rocky@7847 47 cp -a $_pkg/usr/bin $fs/usr
rocky@7847 48 cp -a $_pkg/usr/lib $fs/usr
rocky@7847 49 rm -rf $fs/usr/lib/pkgconfig
rocky@7847 50 rm -f $fs/usr/lib/weechat/plugins/*.a
rocky@7847 51 rm -f $fs/usr/lib/weechat/plugins/*.la
rocky@7847 52 }