wok view xfprint/receipt @ rev 4151

Add xz
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Sep 21 08:59:53 2009 +0200 (2009-09-21)
parents 422f5813b998
children 1b2b3994fe1e
line source
1 # SliTaz package receipt.
3 PACKAGE="xfprint"
4 VERSION="4.6.1"
5 CATEGORY="x-window"
6 SHORT_DESC="Xfce Printer manager"
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="libxfcegui4 libxfce4util cups"
9 BUILD_DEPENDS="libxfcegui4-dev libxfce4util-dev cups-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://www.xfce.org"
12 WGET_URL="http://www.p0llux.be/xfce/xfce-$VERSION/src/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --prefix=/usr \
19 --infodir=/usr/share/info \
20 --mandir=/usr/share/man $CONFIGURE_ARGS && \
21 make && 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
29 cp -a $_pkg/usr/bin $fs/usr
30 cp -a $_pkg/usr/lib $fs/usr
32 # Remove unecessary files
33 find $fs/ -name "*.*a" -exec rm -f {} \;
34 rm -rf $fs/usr/lib/pkgconfig
35 # Remove SVG icons
36 rm -rf $fs/usr/share/icons/hicolor/scalable
39 }