wok-current view libunistring/receipt @ rev 24776

jack1: added build dependency gcc83
author Hans-G?nter Theisgen
date Sat Mar 19 17:48:51 2022 +0100 (2022-03-19)
parents 3a8a6ad2c404
children 72ae4dc9e539
line source
1 # SliTaz package receipt.
3 PACKAGE="libunistring"
4 VERSION="0.9.10"
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 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 -j 1 &&
27 make install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 cook_copy_files *.so*
34 }