wok annotate hal-cups-utils/receipt @ rev 5926
slitaz-dev-tools: tazdev should keep file downloaded in compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 29 11:54:31 2010 +0200 (2010-07-29) |
parents | 226958e60b21 |
children | be13f25e790b |
rev | line source |
---|---|
jozee@4566 | 1 # SliTaz package receipt. |
jozee@4566 | 2 |
jozee@4566 | 3 PACKAGE="hal-cups-utils" |
jozee@4566 | 4 VERSION="0.6.19" |
jozee@4566 | 5 CATEGORY="system-tools" |
jozee@4566 | 6 MAINTAINER="jozee@slitaz.org" |
jozee@4566 | 7 SHORT_DESC="Cups backend/utils to browse and configure using HAL UDIs" |
pascal@5002 | 8 DEPENDS="hal dbus cups" |
jozee@4566 | 9 BUILD_DEPENDS=" hal-dev dbus-dev " |
jozee@4566 | 10 WEB_SITE="http://packages.ubuntu.com/jaunty/hal-cups-utils" |
jozee@4566 | 11 TARBALL="${PACKAGE}_${VERSION}+git20090217.orig.tar.gz" |
jozee@4566 | 12 WGET_URL="http://archive.ubuntu.com/ubuntu/pool/main/h/$PACKAGE/$TARBALL" |
jozee@4566 | 13 TAGS="" |
jozee@4566 | 14 |
jozee@4566 | 15 # Rules to configure and make the package. |
jozee@4566 | 16 |
jozee@4566 | 17 compile_rules() { |
jozee@4566 | 18 cd $WOK/$PACKAGE/$PACKAGE |
pascal@5002 | 19 ./configure --prefix=/usr --libexecdir=/usr/lib/hal/scripts/ && |
pascal@5002 | 20 make && |
jozee@4566 | 21 make DESTDIR=$PWD/_pkg install |
jozee@4566 | 22 } |
jozee@4566 | 23 |
jozee@4566 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@4566 | 25 genpkg_rules() |
jozee@4566 | 26 { |
jozee@4566 | 27 mkdir -p $fs/usr |
jozee@4566 | 28 _pkg="$WOK/$PACKAGE/$PACKAGE/_pkg" |
jozee@4566 | 29 cp -a $_pkg/usr/lib $fs/usr |
jozee@4566 | 30 cp -a $_pkg/usr/share $fs/usr |
jozee@4566 | 31 |
jozee@4566 | 32 } |