wok view libestr/receipt @ rev 24651
updated i2c-tools and i2c-tools-dev (4.1 -> 4.3)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Mar 10 17:14:42 2022 +0100 (2022-03-10) |
parents | 2ef718547108 |
children | e1e1678c5265 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libestr"
4 VERSION="0.1.11"
5 CATEGORY="system-tools"
6 SHORT_DESC="Some essentials for string handling."
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="LGPL2"
9 WEB_SITE="https://libestr.adiscon.com/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://libestr.adiscon.com/files/download/$TARBALL"
14 # What is the latest version available today?
15 current_version()
16 {
17 wget -O - $WEB_SITE 2>/dev/null | \
18 sed "/latest/d;/$PACKAGE-[0-9]/!d;s|.*$PACKAGE-||;s|/.*||;s|-|.|g" | sort -Vr | sed q
19 }
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 ./configure $CONFIGURE_ARGS &&
25 make -j 1 &&
26 make install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib
33 cp -a $install/usr/lib/*.so* $fs/usr/lib
34 }