wok annotate liblouis/receipt @ rev 25298
updated scrot (0.8-12 -> 1.7)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jul 20 07:03:07 2022 +0100 (2022-07-20) |
parents | 5ea0ce1cecc0 |
children | 7f7bd3c9775e |
rev | line source |
---|---|
yuripourre@16967 | 1 # SliTaz package receipt. |
yuripourre@16967 | 2 |
yuripourre@16967 | 3 PACKAGE="liblouis" |
Hans-G?nter@24804 | 4 VERSION="3.21.0" |
yuripourre@16967 | 5 CATEGORY="utilities" |
yuripourre@16967 | 6 LICENSE="GPL3" |
yuripourre@16967 | 7 SHORT_DESC="Open-source braille translator and back-translator." |
yuripourre@16967 | 8 MAINTAINER="yuripourre@gmail.com" |
pascal@20674 | 9 WEB_SITE="http://liblouis.org/" |
Hans-G?nter@21248 | 10 |
Hans-G?nter@21248 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@21248 | 12 WGET_URL="https://github.com/$PACKAGE/$PACKAGE/releases/download/v$VERSION/$TARBALL" |
yuripourre@16967 | 13 |
Hans-G?nter@23081 | 14 SUGGESTED="help2man" |
yuripourre@16967 | 15 DEPENDS="glibc" |
yuripourre@16967 | 16 BUILD_DEPENDS="python-dev" |
yuripourre@16967 | 17 |
pascal@24055 | 18 current_version() |
pascal@24055 | 19 { |
pascal@24055 | 20 wget -O - ${WGET_URL%/down*} 2>/dev/null | \ |
pascal@24055 | 21 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' |
pascal@24055 | 22 } |
pascal@24055 | 23 |
yuripourre@16967 | 24 # Rules to configure and make the package. |
yuripourre@16967 | 25 compile_rules() |
yuripourre@16967 | 26 { |
Hans-G?nter@21248 | 27 ./configure \ |
Hans-G?nter@21248 | 28 --prefix=/usr \ |
Hans-G?nter@21248 | 29 --disable-static \ |
yuripourre@16967 | 30 $CONFIGURE_ARGS && |
Hans-G?nter@24804 | 31 make && |
Hans-G?nter@24804 | 32 make install DESTDIR=$DESTDIR |
yuripourre@16967 | 33 } |
yuripourre@16967 | 34 |
yuripourre@16967 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
yuripourre@16967 | 36 genpkg_rules() |
yuripourre@16967 | 37 { |
Hans-G?nter@24804 | 38 cook_copy_folders bin |
Hans-G?nter@24804 | 39 cook_copy_folders share |
Hans-G?nter@24804 | 40 cook_copy_files *.so* |
yuripourre@16967 | 41 } |