wok annotate libunistring/receipt @ rev 24116

Add btfs (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 02 18:25:40 2021 +0000 (2021-10-02)
parents 3a8a6ad2c404
children 72ae4dc9e539
rev   line source
al@19485 1 # SliTaz package receipt.
al@19485 2
al@19485 3 PACKAGE="libunistring"
Hans-G?nter@21325 4 VERSION="0.9.10"
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@21325 26 make -j 1 &&
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 {
al@19485 33 cook_copy_files *.so*
al@19485 34 }