wok annotate sic/receipt @ rev 25070

created recipe for alsa-utils-lang
author Hans-G?nter Theisgen
date Sat Jun 11 08:40:38 2022 +0100 (2022-06-11)
parents c5ddf763228a
children
rev   line source
pascal@9987 1 # SliTaz package receipt.
pascal@9987 2
pascal@9987 3 PACKAGE="sic"
Hans-G?nter@21909 4 VERSION="1.2"
pascal@9987 5 CATEGORY="network"
pascal@9987 6 SHORT_DESC="Simple IRC client."
pascal@9987 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15593 8 LICENSE="MIT"
Hans-G?nter@21909 9 WEB_SITE="https://tools.suckless.org/sic"
Hans-G?nter@21909 10
pascal@9987 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@21909 12 WGET_URL="https://dl.suckless.org/tools/$TARBALL"
pascal@9987 13
pascal@24462 14 # What is the latest version available today?
pascal@24462 15 current_version()
pascal@24462 16 {
pascal@24462 17 wget -O - ${WGET_URL%/*} 2>/dev/null | \
pascal@24462 18 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24462 19 }
pascal@24462 20
pascal@9987 21 # Rules to configure and make the package.
pascal@9987 22 compile_rules()
pascal@9987 23 {
pascal@9987 24 make clean &&
Hans-G?nter@21909 25 make install PREFIX=/usr DESTDIR=$DESTDIR
pascal@9987 26 }
pascal@9987 27
pascal@9987 28 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@9987 29 genpkg_rules()
pascal@9987 30 {
pascal@9987 31 mkdir -p $fs/usr
pascal@15593 32 cp -a $install/usr/bin $fs/usr
pascal@9987 33 }