wok-current view libxfcegui4/receipt @ rev 3000

slim: Fix pre_install func to backup config file (Thanks firmit)
author Christophe Lincoln <pankso@slitaz.org>
date Mon May 11 21:44:31 2009 +0200 (2009-05-11)
parents a714cd6d9d90
children 4666cb462d9c
line source
1 # SliTaz package receipt.
3 PACKAGE="libxfcegui4"
4 VERSION="4.4.3"
5 CATEGORY="x-window"
6 SHORT_DESC="Xfce Gtk Widget library"
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="gtk+ libxfce4util startup-notification xorg-libXdamage"
9 BUILD_DEPENDS="gtk+-dev libxfce4util-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://www.xfce.org"
12 WGET_URL="http://www.p0llux.be/xfce/xfce-4.4.3/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 &&
22 make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
29 mkdir -p $fs/usr/lib \
30 $fs/usr/share/locale
32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
33 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
34 cp -a $_pkg/usr/share/icons $fs/usr/share
36 # Remove SVG icons
37 rm -rf $fs/usr/share/icons/hicolor/scalable
39 }