wok-6.x annotate libunistring/receipt @ rev 24842
updated libunistring and libunistring-dev (0.9.10 -> 1.0)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Mar 25 09:45:42 2022 +0100 (2022-03-25) |
parents | 5d79829fa876 |
children |
rev | line source |
---|---|
al@19485 | 1 # SliTaz package receipt. |
al@19485 | 2 |
al@19485 | 3 PACKAGE="libunistring" |
Hans-G?nter@24842 | 4 VERSION="1.0" |
al@19485 | 5 CATEGORY="libdevel" |
Hans-G?nter@21325 | 6 SHORT_DESC="Unicode string library." |
al@19485 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@19485 | 8 LICENSE="GPL3 LGPL3 FDL" |
al@19485 | 9 WEB_SITE="https://www.gnu.org/software/libunistring/" |
Hans-G?nter@21325 | 10 |
al@19485 | 11 TARBALL="$PACKAGE-$VERSION.tar.xz" |
al@19485 | 12 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" |
al@19485 | 13 |
al@19485 | 14 DEPENDS="glibc-base" |
al@19485 | 15 |
pascal@24072 | 16 current_version() |
pascal@24072 | 17 { |
pascal@24072 | 18 wget -O - $(dirname $WGET_URL) 2>/dev/null | \ |
pascal@24072 | 19 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24072 | 20 } |
pascal@24072 | 21 |
al@19485 | 22 # Rules to configure and make the package. |
al@19485 | 23 compile_rules() |
al@19485 | 24 { |
Hans-G?nter@21325 | 25 ./configure $CONFIGURE_ARGS && |
Hans-G?nter@24842 | 26 make && |
Hans-G?nter@21325 | 27 make install |
al@19485 | 28 } |
al@19485 | 29 |
al@19485 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@19485 | 31 genpkg_rules() |
al@19485 | 32 { |
Hans-G?nter@24842 | 33 cook_copy_files *.so* |
al@19485 | 34 } |