wok-stable view xfprint/receipt @ rev 3104
Add util-linux-ng (blkid, cfdisk, partx, etc)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun May 17 23:49:40 2009 +0200 (2009-05-17) |
parents | 62c9d38f56c0 |
children | cea60f3ae093 |
line source
1 # SliTaz package receipt.
3 PACKAGE="xfprint"
4 VERSION="4.4.3"
5 CATEGORY="x-window"
6 SHORT_DESC="Xfce Printer manager"
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="libxfcegui4 libxfce4util libxfce4mcs xfce-mcs-manager cups \
9 xorg-libXdamage"
10 BUILD_DEPENDS="libxfcegui4-dev libxfce4util-dev libxfce4mcs-dev xfce-mcs-manager-dev cups-dev"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WEB_SITE="http://www.xfce.org"
13 WGET_URL="http://www.p0llux.be/xfce/xfce-4.4.3/src/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure --prefix=/usr \
20 --infodir=/usr/share/info \
21 --mandir=/usr/share/man $CONFIGURE_ARGS && \
22 make && make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
30 cp -a $_pkg/usr/bin $fs/usr
31 cp -a $_pkg/usr/lib $fs/usr
33 # Remove unecessary files
34 find $fs/ -name "*.*a" -exec rm -f {} \;
35 rm -rf $fs/usr/lib/pkgconfig
36 # Remove SVG icons
37 rm -rf $fs/usr/share/icons/hicolor/scalable
40 }