wok view libacpi/receipt @ rev 24922
updated mpfr and mpfr-dev (4.0.2 -> 4.1.0)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Apr 11 07:23:35 2022 +0100 (2022-04-11) |
parents | 6c3718ca17b6 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="libacpi"
4 VERSION="0.2"
5 CATEGORY="misc"
6 SHORT_DESC="General purpose library for ACPI."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="http://www.ngolde.de/libacpi.html"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="http://www.ngolde.de/download/$TARBALL"
13 DEPENDS=""
14 BUILD_DEPENDS=""
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 sed -i 's|/local||' config.mk
28 make && make DESTDIR=$DESTDIR 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 }