wok view xfce4-session/receipt @ rev 2621
atl1e, rt2860sta: move code into functions
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Apr 14 15:27:15 2009 +0000 (2009-04-14) |
parents | 917290e1ad30 |
children | eefbe595c475 |
line source
1 # SliTaz package receipt.
3 PACKAGE="xfce4-session"
4 VERSION="4.4.3"
5 CATEGORY="x-window"
6 SHORT_DESC="Xfce session manager"
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="xorg-libSM xfce-mcs-manager libxfce4util libxfcegui4 libxfce4mcs \
9 xfce4-panel dbus xorg-libXdamage"
10 BUILD_DEPENDS="xorg-libSM-dev libxfce4util-dev xfce-mcs-manager-dev xorg-iceauth"
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 --sysconfdir=/etc \
21 --enable-dbus \
22 --enable-final \
23 --disable-gnome \
24 --mandir=/usr/share/man $CONFIGURE_ARGS && \
25 make && make DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr \
32 $fs/usr/share/locale \
33 $fs/usr/lib/xfce4/mcs-plugins
35 cp -a $_pkg/etc $fs/
36 cp -a $_pkg/usr/bin $fs/usr
37 cp -a $_pkg/usr/libexec $fs/usr
38 cp -a $_pkg/usr/lib $fs/usr
39 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
40 cp -a $_pkg/usr/share/applications $fs/usr/share
41 cp -a $_pkg/usr/share/icons $fs/usr/share
42 cp -a $_pkg/usr/share/themes $fs/usr/share
43 cp -a $_pkg/usr/share/xfce4 $fs/usr/share
45 # Remove unecessary files
46 find $fs/ -name "*.*a" -exec rm -f {} \;
47 rm -rf $fs/usr/lib/pkgconfig
48 # Remove SVG icons
49 rm -rf $fs/usr/share/icons/hicolor/scalable
50 }