wok view libunistring/receipt @ rev 24970
created recipe for midori-lang
author | Hans-G?nter Theisgen |
---|---|
date | Tue Apr 26 14:49:30 2022 +0100 (2022-04-26) |
parents | 5d79829fa876 |
children | d79ed38ace18 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libunistring"
4 VERSION="1.0"
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 &&
27 make install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 cook_copy_files *.so*
34 }