wok annotate liblognorm/receipt @ rev 24695
advancecomp: CVE-2019-8383 & CVE-2019-9210
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Mar 13 15:13:28 2022 +0000 (2022-03-13) |
parents | 364099c9aff2 |
children | e1e1678c5265 |
rev | line source |
---|---|
erjo@11416 | 1 # SliTaz package receipt. |
erjo@11416 | 2 |
erjo@11416 | 3 PACKAGE="liblognorm" |
pascal@15151 | 4 VERSION="0.3.7" |
erjo@11416 | 5 CATEGORY="system-tools" |
al@20422 | 6 SHORT_DESC="A log normalization library." |
erjo@11416 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@15151 | 8 LICENSE="LGPL2.1" |
pascal@21145 | 9 WEB_SITE="https://www.liblognorm.com/download/" |
erjo@11416 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
erjo@11416 | 11 WGET_URL="http://www.liblognorm.com/files/download/$TARBALL" |
erjo@11416 | 12 |
erjo@11416 | 13 DEPENDS="libee libestr" |
pascal@15117 | 14 BUILD_DEPENDS="libestr-dev libee-dev automake" |
erjo@11416 | 15 |
pascal@24447 | 16 # What is the latest version available today? |
pascal@24447 | 17 current_version() |
pascal@24447 | 18 { |
pascal@24447 | 19 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24447 | 20 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q |
pascal@24447 | 21 } |
pascal@24447 | 22 |
erjo@11416 | 23 # Rules to configure and make the package. |
erjo@11416 | 24 compile_rules() |
erjo@11416 | 25 { |
slaxemulator@11421 | 26 cd $src |
erjo@11416 | 27 patch -p 1 < $stuff/liblognorm-build-fix.patch |
erjo@11416 | 28 ./configure $CONFIGURE_ARGS && make && make install |
erjo@11416 | 29 } |
erjo@11416 | 30 |
erjo@11416 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@11416 | 32 genpkg_rules() |
erjo@11416 | 33 { |
erjo@11416 | 34 mkdir -p $fs/usr/lib |
erjo@11416 | 35 cp -a $install/usr/lib/*.so* $fs/usr/lib |
erjo@11416 | 36 cp -a $install/usr/bin $fs/usr |
erjo@11416 | 37 |
erjo@11416 | 38 } |