wok annotate libunibreak/receipt @ rev 25759
ristretto: added mkdir command
author | Hans-G?nter Theisgen |
---|---|
date | Sun Sep 01 14:55:10 2024 +0100 (7 weeks ago) |
parents | 909b36547bf2 |
children |
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@25603 | 20 sed '/tag\//!d;s|.*tag/[a-z_]*||;s|".*||;s|_|.|g;q' |
pascal@24844 | 21 } |
pascal@24844 | 22 |
pascal@25603 | 23 # Rules to configure and make the package. |
Hans-G?nter@24840 | 24 compile_rules() |
Hans-G?nter@24840 | 25 { |
Hans-G?nter@24840 | 26 ./configure $CONFIGURE_ARGS && |
Hans-G?nter@24840 | 27 make && |
Hans-G?nter@24840 | 28 make install |
Hans-G?nter@24840 | 29 } |
Hans-G?nter@24840 | 30 |
pascal@25603 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
Hans-G?nter@24840 | 32 genpkg_rules() |
Hans-G?nter@24840 | 33 { |
Hans-G?nter@24840 | 34 cook_copy_files *.so* |
Hans-G?nter@24840 | 35 } |