wok-6.x view weechat/receipt @ rev 24798
updated libhx and libhx-dev (3.24 -> 4.3)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Mar 21 17:23:16 2022 +0100 (2022-03-21) |
parents | 68cf96abc146 |
children |
line source
1 # SliTaz package receipt
3 PACKAGE="weechat"
4 VERSION="2.6"
5 CATEGORY="network"
6 TAGS="irc"
7 SHORT_DESC="A fast, light and extensible chat client."
8 MAINTAINER="rocky@slitaz.org"
9 LICENSE="GPL3"
10 WEB_SITE="https://weechat.org/"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="${WEB_SITE}files/src/$TARBALL"
15 DEPENDS="libgcrypt libgnutls libtasn1 ncursesw perl py3k"
16 BUILD_DEPENDS="cmake curl-dev gmp-dev gnutls-dev guile-dev \
17 libgcrypt-dev libtool ncursesw-dev perl pkg-config py3k-dev"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - https://weechat.org/download/ 2>/dev/null | \
23 sed '/weechat-/!d;s|.*weechat-||;s|.tar.*||;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 mkdir build &&
30 cd build &&
31 cmake .. &&
32 # ./autogen.sh &&
33 # ./configure \
34 # --enable-ncurses \
35 # --enable-gcrypt \
36 # --enable-gnutls \
37 # --enable-python \
38 # --enable-perl \
39 # --disable-ruby \
40 # --disable-tcl \
41 # --disable-aspell \
42 # --disable-doc \
43 # --with-debug=0 \
44 # $CONFIGURE_ARGS &&
45 make &&
46 make install
47 }
49 # Rules to gen a SliTaz package suitable for Tazpkg.
50 genpkg_rules()
51 {
52 mkdir -p $fs/usr
54 cp -a $install/usr/local/bin $fs/usr
55 cp -a $install/usr/local/lib $fs/usr
57 rm -rf $fs/usr/lib/pkgconfig
58 rm -f $fs/usr/lib/weechat/plugins/*.a
59 rm -f $fs/usr/lib/weechat/plugins/*.la
60 }