wok annotate centerim/receipt @ rev 25805

created recipe for xfce4-weather-plugin
author Hans-G?nter Theisgen
date Wed Nov 13 15:24:31 2024 +0100 (9 days ago)
parents 429cd2dffc4f
children
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"
pascal@25039 11 WGET_URL="https://mirrors.aliyun.com/ubuntu-ports/pool/universe/c/centerim/centerim_$VERSION.orig.tar.gz"
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@25598 22 sed '/tag\//!d;s|.*tag/v*||;s|".*||;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