wok-current view libunistring/receipt @ rev 24149
gcc: remove obsolete gawk comment
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Sat Nov 27 15:12:31 2021 -0500 (2021-11-27) |
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 }