wok annotate weechat/receipt @ rev 23465

updated python-antlr (3.4 -> 3.5.2)
author Hans-G?nter Theisgen
date Sun Apr 05 08:08:00 2020 +0100 (2020-04-05)
parents 6135577f4d08
children 68cf96abc146
rev   line source
rocky@7847 1 # SliTaz package receipt
rocky@7847 2
rocky@7847 3 PACKAGE="weechat"
Hans-G?nter@22124 4 VERSION="2.6"
rocky@7847 5 CATEGORY="network"
Hans-G?nter@22124 6 TAGS="irc"
Hans-G?nter@22124 7 SHORT_DESC="A fast, light and extensible chat client."
rocky@7847 8 MAINTAINER="rocky@slitaz.org"
pascal@15100 9 LICENSE="GPL3"
pascal@20679 10 WEB_SITE="https://weechat.org/"
rocky@7847 11
Hans-G?nter@22124 12 TARBALL="$PACKAGE-$VERSION.tar.xz"
Hans-G?nter@22124 13 WGET_URL="${WEB_SITE}files/src/$TARBALL"
Hans-G?nter@22124 14
Hans-G?nter@22124 15 DEPENDS="libgcrypt libgnutls libtasn1 ncursesw perl python"
Hans-G?nter@22124 16 BUILD_DEPENDS="cmake curl-dev gmp-dev gnutls-dev guile-dev \
Hans-G?nter@22124 17 libgcrypt-dev libtool ncursesw-dev perl pkg-config python"
pascal@15100 18
rocky@7847 19 # Rules to configure and make the package.
rocky@7847 20 compile_rules()
rocky@7847 21 {
tcg@17300 22 mkdir build &&
tcg@17300 23 cd build &&
tcg@17300 24 cmake .. &&
tcg@17300 25 # ./autogen.sh &&
tcg@17300 26 # ./configure \
tcg@17300 27 # --enable-ncurses \
tcg@17300 28 # --enable-gcrypt \
tcg@17300 29 # --enable-gnutls \
tcg@17300 30 # --enable-python \
tcg@17300 31 # --enable-perl \
tcg@17300 32 # --disable-ruby \
tcg@17300 33 # --disable-tcl \
tcg@17300 34 # --disable-aspell \
tcg@17300 35 # --disable-doc \
tcg@17300 36 # --with-debug=0 \
tcg@17300 37 # $CONFIGURE_ARGS &&
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
Hans-G?nter@22124 46
Hans-G?nter@22124 47 cp -a $install/usr/local/bin $fs/usr
Hans-G?nter@22124 48 cp -a $install/usr/local/lib $fs/usr
Hans-G?nter@22124 49
rocky@7847 50 rm -rf $fs/usr/lib/pkgconfig
rocky@7847 51 rm -f $fs/usr/lib/weechat/plugins/*.a
rocky@7847 52 rm -f $fs/usr/lib/weechat/plugins/*.la
rocky@7847 53 }