wok annotate 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
rev   line source
allan316@3207 1 # SliTaz package receipt.
allan316@3207 2
allan316@3207 3 PACKAGE="centerim"
pankso@10686 4 VERSION="4.22.10"
allan316@3207 5 CATEGORY="network"
allan316@3207 6 SHORT_DESC="Console mode IM"
allan316@3207 7 MAINTAINER="allan316@gmail.com"
pascal@15000 8 LICENSE="GPL2"
allan316@3207 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@24897 10 WEB_SITE="https://github.com/petrpavlu/centerim5"
allan316@3207 11 WGET_URL="$WEB_SITE/download/releases/$TARBALL"
jozee@4933 12 TAGS="im instant-messenger cli command-line"
allan316@3207 13
pankso@10688 14 DEPENDS="ncursesw curl libssl libidn libgpg-error gpgme"
pankso@10688 15 BUILD_DEPENDS="ncursesw-dev curl-dev openssl-dev libidn-dev libgpg-error-dev \
pankso@10688 16 gpgme-dev"
pankso@10688 17
pascal@24427 18 # What is the latest version available today?
pascal@24427 19 current_version()
pascal@24427 20 {
pascal@24427 21 wget -O - https://github.com/petrpavlu/centerim5/releases 2>/dev/null | \
pascal@24427 22 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
pascal@24427 23 }
pascal@24427 24
allan316@3207 25 # Rules to configure and make the package.
allan316@3207 26 compile_rules()
allan316@3207 27 {
allan316@3207 28 cd $src
pascal@12679 29 sed -i 's/<list>/&\n#include <stdio.h>/' libicq2000/libicq2000/sigslot.h
pascal@9057 30 mkdir -p $DESTDIR/usr
pankso@10688 31 ./configure --prefix=/usr $CONFIGURE_ARGS &&
pankso@10688 32 make && make install
allan316@3207 33 }
allan316@3207 34
allan316@3207 35 # Rules to gen a SliTaz package suitable for Tazpkg.
allan316@3207 36 genpkg_rules()
allan316@3207 37 {
pankso@10686 38 mkdir -p $fs/usr/share
pascal@15000 39 cp -a $install/usr/bin $fs/usr
pascal@15000 40 cp -a $install/usr/share/centerim $fs/usr/share
allan316@3207 41 }
allan316@3207 42