wok view centerim/receipt @ rev 25000

updated nms (0.3.3 -> 1.0.1)
author Hans-G?nter Theisgen
date Mon May 16 13:53:18 2022 +0100 (2022-05-16)
parents 83b97236db32
children 429cd2dffc4f
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="$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 }