wok annotate hal-info/receipt @ rev 25632

Up gtklife (5.3)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Dec 23 14:06:29 2023 +0000 (11 months ago)
parents af8d823a3077
children
rev   line source
domcox@2654 1 # SliTaz package receipt.
domcox@2654 2
domcox@2654 3 PACKAGE="hal-info"
domcox@5316 4 VERSION="20091130"
domcox@2654 5 CATEGORY="x-window"
al@20422 6 SHORT_DESC="hal sub-package that provides the hardware data and quirks."
domcox@2654 7 MAINTAINER="domcox@slitaz.org"
pascal@15600 8 LICENSE="GPL2 LGPL2.1"
domcox@2654 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@25060 10 WEB_SITE="https://www.freedesktop.org/wiki/Software/hal"
pascal@25060 11 WGET_URL="https://hal.freedesktop.org/releases/$TARBALL"
domcox@2654 12
pascal@15600 13 DEPENDS="hal hal-extra"
pascal@15600 14 BUILD_DEPENDS="hal-dev pkg-config"
pascal@15600 15
pascal@24445 16 # What is the latest version available today?
pascal@24445 17 current_version()
pascal@24445 18 {
pascal@24445 19 wget -O - ${WGET_URL%/*} 2>/dev/null | \
pascal@24445 20 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
pascal@24445 21 }
pascal@24445 22
domcox@2654 23 # Rules to configure and make the package.
domcox@2654 24 compile_rules()
domcox@2654 25 {
domcox@2654 26 cd $src
domcox@2654 27 ./configure \
domcox@2654 28 --prefix=/usr \
domcox@2654 29 --libexecdir=/usr/lib/hal \
domcox@2654 30 --sysconfdir=/etc \
domcox@2654 31 --localstatedir=/var \
domcox@2654 32 --infodir=/usr/share/info \
domcox@2654 33 --mandir=/usr/share/man \
domcox@2654 34 --disable-recall \
domcox@2654 35 $CONFIGURE_ARGS &&
domcox@2654 36 make &&
pascal@15600 37 make DESTDIR=$DESTDIR install
domcox@2654 38 }
domcox@2654 39
domcox@2654 40 # Rules to gen a SliTaz package suitable for Tazpkg.
domcox@2654 41 genpkg_rules()
domcox@2654 42 {
pascal@15600 43 cp -a $install/usr $fs/
domcox@2654 44 }