wok-next annotate xfce4-session/receipt @ rev 2299

slitaz-tools: fix typo
author Christophe Lincoln <pankso@slitaz.org>
date Sun Feb 22 22:51:51 2009 +0100 (2009-02-22)
parents
children 917290e1ad30
rev   line source
erjo@2073 1 # SliTaz package receipt.
erjo@2073 2
erjo@2073 3 PACKAGE="xfce4-session"
erjo@2073 4 VERSION="4.4.3"
erjo@2073 5 CATEGORY="x-window"
erjo@2073 6 SHORT_DESC="Xfce session manager"
erjo@2073 7 MAINTAINER="erjo@slitaz.org"
erjo@2073 8 DEPENDS="xorg-libSM xfce-mcs-manager libxfce4util libxfcegui4 libxfce4mcs xfce4-panel"
erjo@2073 9 BUILD_DEPENDS="xorg-libSM-dev libxfce4util-dev xfce-mcs-manager-dev xorg-iceauth"
erjo@2073 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
erjo@2073 11 WEB_SITE="http://www.xfce.org/"
erjo@2073 12 WGET_URL="http://www.p0llux.be/xfce/xfce-4.4.3/src/$TARBALL"
erjo@2073 13
erjo@2073 14 # Rules to configure and make the package.
erjo@2073 15 compile_rules()
erjo@2073 16 {
erjo@2073 17 cd $src
erjo@2073 18 ./configure --prefix=/usr \
erjo@2073 19 --sysconfdir=/etc \
erjo@2073 20 --enable-dbus \
erjo@2073 21 --enable-final \
erjo@2073 22 --disable-gnome \
erjo@2073 23 --mandir=/usr/share/man $CONFIGURE_ARGS && \
erjo@2073 24 make && make DESTDIR=$PWD/_pkg install
erjo@2073 25 }
erjo@2073 26
erjo@2073 27 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@2073 28 genpkg_rules()
erjo@2073 29 {
erjo@2073 30 mkdir -p $fs/usr \
erjo@2073 31 $fs/usr/share/locale \
erjo@2073 32 $fs/usr/lib/xfce4/mcs-plugins
erjo@2073 33
erjo@2073 34 cp -a $_pkg/etc $fs/
erjo@2073 35 cp -a $_pkg/usr/bin $fs/usr
erjo@2073 36 cp -a $_pkg/usr/libexec $fs/usr
erjo@2073 37 cp -a $_pkg/usr/lib $fs/usr
erjo@2073 38 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
erjo@2073 39 cp -a $_pkg/usr/share/applications $fs/usr/share
erjo@2073 40 cp -a $_pkg/usr/share/icons $fs/usr/share
erjo@2073 41 cp -a $_pkg/usr/share/themes $fs/usr/share
erjo@2073 42 cp -a $_pkg/usr/share/xfce4 $fs/usr/share
erjo@2073 43
erjo@2073 44 # Remove unecessary files
erjo@2073 45 find $fs/ -name "*.*a" -exec rm -f {} \;
erjo@2073 46 rm -rf $fs/usr/lib/pkgconfig
erjo@2073 47 # Remove SVG icons
erjo@2073 48 rm -rf $fs/usr/share/icons/hicolor/scalable
erjo@2073 49 }
erjo@2073 50