wok-6.x annotate ii/receipt @ rev 25193
updated python-genshi (0.7.3 -> 0.7.5)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jul 13 10:42:47 2022 +0100 (2022-07-13) |
parents | 703164dd5310 |
children |
rev | line source |
---|---|
pascal@9986 | 1 # SliTaz package receipt. |
pascal@9986 | 2 |
pascal@9986 | 3 PACKAGE="ii" |
Hans-G?nter@24661 | 4 VERSION="1.9" |
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" |
Hans-G?nter@24661 | 9 WEB_SITE="https://tools.suckless.org/ii/" |
Hans-G?nter@24662 | 10 |
pascal@9986 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@24661 | 12 WGET_URL="https://dl.suckless.org/tools/$TARBALL" |
pascal@9986 | 13 |
Hans-G?nter@24663 | 14 DEPENDS="gcc83-lib-base" |
Hans-G?nter@24664 | 15 BUILD_DEPENDS="gcc83" |
Hans-G?nter@24663 | 16 |
pascal@24445 | 17 # What is the latest version available today? |
pascal@24445 | 18 current_version() |
pascal@24445 | 19 { |
pascal@24445 | 20 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24445 | 21 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q |
pascal@24445 | 22 } |
pascal@24445 | 23 |
pascal@9986 | 24 # Rules to configure and make the package. |
pascal@9986 | 25 compile_rules() |
pascal@9986 | 26 { |
Hans-G?nter@24661 | 27 sed -i 's|/usr/local|/usr|' config.mk |
Hans-G?nter@24662 | 28 |
Hans-G?nter@24662 | 29 export CC=gcc-83 |
Hans-G?nter@24662 | 30 export CXX=g++-83 |
Hans-G?nter@24662 | 31 |
pascal@9986 | 32 make clean && |
Hans-G?nter@24661 | 33 make install DESTDIR=$DESTDIR |
pascal@9986 | 34 } |
pascal@9986 | 35 |
pascal@9986 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@9986 | 37 genpkg_rules() |
pascal@9986 | 38 { |
Hans-G?nter@24661 | 39 cook_copy_folders bin |
pascal@9986 | 40 } |