wok view libidn/receipt @ rev 24156
updated cmake (3.15.5 -> 3.22.0)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Dec 08 09:15:20 2021 +0100 (2021-12-08) |
parents | bd3e2cbc0ec4 |
children | 47332d4af699 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libidn"
4 VERSION="1.35"
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 HOST_ARCH="i486 arm"
16 current_version()
17 {
18 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
19 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 ./configure $CONFIGURE_ARGS &&
26 make $MAKEFLAGS -j 1 &&
27 make install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib
35 cp -a $install/usr/bin $fs/usr
36 cp -a $install/usr/lib/*.so* $fs/usr/lib
37 }