wok view liblouis/receipt @ rev 25794
created recipe for exo-lang
author | Hans-G?nter Theisgen |
---|---|
date | Wed Oct 23 16:19:52 2024 +0100 (4 weeks ago) |
parents | 7364ffdaaa60 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="liblouis"
4 VERSION="3.28.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 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
22 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./configure \
29 --prefix=/usr \
30 --disable-static \
31 $CONFIGURE_ARGS &&
32 make &&
33 make install DESTDIR=$DESTDIR
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 cook_copy_folders bin
40 cook_copy_folders share
41 cook_copy_files *.so*
42 }