wok-next annotate weechat/receipt @ rev 16533
Add cellwriter-keyboard.desktop so we get the virtual keyboard directly
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Apr 27 23:20:13 2014 +0200 (2014-04-27) |
parents | 48e9e6d61362 |
children | 49b5c130d94f |
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@15628 | 15 BUILD_DEPENDS="perl python pkg-config curl-dev guile-dev gmp-dev ncursesw-dev \ |
pascal@15628 | 16 libtool" |
pascal@15100 | 17 |
rocky@7847 | 18 # Rules to configure and make the package. |
rocky@7847 | 19 compile_rules() |
rocky@7847 | 20 { |
rocky@7847 | 21 cd $src |
rocky@7847 | 22 while read file; do |
rocky@7847 | 23 [ -f done.$file ] && continue |
rocky@7847 | 24 echo "Apply $file..." |
pascal@8974 | 25 patch -p1 < $stuff/$file || return 1 |
rocky@7847 | 26 touch done.$file |
rocky@7847 | 27 done <<EOT |
rocky@7847 | 28 weechat-implicit-function-declaration.patch |
rocky@7847 | 29 EOT |
rocky@7847 | 30 ./configure \ |
rocky@7847 | 31 --enable-ncurses \ |
rocky@7847 | 32 --enable-gcrypt \ |
rocky@7847 | 33 --enable-gnutls \ |
rocky@7847 | 34 --enable-python \ |
rocky@7847 | 35 --enable-perl \ |
rocky@7847 | 36 --disable-ruby \ |
rocky@7852 | 37 --disable-tcl \ |
rocky@7852 | 38 --disable-aspell \ |
rocky@7847 | 39 --disable-doc \ |
slaxemulator@10055 | 40 --with-debug=0 \ |
slaxemulator@10055 | 41 $CONFIGURE_ARGS && |
rocky@7847 | 42 make && |
slaxemulator@8965 | 43 make install |
rocky@7847 | 44 } |
rocky@7847 | 45 |
rocky@7847 | 46 # Rules to gen a SliTaz package suitable for Tazpkg. |
rocky@7847 | 47 genpkg_rules() |
rocky@7847 | 48 { |
rocky@7847 | 49 mkdir -p $fs/usr |
pascal@15100 | 50 cp -a $install/usr/bin $fs/usr |
pascal@15100 | 51 cp -a $install/usr/lib $fs/usr |
rocky@7847 | 52 rm -rf $fs/usr/lib/pkgconfig |
rocky@7847 | 53 rm -f $fs/usr/lib/weechat/plugins/*.a |
rocky@7847 | 54 rm -f $fs/usr/lib/weechat/plugins/*.la |
rocky@7847 | 55 } |