wok-6.x annotate hal-cups-utils/receipt @ rev 19106

rpm: bug fix (rpm -E '%{_tmppath}')
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu May 05 13:16:00 2016 +0200 (2016-05-05)
parents 7774e5026029
children a78610b2eb47
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"
pascal@15002 7 LICENSE="GPL2"
jozee@4566 8 SHORT_DESC="Cups backend/utils to browse and configure using HAL UDIs"
jozee@4566 9 WEB_SITE="http://packages.ubuntu.com/jaunty/hal-cups-utils"
pascal@12874 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@12874 11 WGET_URL="https://fedorahosted.org/releases/h/a/$PACKAGE/$TARBALL"
jozee@4566 12 TAGS=""
jozee@4566 13
pankso@10441 14 DEPENDS="hal dbus dbus-glib cups"
pascal@12874 15 BUILD_DEPENDS="hal-dev dbus-dev dbus-glib-dev cups-dev wget"
pankso@10441 16
jozee@4566 17 # Rules to configure and make the package.
jozee@4566 18
jozee@4566 19 compile_rules() {
pankso@10441 20 cd $src
pankso@10441 21 ./configure \
pankso@10441 22 --libexecdir=/usr/lib/hal/scripts/ &&
pankso@10441 23 make && make install
jozee@4566 24 }
jozee@4566 25
jozee@4566 26 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@4566 27 genpkg_rules()
jozee@4566 28 {
jozee@4566 29 mkdir -p $fs/usr
pascal@15002 30 cp -a $install/usr/lib $fs/usr
pascal@15002 31 cp -a $install/usr/share $fs/usr
jozee@4566 32 }