wok-current view liblouis/receipt @ rev 24224
updated perl-io-socket-inet6 (2.72 -> 2.73)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Dec 31 17:33:39 2021 +0100 (2021-12-31) |
parents | 0414f5096d7f |
children | 76fef350bd7e |
line source
1 # SliTaz package receipt.
3 PACKAGE="liblouis"
4 VERSION="3.13.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 -j 1 &&
32 make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/lib
40 cp -a $install/usr/bin $fs/usr
41 cp -a $install/usr/share $fs/usr
42 cp -a $install/usr/lib/*.so* $fs/usr/lib
43 }