wok-current annotate xfdesktop/receipt @ rev 3443

Kismet: up to 2009-05-RC2
author Dominique Corbex <domcox@users.sourceforge.net>
date Sun Jun 14 12:22:17 2009 +0200 (2009-06-14)
parents
children 2eb4cda2e8eb
rev   line source
erjo@2075 1 # SliTaz package receipt.
erjo@2075 2
erjo@2075 3 PACKAGE="xfdesktop"
erjo@2075 4 VERSION="4.4.3"
erjo@2075 5 CATEGORY="x-window"
erjo@2075 6 SHORT_DESC="Xfce panel"
erjo@2075 7 MAINTAINER="erjo@slitaz.org"
erjo@2075 8 DEPENDS="xorg-libSM xfce-mcs-manager libxfce4util libxfcegui4 libxfce4mcs Thunar libexo"
erjo@2075 9 BUILD_DEPENDS="xorg-libSM-dev libxfce4util-dev xfce-mcs-manager-dev Thunar-dev libexo-dev"
erjo@2075 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
erjo@2075 11 WEB_SITE="http://www.xfce.org/"
erjo@2075 12 WGET_URL="http://www.p0llux.be/xfce/xfce-4.4.3/src/$TARBALL"
erjo@2075 13
erjo@2075 14 # Rules to configure and make the package.
erjo@2075 15 compile_rules()
erjo@2075 16 {
erjo@2075 17 cd $src
erjo@2075 18 ./configure --prefix=/usr \
erjo@2075 19 --sysconfdir=/etc \
erjo@2075 20 --enable-exo \
erjo@2075 21 --enable-thunarx \
erjo@2075 22 --mandir=/usr/share/man $CONFIGURE_ARGS && \
erjo@2075 23 make && make DESTDIR=$PWD/_pkg install
erjo@2075 24 }
erjo@2075 25
erjo@2075 26 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@2075 27 genpkg_rules()
erjo@2075 28 {
erjo@2075 29 mkdir -p $fs/usr \
erjo@2075 30 $fs/usr/share/locale \
erjo@2075 31 $fs/usr/share/xfce4 \
erjo@2075 32 $fs/usr/lib/xfce4/mcs-plugins \
erjo@2075 33 $fs/usr/lib/xfce4/panel-plugins
erjo@2075 34
erjo@2075 35 cp -a $_pkg/etc $fs/
erjo@2075 36 cp -a $_pkg/usr/bin $fs/usr
erjo@2075 37 cp -a $_pkg/usr/libexec $fs/usr
erjo@2075 38 cp -a $_pkg/usr/lib $fs/usr
erjo@2075 39 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
erjo@2075 40 cp -a $_pkg/usr/share/applications $fs/usr/share
erjo@2075 41 cp -a $_pkg/usr/share/icons $fs/usr/share
erjo@2075 42 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
erjo@2075 43 cp -a $_pkg/usr/share/xfce4-* $fs/usr/share
erjo@2075 44 cp -a $_pkg/usr/share/xfce4/panel-plugins $fs/usr/share
erjo@2075 45 cp -a $_pkg/usr/share/xfce4/backdrops $fs/usr/share
erjo@2075 46
erjo@2075 47 # Remove unnessecarry files
erjo@2075 48 find $fs/usr/lib -name "*.*a" -exec rm -f {} \;
erjo@2075 49
erjo@2075 50 }
erjo@2075 51