wok annotate libunibreak/receipt @ rev 25523
created recipes for libvterm and libvterm-dev 0.3
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 24 17:17:00 2023 +0100 (21 months ago) |
parents | ea983d0c7e74 |
children | 5db546345599 |
rev | line source |
---|---|
Hans-G?nter@24840 | 1 # SliTaz package receipt. |
Hans-G?nter@24840 | 2 |
Hans-G?nter@24840 | 3 PACKAGE="libunibreak" |
Hans-G?nter@24840 | 4 VERSION="5.0" |
Hans-G?nter@24840 | 5 CATEGORY="libs" |
Hans-G?nter@24840 | 6 SHORT_DESC="Implementation of the line breaking algorithm." |
Hans-G?nter@24840 | 7 MAINTAINER="maintainer@slitaz.org" |
Hans-G?nter@24840 | 8 LICENSE="zlib/libpng" |
Hans-G?nter@24840 | 9 WEB_SITE="https://github.com/adah1972/libunibreak/" |
Hans-G?nter@24840 | 10 |
Hans-G?nter@24840 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@24840 | 12 WGET_URL="https://github.com/adah1972/libunibreak/releases/download/libunibreak_${VERSION//./_}/$TARBALL" |
Hans-G?nter@24840 | 13 |
Hans-G?nter@24840 | 14 #SPLIT="$PACKAGE-dev" |
Hans-G?nter@24840 | 15 |
pascal@24844 | 16 # What is the latest version available today? |
pascal@24844 | 17 current_version() |
pascal@24844 | 18 { |
pascal@24844 | 19 wget -O - ${WGET_URL%/down*} 2>/dev/null | \ |
pascal@24844 | 20 sed '/archive.*tar/!d;s|.*/[a-z_]*\(.*\).tar.*|\1|;s|_|.|g;q' |
pascal@24844 | 21 } |
pascal@24844 | 22 |
Hans-G?nter@24840 | 23 compile_rules() |
Hans-G?nter@24840 | 24 { |
Hans-G?nter@24840 | 25 ./configure $CONFIGURE_ARGS && |
Hans-G?nter@24840 | 26 make && |
Hans-G?nter@24840 | 27 make install |
Hans-G?nter@24840 | 28 } |
Hans-G?nter@24840 | 29 |
Hans-G?nter@24840 | 30 genpkg_rules() |
Hans-G?nter@24840 | 31 { |
Hans-G?nter@24840 | 32 cook_copy_files *.so* |
Hans-G?nter@24840 | 33 } |