wok annotate weechat/receipt @ rev 25442
Update some wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 02 16:30:36 2022 +0000 (2022-09-02) |
parents | 68cf96abc146 |
children | a5e183d53960 |
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 |
pascal@24066 | 15 DEPENDS="libgcrypt libgnutls libtasn1 ncursesw perl py3k" |
Hans-G?nter@22124 | 16 BUILD_DEPENDS="cmake curl-dev gmp-dev gnutls-dev guile-dev \ |
pascal@24066 | 17 libgcrypt-dev libtool ncursesw-dev perl pkg-config py3k-dev" |
pascal@15100 | 18 |
pascal@24304 | 19 # What is the latest version available today? |
pascal@24304 | 20 current_version() |
pascal@24304 | 21 { |
pascal@24304 | 22 wget -O - https://weechat.org/download/ 2>/dev/null | \ |
pascal@24304 | 23 sed '/weechat-/!d;s|.*weechat-||;s|.tar.*||;q' |
pascal@24304 | 24 } |
pascal@24304 | 25 |
rocky@7847 | 26 # Rules to configure and make the package. |
rocky@7847 | 27 compile_rules() |
rocky@7847 | 28 { |
tcg@17300 | 29 mkdir build && |
tcg@17300 | 30 cd build && |
tcg@17300 | 31 cmake .. && |
tcg@17300 | 32 # ./autogen.sh && |
tcg@17300 | 33 # ./configure \ |
tcg@17300 | 34 # --enable-ncurses \ |
tcg@17300 | 35 # --enable-gcrypt \ |
tcg@17300 | 36 # --enable-gnutls \ |
tcg@17300 | 37 # --enable-python \ |
tcg@17300 | 38 # --enable-perl \ |
tcg@17300 | 39 # --disable-ruby \ |
tcg@17300 | 40 # --disable-tcl \ |
tcg@17300 | 41 # --disable-aspell \ |
tcg@17300 | 42 # --disable-doc \ |
tcg@17300 | 43 # --with-debug=0 \ |
tcg@17300 | 44 # $CONFIGURE_ARGS && |
rocky@7847 | 45 make && |
slaxemulator@8965 | 46 make install |
rocky@7847 | 47 } |
rocky@7847 | 48 |
rocky@7847 | 49 # Rules to gen a SliTaz package suitable for Tazpkg. |
rocky@7847 | 50 genpkg_rules() |
rocky@7847 | 51 { |
rocky@7847 | 52 mkdir -p $fs/usr |
Hans-G?nter@22124 | 53 |
Hans-G?nter@22124 | 54 cp -a $install/usr/local/bin $fs/usr |
Hans-G?nter@22124 | 55 cp -a $install/usr/local/lib $fs/usr |
Hans-G?nter@22124 | 56 |
rocky@7847 | 57 rm -rf $fs/usr/lib/pkgconfig |
rocky@7847 | 58 rm -f $fs/usr/lib/weechat/plugins/*.a |
rocky@7847 | 59 rm -f $fs/usr/lib/weechat/plugins/*.la |
rocky@7847 | 60 } |