wok view liblognorm/receipt @ rev 24653

updated i3status (2.7 -> 2.14)
author Hans-G?nter Theisgen
date Fri Mar 11 06:45:15 2022 +0100 (2022-03-11)
parents 364099c9aff2
children e1e1678c5265
line source
1 # SliTaz package receipt.
3 PACKAGE="liblognorm"
4 VERSION="0.3.7"
5 CATEGORY="system-tools"
6 SHORT_DESC="A log normalization library."
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://www.liblognorm.com/download/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="http://www.liblognorm.com/files/download/$TARBALL"
13 DEPENDS="libee libestr"
14 BUILD_DEPENDS="libestr-dev libee-dev automake"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - $WEB_SITE 2>/dev/null | \
20 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 cd $src
27 patch -p 1 < $stuff/liblognorm-build-fix.patch
28 ./configure $CONFIGURE_ARGS && make && make install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib
35 cp -a $install/usr/lib/*.so* $fs/usr/lib
36 cp -a $install/usr/bin $fs/usr
38 }