wok view libunistring/receipt @ rev 25636

ruby-dev: update deps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Dec 24 16:48:59 2023 +0000 (6 months ago)
parents 72ae4dc9e539
children
line source
1 # SliTaz package receipt.
3 PACKAGE="libunistring"
4 VERSION="1.0"
5 CATEGORY="libdevel"
6 SHORT_DESC="Unicode string library."
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL3 LGPL3 FDL"
9 WEB_SITE="https://www.gnu.org/software/libunistring/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
14 DEPENDS="glibc-base"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - https://ftp.gnu.org/gnu/$PACKAGE/ 2>/dev/null | \
20 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./configure $CONFIGURE_ARGS &&
27 make &&
28 make install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 cook_copy_files *.so*
35 }