wok-6.x annotate hal-cups-utils/receipt @ rev 9717
slitaz-toolchain: Let create a new toolchain in one command for cookutils
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon May 09 01:35:10 2011 +0200 (2011-05-09) |
parents | be13f25e790b |
children | a9ae9905e1b7 |
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() { |
pascal@9124 | 18 cd $src |
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 cp -a $_pkg/usr/lib $fs/usr |
jozee@4566 | 29 cp -a $_pkg/usr/share $fs/usr |
jozee@4566 | 30 |
jozee@4566 | 31 } |