wok-6.x annotate ii/receipt @ rev 24489
updated dmidecode (3.2 -> 3.3)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 18 17:31:24 2022 +0100 (2022-02-18) |
parents | de49f29b101e |
children | b6f35b7563f0 |
rev | line source |
---|---|
pascal@9986 | 1 # SliTaz package receipt. |
pascal@9986 | 2 |
pascal@9986 | 3 PACKAGE="ii" |
pascal@9986 | 4 VERSION="1.6" |
pascal@9986 | 5 CATEGORY="network" |
pascal@9986 | 6 SHORT_DESC="Minimalist IRC client." |
pascal@9986 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15600 | 8 LICENSE="MIT" |
pascal@9986 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@9986 | 10 WEB_SITE="http://tools.suckless.org/ii" |
pascal@9986 | 11 WGET_URL="http://dl.suckless.org/tools/$TARBALL" |
pascal@9986 | 12 |
pascal@24445 | 13 # What is the latest version available today? |
pascal@24445 | 14 current_version() |
pascal@24445 | 15 { |
pascal@24445 | 16 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24445 | 17 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q |
pascal@24445 | 18 } |
pascal@24445 | 19 |
pascal@9986 | 20 # Rules to configure and make the package. |
pascal@9986 | 21 compile_rules() |
pascal@9986 | 22 { |
pascal@9986 | 23 cd $src |
pascal@9986 | 24 sed -i 's|/usr/local|/usr|' config.mk |
pascal@9986 | 25 make clean && |
pascal@9986 | 26 make DESTDIR=$DESTDIR install |
pascal@9986 | 27 } |
pascal@9986 | 28 |
pascal@9986 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@9986 | 30 genpkg_rules() |
pascal@9986 | 31 { |
pascal@9986 | 32 mkdir -p $fs/usr |
pascal@15600 | 33 cp -a $install/usr/bin $fs/usr |
pascal@9986 | 34 } |