wok-6.x annotate liblouis/receipt @ rev 24461
updated daloradius (0.9-9 -> 1.1-2)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Feb 16 17:15:55 2022 +0100 (2022-02-16) |
parents | 0414f5096d7f |
children | 76fef350bd7e |
rev | line source |
---|---|
yuripourre@16967 | 1 # SliTaz package receipt. |
yuripourre@16967 | 2 |
yuripourre@16967 | 3 PACKAGE="liblouis" |
Hans-G?nter@23081 | 4 VERSION="3.13.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@20674 | 9 WEB_SITE="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@24055 | 18 current_version() |
pascal@24055 | 19 { |
pascal@24055 | 20 wget -O - ${WGET_URL%/down*} 2>/dev/null | \ |
pascal@24055 | 21 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' |
pascal@24055 | 22 } |
pascal@24055 | 23 |
yuripourre@16967 | 24 # Rules to configure and make the package. |
yuripourre@16967 | 25 compile_rules() |
yuripourre@16967 | 26 { |
Hans-G?nter@21248 | 27 ./configure \ |
Hans-G?nter@21248 | 28 --prefix=/usr \ |
Hans-G?nter@21248 | 29 --disable-static \ |
yuripourre@16967 | 30 $CONFIGURE_ARGS && |
Hans-G?nter@21248 | 31 make -j 1 && |
yuripourre@16967 | 32 make DESTDIR=$DESTDIR install |
yuripourre@16967 | 33 } |
yuripourre@16967 | 34 |
yuripourre@16967 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
yuripourre@16967 | 36 genpkg_rules() |
yuripourre@16967 | 37 { |
yuripourre@16967 | 38 mkdir -p $fs/usr/lib |
Hans-G?nter@21248 | 39 |
Hans-G?nter@21248 | 40 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@21248 | 41 cp -a $install/usr/share $fs/usr |
Hans-G?nter@21248 | 42 cp -a $install/usr/lib/*.so* $fs/usr/lib |
yuripourre@16967 | 43 } |