wok annotate ii/receipt @ rev 25625

Add opendkim (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Nov 08 17:14:09 2023 +0000 (12 months ago)
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 }