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