wok rev 4566

Add hal-cup-utils
author Rohit Joshi <jozee@slitaz.org>
date Mon Dec 07 12:32:59 2009 +0000 (2009-12-07)
parents 449135e8deae
children 2c916d19f52a
files hal-cups-utils/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/hal-cups-utils/receipt	Mon Dec 07 12:32:59 2009 +0000
     1.3 @@ -0,0 +1,32 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="hal-cups-utils"
     1.7 +VERSION="0.6.19"
     1.8 +CATEGORY="system-tools"
     1.9 +MAINTAINER="jozee@slitaz.org"
    1.10 +SHORT_DESC="Cups backend/utils to browse and configure using HAL UDIs"
    1.11 +DEPENDS="hal dbus"
    1.12 +BUILD_DEPENDS=" hal-dev  dbus-dev "
    1.13 +WEB_SITE="http://packages.ubuntu.com/jaunty/hal-cups-utils"
    1.14 +TARBALL="${PACKAGE}_${VERSION}+git20090217.orig.tar.gz"
    1.15 +WGET_URL="http://archive.ubuntu.com/ubuntu/pool/main/h/$PACKAGE/$TARBALL"
    1.16 +TAGS=""
    1.17 +
    1.18 +# Rules to configure and make the package.
    1.19 +
    1.20 +compile_rules() {
    1.21 +  cd $WOK/$PACKAGE/$PACKAGE
    1.22 +  ./configure --prefix=/usr --libexecdir=/usr/lib/hal/scripts/
    1.23 +  make 
    1.24 +  make DESTDIR=$PWD/_pkg install
    1.25 +}
    1.26 +	
    1.27 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.28 +genpkg_rules()
    1.29 +{
    1.30 +	mkdir -p $fs/usr
    1.31 +	_pkg="$WOK/$PACKAGE/$PACKAGE/_pkg"
    1.32 +	cp -a $_pkg/usr/lib $fs/usr
    1.33 +	cp -a $_pkg/usr/share $fs/usr
    1.34 +	
    1.35 +}