wok view centerim/receipt @ rev 25039
Up aspell-pl (6.0_20210731-0), icmptx (20190501)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 26 14:53:15 2022 +0000 (2022-05-26) |
parents | 84c5b3483e46 |
children | fe1b5660fdd1 |
line source
1 # SliTaz package receipt.
3 PACKAGE="centerim"
4 VERSION="4.22.10"
5 CATEGORY="network"
6 SHORT_DESC="Console mode IM"
7 MAINTAINER="allan316@gmail.com"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://github.com/petrpavlu/centerim5"
11 WGET_URL="https://mirrors.aliyun.com/ubuntu-ports/pool/universe/c/centerim/centerim_$VERSION.orig.tar.gz"
12 TAGS="im instant-messenger cli command-line"
14 DEPENDS="ncursesw curl libssl libidn libgpg-error gpgme"
15 BUILD_DEPENDS="ncursesw-dev curl-dev openssl-dev libidn-dev libgpg-error-dev \
16 gpgme-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - https://github.com/petrpavlu/centerim5/releases 2>/dev/null | \
22 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 cd $src
29 sed -i 's/<list>/&\n#include <stdio.h>/' libicq2000/libicq2000/sigslot.h
30 mkdir -p $DESTDIR/usr
31 ./configure --prefix=/usr $CONFIGURE_ARGS &&
32 make && make install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/share
39 cp -a $install/usr/bin $fs/usr
40 cp -a $install/usr/share/centerim $fs/usr/share
41 }