wok-current view liblouis/receipt @ rev 25504

Update some web_site / wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 05 09:28:51 2023 +0000 (22 months ago)
parents 76fef350bd7e
children 5926178cd6fa
line source
1 # SliTaz package receipt.
3 PACKAGE="liblouis"
4 VERSION="3.21.0"
5 CATEGORY="utilities"
6 LICENSE="GPL3"
7 SHORT_DESC="Open-source braille translator and back-translator."
8 MAINTAINER="yuripourre@gmail.com"
9 WEB_SITE="https://web.archive.org/web/20221220101611/http://liblouis.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/$PACKAGE/$PACKAGE/releases/download/v$VERSION/$TARBALL"
14 SUGGESTED="help2man"
15 DEPENDS="glibc"
16 BUILD_DEPENDS="python-dev"
18 current_version()
19 {
20 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure \
28 --prefix=/usr \
29 --disable-static \
30 $CONFIGURE_ARGS &&
31 make &&
32 make install DESTDIR=$DESTDIR
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 cook_copy_folders bin
39 cook_copy_folders share
40 cook_copy_files *.so*
41 }