wok-current annotate 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
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"
domcox@2654 10 WEB_SITE="http://www.freedesktop.org/wiki/Software/hal"
domcox@2654 11 WGET_URL="http://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 }