wok view liblouis/receipt @ rev 24894

Update some web_site
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Apr 08 10:34:41 2022 +0000 (2022-04-08)
parents 5ea0ce1cecc0
children 7f7bd3c9775e
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="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 }