wok-6.x annotate xfdesktop/receipt @ rev 5585

Up:libxcb
author Rohit Joshi <jozee@slitaz.org>
date Mon May 17 07:31:27 2010 -0400 (2010-05-17)
parents 7d74bf227264
children 2da3bf55c9ba
rev   line source
erjo@2075 1 # SliTaz package receipt.
erjo@2075 2
erjo@2075 3 PACKAGE="xfdesktop"
erjo@4133 4 VERSION="4.6.1"
erjo@2075 5 CATEGORY="x-window"
erjo@4133 6 SHORT_DESC="Xfce Desktop"
erjo@2075 7 MAINTAINER="erjo@slitaz.org"
pascal@5008 8 DEPENDS="libxfce4util libxfcegui4 thunar libexo libglade gamin libxfce4menu"
erjo@4133 9 BUILD_DEPENDS="libxfce4util-dev thunar-dev libexo-dev libxfcegui4-dev libwnck-dev xfconf-dev
erjo@4133 10 libglade-dev gamin-dev hal-dev libxfce4menu-dev xfce4-panel-dev"
erjo@2075 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
erjo@2075 12 WEB_SITE="http://www.xfce.org/"
pascal@4220 13 WGET_URL="$WEB_SITE/archive/xfce/$VERSION/src/$TARBALL"
erjo@2075 14
erjo@2075 15 # Rules to configure and make the package.
erjo@2075 16 compile_rules()
erjo@2075 17 {
erjo@2075 18 cd $src
erjo@2075 19 ./configure --prefix=/usr \
erjo@2075 20 --sysconfdir=/etc \
erjo@2075 21 --enable-exo \
erjo@2075 22 --enable-thunarx \
erjo@4133 23 --disable-static \
pascal@4235 24 --libexecdir=/usr/lib/$PACKAGE \
erjo@2075 25 --mandir=/usr/share/man $CONFIGURE_ARGS && \
erjo@2075 26 make && make DESTDIR=$PWD/_pkg install
erjo@2075 27 }
erjo@2075 28
erjo@2075 29 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@2075 30 genpkg_rules()
erjo@2075 31 {
pascal@4235 32 mkdir -p $fs/usr/lib \
erjo@2075 33 $fs/usr/share/locale \
erjo@4133 34 $fs/usr/share/xfce4
erjo@4133 35
erjo@2075 36 cp -a $_pkg/usr/bin $fs/usr
erjo@4133 37 cp -a $_pkg/etc $fs/
pascal@4235 38 cp -a $_pkg/usr/lib/$PACKAGE $fs/usr/lib
erjo@2075 39 cp -a $_pkg/usr/lib $fs/usr
erjo@2075 40 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
erjo@2075 41 cp -a $_pkg/usr/share/applications $fs/usr/share
erjo@4133 42 cp -a $_pkg/usr/share/desktop-directories $fs/usr/share
erjo@4133 43 cp -a $_pkg/usr/share/xfce4/panel-plugins $fs/usr/share/xfce4
erjo@2075 44
pascal@4235 45 strip -s $fs/usr/lib/$PACKAGE/xfce4/panel-plugins/*
erjo@4133 46
erjo@2075 47 }
erjo@2075 48