wok-current view hal-info/receipt @ rev 24851
updated libxdg-basedir and libxdg-basedir-dev (1.2.0 -> 1.2.3)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Mar 26 10:49:19 2022 +0100 (2022-03-26) |
parents | c86e41198e76 |
children | ea7c7014b421 |
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="http://www.freedesktop.org/wiki/Software/hal"
11 WGET_URL="http://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 }