wok-current view libidn/receipt @ rev 25685
Add checkspace / fetchall feature for tazpkg
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Thu Mar 14 20:28:39 2024 +0000 (8 months ago) |
parents | 5d79829fa876 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="libidn"
4 VERSION="1.38"
5 CATEGORY="system-tools"
6 SHORT_DESC="Encode and decode internationalized domain names."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL3 LGPL2.1"
9 WEB_SITE="https://www.gnu.org/software/$PACKAGE/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
14 SUGGESTED="libidn-lang"
16 HOST_ARCH="i486 arm"
18 current_version()
19 {
20 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
21 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure $CONFIGURE_ARGS &&
28 make $MAKEFLAGS &&
29 make install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 cook_copy_folders bin
36 cook_copy_files *.so*
37 }