wok-current annotate libacpi/receipt @ rev 24806

updated libmicrohttpd and libmicrohttpd-dev (0.9.70 -> 0.9.75)
author Hans-G?nter Theisgen
date Tue Mar 22 14:15:13 2022 +0100 (2022-03-22)
parents 6c3718ca17b6
children
rev   line source
pascal@13728 1 # SliTaz package receipt.
pascal@13728 2
pascal@13728 3 PACKAGE="libacpi"
pascal@13728 4 VERSION="0.2"
pascal@13728 5 CATEGORY="misc"
pascal@13728 6 SHORT_DESC="General purpose library for ACPI."
pascal@13728 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15472 8 LICENSE="MIT"
pascal@13728 9 WEB_SITE="http://www.ngolde.de/libacpi.html"
pascal@13728 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@13728 11 WGET_URL="http://www.ngolde.de/download/$TARBALL"
pascal@13728 12
pascal@13728 13 DEPENDS=""
pascal@13728 14 BUILD_DEPENDS=""
pascal@13728 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
pascal@13728 23 # Rules to configure and make the package.
pascal@13728 24 compile_rules()
pascal@13728 25 {
pascal@13728 26 cd $src
pascal@13728 27 sed -i 's|/local||' config.mk
pascal@13728 28 make && make DESTDIR=$DESTDIR install
pascal@13728 29 }
pascal@13728 30
pascal@13728 31 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@13728 32 genpkg_rules()
pascal@13728 33 {
pascal@13728 34 mkdir -p $fs/usr/lib
pascal@13728 35 cp -a $install/usr/lib/*so* $fs/usr/lib
pascal@13728 36 }