wok-6.x view hal-info/receipt @ rev 25499
Up whois (5.5.14)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Dec 22 13:03:20 2022 +0000 (2022-12-22) |
parents | af8d823a3077 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="hal-info"
4 VERSION="20091130"
5 CATEGORY="x-window"
6 SHORT_DESC="hal sub-package that provides the hardware data and quirks."
7 MAINTAINER="domcox@slitaz.org"
8 LICENSE="GPL2 LGPL2.1"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://www.freedesktop.org/wiki/Software/hal"
11 WGET_URL="https://hal.freedesktop.org/releases/$TARBALL"
13 DEPENDS="hal hal-extra"
14 BUILD_DEPENDS="hal-dev pkg-config"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - ${WGET_URL%/*} 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 ./configure \
28 --prefix=/usr \
29 --libexecdir=/usr/lib/hal \
30 --sysconfdir=/etc \
31 --localstatedir=/var \
32 --infodir=/usr/share/info \
33 --mandir=/usr/share/man \
34 --disable-recall \
35 $CONFIGURE_ARGS &&
36 make &&
37 make DESTDIR=$DESTDIR install
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 cp -a $install/usr $fs/
44 }