wok view centerim/receipt @ rev 24702

updated knock (0.7.8 -> 0.8)
author Hans-G?nter Theisgen
date Mon Mar 14 09:51:46 2022 +0100 (2022-03-14)
parents 380ffe05937a
children 84c5b3483e46
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="http://www.centerim.org"
11 WGET_URL="$WEB_SITE/download/releases/$TARBALL"
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 }