# SliTaz package receipt. PACKAGE="hal-info" VERSION="20091130" CATEGORY="x-window" SHORT_DESC="hal sub-package that provides the hardware data and quirks." MAINTAINER="domcox@slitaz.org" LICENSE="GPL2 LGPL2.1" TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="https://www.freedesktop.org/wiki/Software/hal" WGET_URL="https://hal.freedesktop.org/releases/$TARBALL" DEPENDS="hal hal-extra" BUILD_DEPENDS="hal-dev pkg-config" # What is the latest version available today? current_version() { wget -O - ${WGET_URL%/*} 2>/dev/null | \ sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q } # Rules to configure and make the package. compile_rules() { cd $src ./configure \ --prefix=/usr \ --libexecdir=/usr/lib/hal \ --sysconfdir=/etc \ --localstatedir=/var \ --infodir=/usr/share/info \ --mandir=/usr/share/man \ --disable-recall \ $CONFIGURE_ARGS && make && make DESTDIR=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { cp -a $install/usr $fs/ }