wok annotate libidn/receipt @ rev 24942

BootProg: clear cmdline
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Apr 20 15:10:50 2022 +0000 (2022-04-20)
parents 5d79829fa876
children b81ceff0b056
rev   line source
pascal@2133 1 # SliTaz package receipt.
pascal@2133 2
pascal@2133 3 PACKAGE="libidn"
Hans-G?nter@24800 4 VERSION="1.38"
pascal@2133 5 CATEGORY="system-tools"
pascal@2133 6 SHORT_DESC="Encode and decode internationalized domain names."
pascal@2133 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15227 8 LICENSE="GPL3 LGPL2.1"
Hans-G?nter@21239 9 WEB_SITE="https://www.gnu.org/software/$PACKAGE/"
Hans-G?nter@21239 10
pascal@2133 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@2133 12 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
Hans-G?nter@21239 13
Hans-G?nter@24800 14 SUGGESTED="libidn-lang"
Hans-G?nter@24800 15
pankso@15963 16 HOST_ARCH="i486 arm"
pascal@2133 17
pascal@24072 18 current_version()
pascal@24072 19 {
pascal@24072 20 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
pascal@24072 21 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24072 22 }
pascal@24072 23
pascal@2133 24 # Rules to configure and make the package.
pascal@2133 25 compile_rules()
pascal@2133 26 {
slaxemulator@10155 27 ./configure $CONFIGURE_ARGS &&
Hans-G?nter@24800 28 make $MAKEFLAGS &&
pascal@15227 29 make install
pascal@2133 30 }
pascal@2133 31
pascal@2133 32 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@2133 33 genpkg_rules()
pascal@2133 34 {
Hans-G?nter@24800 35 cook_copy_folders bin
Hans-G?nter@24800 36 cook_copy_files *.so*
pascal@2133 37 }