wok view libunibreak/receipt @ rev 25181
Up perl-log-log4perl (1.55)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jul 09 08:28:32 2022 +0000 (2022-07-09) |
parents | ea983d0c7e74 |
children | 5db546345599 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libunibreak"
4 VERSION="5.0"
5 CATEGORY="libs"
6 SHORT_DESC="Implementation of the line breaking algorithm."
7 MAINTAINER="maintainer@slitaz.org"
8 LICENSE="zlib/libpng"
9 WEB_SITE="https://github.com/adah1972/libunibreak/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/adah1972/libunibreak/releases/download/libunibreak_${VERSION//./_}/$TARBALL"
14 #SPLIT="$PACKAGE-dev"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/[a-z_]*\(.*\).tar.*|\1|;s|_|.|g;q'
21 }
23 compile_rules()
24 {
25 ./configure $CONFIGURE_ARGS &&
26 make &&
27 make install
28 }
30 genpkg_rules()
31 {
32 cook_copy_files *.so*
33 }