wok-4.x diff xfprint/receipt @ rev 2212

Add dbus-python (used by hplip)
author Christophe Lincoln <pankso@slitaz.org>
date Wed Feb 11 17:31:38 2009 +0100 (2009-02-11)
parents
children 422f5813b998
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/xfprint/receipt	Wed Feb 11 17:31:38 2009 +0100
     1.3 @@ -0,0 +1,40 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="xfprint"
     1.7 +VERSION="4.4.3"
     1.8 +CATEGORY="x-window"
     1.9 +SHORT_DESC="Xfce Printer manager"
    1.10 +MAINTAINER="erjo@slitaz.org"
    1.11 +DEPENDS="libxfcegui4 libxfce4util libxfce4mcs xfce-mcs-manager cups"
    1.12 +BUILD_DEPENDS="libxfcegui4-dev libxfce4util-dev libxfce4mcs-dev xfce-mcs-manager-dev cups-dev"
    1.13 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.14 +WEB_SITE="http://www.xfce.org"
    1.15 +WGET_URL="http://www.p0llux.be/xfce/xfce-4.4.3/src/$TARBALL"
    1.16 +
    1.17 +# Rules to configure and make the package.
    1.18 +compile_rules()
    1.19 +{
    1.20 +	cd $src
    1.21 +	./configure --prefix=/usr \
    1.22 +		--infodir=/usr/share/info \
    1.23 +		--mandir=/usr/share/man $CONFIGURE_ARGS && \
    1.24 +	make && 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 +	
    1.32 +	cp -a $_pkg/usr/bin $fs/usr
    1.33 +	cp -a $_pkg/usr/lib $fs/usr
    1.34 +	
    1.35 +	# Remove unecessary files
    1.36 +	find $fs/ -name "*.*a" -exec rm -f {} \;
    1.37 +	rm -rf $fs/usr/lib/pkgconfig
    1.38 +	# Remove SVG icons
    1.39 +	rm -rf $fs/usr/share/icons/hicolor/scalable
    1.40 +		
    1.41 +		
    1.42 +}
    1.43 +