wok-6.x annotate liblognorm/receipt @ rev 25193
updated python-genshi (0.7.3 -> 0.7.5)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jul 13 10:42:47 2022 +0100 (2022-07-13) |
parents | ede1d184d5c5 |
children |
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" |
pascal@24974 | 11 WGET_URL="https://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 } |