wok annotate hal-info/receipt @ rev 6048
tazbb: do not crash with removed packages
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Aug 17 12:45:19 2010 +0200 (2010-08-17) |
parents | 178af875768f |
children | de49f29b101e |
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" |
domcox@2654 | 6 SHORT_DESC="hal sub-package that provides the hardware data and quirks. " |
domcox@2654 | 7 MAINTAINER="domcox@slitaz.org" |
domcox@2654 | 8 DEPENDS="hal hal-extra" |
domcox@2654 | 9 BUILD_DEPENDS="hal-dev pkg-config" |
domcox@2654 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
domcox@2654 | 11 WEB_SITE="http://www.freedesktop.org/wiki/Software/hal" |
domcox@2654 | 12 WGET_URL="http://hal.freedesktop.org/releases/$TARBALL" |
domcox@2654 | 13 |
domcox@2654 | 14 # Rules to configure and make the package. |
domcox@2654 | 15 compile_rules() |
domcox@2654 | 16 { |
domcox@2654 | 17 cd $src |
domcox@2654 | 18 ./configure \ |
domcox@2654 | 19 --prefix=/usr \ |
domcox@2654 | 20 --libexecdir=/usr/lib/hal \ |
domcox@2654 | 21 --sysconfdir=/etc \ |
domcox@2654 | 22 --localstatedir=/var \ |
domcox@2654 | 23 --infodir=/usr/share/info \ |
domcox@2654 | 24 --mandir=/usr/share/man \ |
domcox@2654 | 25 --disable-recall \ |
domcox@2654 | 26 $CONFIGURE_ARGS && |
domcox@2654 | 27 make && |
domcox@2654 | 28 make DESTDIR=$PWD/_pkg install |
domcox@2654 | 29 } |
domcox@2654 | 30 |
domcox@2654 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
domcox@2654 | 32 genpkg_rules() |
domcox@2654 | 33 { |
domcox@2654 | 34 cp -a $_pkg/usr $fs/ |
domcox@2654 | 35 } |