wok-6.x view xfprint/receipt @ rev 4493

Up: amsn (0.98.1)
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Wed Nov 18 22:02:57 2009 +0000 (2009-11-18)
parents cea60f3ae093
children 413b0174114a
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="$WEB_SITE/archive/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 }