wok-4.x view xfdesktop/receipt @ rev 10031
glibc: make it cross compilable
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri May 20 02:51:43 2011 +0200 (2011-05-20) |
parents | 0cdfcdc0e0e0 |
children | 4deb3cebf3be |
line source
1 # SliTaz package receipt.
3 PACKAGE="xfdesktop"
4 VERSION="4.8.1"
5 CATEGORY="x-window"
6 SHORT_DESC="Xfce Desktop"
7 MAINTAINER="erjo@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://www.xfce.org/"
10 WGET_URL="http://archive.xfce.org/src/xfce/$PACKAGE/${VERSION%.*}/$TARBALL"
12 DEPENDS="libxfce4util libxfcegui4 thunar libexo libglade gamin libnotify"
13 BUILD_DEPENDS="libxfce4util-dev thunar-dev libexo-dev libxfce4ui-dev libwnck-dev xfconf-dev
14 libglade-dev gamin-dev hal-dev xfce4-panel-dev libnotify-dev intltool util-linux-ng-uuid-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure --prefix=/usr \
21 --sysconfdir=/etc \
22 --enable-exo \
23 --enable-notifications \
24 --enable-gio-unix \
25 --enable-thunarx \
26 --disable-static \
27 --libexecdir=/usr/lib/$PACKAGE \
28 --mandir=/usr/share/man $CONFIGURE_ARGS && \
29 make && make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib \
36 $fs/usr/share/locale \
37 $fs/usr/share/xfce4
39 cp -a $_pkg/usr/bin $fs/usr
40 #~ cp -a $_pkg/etc $fs/
41 #~ cp -a $_pkg/usr/lib/$PACKAGE $fs/usr/lib
42 #~ cp -a $_pkg/usr/lib $fs/usr
43 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
44 cp -a $_pkg/usr/share/applications $fs/usr/share
45 #~ cp -a $_pkg/usr/share/desktop-directories $fs/usr/share
46 #~ cp -a $_pkg/usr/share/xfce4/panel-plugins $fs/usr/share/xfce4
48 #~ strip -s $fs/usr/lib/$PACKAGE/xfce4/panel-plugins/*
50 }