wok annotate liblouis/receipt @ rev 25669

Up lapack (3.12.0), less (633), libarchive (3.7.2), liblouis (3.28.0), libmicrohttpd (1.0.1), libpng (1.6.43), libssh (0.10.6), libtasn1 (4.19.0), libtirpc (1.3.4), libvpx (1.14.0), libwebp (1.3.2), logrotate (3.21.0), lua (5.4.6)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 25 16:11:20 2024 +0000 (4 months ago)
parents 7364ffdaaa60
children
rev   line source
yuripourre@16967 1 # SliTaz package receipt.
yuripourre@16967 2
yuripourre@16967 3 PACKAGE="liblouis"
pascal@25669 4 VERSION="3.28.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@25504 9 WEB_SITE="https://web.archive.org/web/20221220101611/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@25600 18 # What is the latest version available today?
pascal@24055 19 current_version()
pascal@24055 20 {
pascal@24055 21 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
pascal@25600 22 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
pascal@24055 23 }
pascal@24055 24
yuripourre@16967 25 # Rules to configure and make the package.
yuripourre@16967 26 compile_rules()
yuripourre@16967 27 {
Hans-G?nter@21248 28 ./configure \
Hans-G?nter@21248 29 --prefix=/usr \
Hans-G?nter@21248 30 --disable-static \
yuripourre@16967 31 $CONFIGURE_ARGS &&
Hans-G?nter@24804 32 make &&
Hans-G?nter@24804 33 make install DESTDIR=$DESTDIR
yuripourre@16967 34 }
yuripourre@16967 35
yuripourre@16967 36 # Rules to gen a SliTaz package suitable for Tazpkg.
yuripourre@16967 37 genpkg_rules()
yuripourre@16967 38 {
Hans-G?nter@24804 39 cook_copy_folders bin
Hans-G?nter@24804 40 cook_copy_folders share
Hans-G?nter@24804 41 cook_copy_files *.so*
yuripourre@16967 42 }