wok annotate libunistring/receipt @ rev 25697

dool: reduced size of package
author Hans-G?nter Theisgen
date Sun May 12 07:10:04 2024 +0100 (4 weeks ago)
parents 72ae4dc9e539
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@25609 16 # What is the latest version available today?
pascal@24072 17 current_version()
pascal@24072 18 {
pascal@25609 19 wget -O - https://ftp.gnu.org/gnu/$PACKAGE/ 2>/dev/null | \
pascal@24072 20 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24072 21 }
pascal@24072 22
al@19485 23 # Rules to configure and make the package.
al@19485 24 compile_rules()
al@19485 25 {
Hans-G?nter@21325 26 ./configure $CONFIGURE_ARGS &&
Hans-G?nter@24842 27 make &&
Hans-G?nter@21325 28 make install
al@19485 29 }
al@19485 30
al@19485 31 # Rules to gen a SliTaz package suitable for Tazpkg.
al@19485 32 genpkg_rules()
al@19485 33 {
Hans-G?nter@24842 34 cook_copy_files *.so*
al@19485 35 }