wok annotate mcabber/receipt @ rev 25710
typo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 25 12:42:06 2024 +0000 (4 months ago) |
parents | 83b97236db32 |
children |
rev | line source |
---|---|
pascal@1116 | 1 # SliTaz package receipt. |
pascal@1116 | 2 |
pascal@1116 | 3 PACKAGE="mcabber" |
Hans-G?nter@24885 | 4 VERSION="1.1.2" |
pascal@1423 | 5 CATEGORY="network" |
pascal@1116 | 6 SHORT_DESC="Jabber console client." |
pascal@1116 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15002 | 8 LICENSE="GPL2" |
Hans-G?nter@24885 | 9 WEB_SITE="https://mcabber.com/" |
Hans-G?nter@24885 | 10 |
pascal@1116 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
Hans-G?nter@24885 | 12 WGET_URL="${WEB_SITE}files/$TARBALL" |
pascal@15002 | 13 |
Hans-G?nter@24885 | 14 SUGGESTED="mcabber-help" |
Hans-G?nter@24885 | 15 DEPENDS="glib gpgme libasyncns libcrypto libgpg-error loudmouth ncurses openssl" |
Hans-G?nter@24885 | 16 BUILD_DEPENDS="glib-dev libasyncns-dev loudmouth-dev ncurses-dev" |
pascal@1116 | 17 |
pascal@24427 | 18 # What is the latest version available today? |
pascal@24427 | 19 current_version() |
pascal@24427 | 20 { |
pascal@24427 | 21 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24427 | 22 sed "/current/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24427 | 23 } |
pascal@24427 | 24 |
pascal@1116 | 25 # Rules to configure and make the package. |
pascal@1116 | 26 compile_rules() |
pascal@1116 | 27 { |
Hans-G?nter@24885 | 28 ./configure && |
Hans-G?nter@24885 | 29 make && |
Hans-G?nter@24885 | 30 make install |
pascal@1116 | 31 } |
pascal@1116 | 32 |
pascal@1116 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1116 | 34 genpkg_rules() |
pascal@1116 | 35 { |
Hans-G?nter@24885 | 36 cook_copy_folders bin |
pascal@1116 | 37 } |