wok view libunibreak/receipt @ rev 25561

created recipe for ext4magic
author Hans-G?nter Theisgen
date Sun Apr 30 06:26:09 2023 +0100 (18 months ago)
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 }