wok-6.x view hal-cups-utils/receipt @ rev 8504

gcc+gcj: remove build dir after packing files, don't exit but return
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sat Feb 12 02:18:58 2011 +0100 (2011-02-12)
parents 226958e60b21
children be13f25e790b
line source
1 # SliTaz package receipt.
3 PACKAGE="hal-cups-utils"
4 VERSION="0.6.19"
5 CATEGORY="system-tools"
6 MAINTAINER="jozee@slitaz.org"
7 SHORT_DESC="Cups backend/utils to browse and configure using HAL UDIs"
8 DEPENDS="hal dbus cups"
9 BUILD_DEPENDS=" hal-dev dbus-dev "
10 WEB_SITE="http://packages.ubuntu.com/jaunty/hal-cups-utils"
11 TARBALL="${PACKAGE}_${VERSION}+git20090217.orig.tar.gz"
12 WGET_URL="http://archive.ubuntu.com/ubuntu/pool/main/h/$PACKAGE/$TARBALL"
13 TAGS=""
15 # Rules to configure and make the package.
17 compile_rules() {
18 cd $WOK/$PACKAGE/$PACKAGE
19 ./configure --prefix=/usr --libexecdir=/usr/lib/hal/scripts/ &&
20 make &&
21 make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr
28 _pkg="$WOK/$PACKAGE/$PACKAGE/_pkg"
29 cp -a $_pkg/usr/lib $fs/usr
30 cp -a $_pkg/usr/share $fs/usr
32 }