wok annotate liblouis/receipt @ rev 25615

Add libslirp (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Aug 03 12:03:26 2023 +0000 (15 months ago)
parents 7f7bd3c9775e
children 7a8b9cd09212
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@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 }