wok annotate xfdesktop/receipt @ rev 9780

clex: update to fix WGET_URL (my favorite text mode fm)
author Christophe Lincoln <pankso@slitaz.org>
date Wed May 11 23:06:47 2011 +0200 (2011-05-11)
parents 7406abd5367f
children 021bbe74dc30
rev   line source
erjo@2075 1 # SliTaz package receipt.
erjo@2075 2
erjo@2075 3 PACKAGE="xfdesktop"
slaxemulator@8286 4 VERSION="4.8.1"
erjo@2075 5 CATEGORY="x-window"
erjo@4133 6 SHORT_DESC="Xfce Desktop"
erjo@2075 7 MAINTAINER="erjo@slitaz.org"
erjo@8028 8 DEPENDS="libxfce4util libxfcegui4 thunar libexo libglade gamin libnotify"
erjo@8028 9 BUILD_DEPENDS="libxfce4util-dev thunar-dev libexo-dev libxfce4ui-dev libwnck-dev xfconf-dev
gokhlayeh@8039 10 libglade-dev gamin-dev hal-dev xfce4-panel-dev libnotify-dev intltool"
erjo@2075 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
erjo@2075 12 WEB_SITE="http://www.xfce.org/"
slaxemulator@8289 13 WGET_URL="http://archive.xfce.org/src/xfce/$PACKAGE/${VERSION%.*}/$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@8028 22 --enable-notifications \
erjo@8028 23 --enable-gio-unix \
erjo@2075 24 --enable-thunarx \
erjo@4133 25 --disable-static \
pascal@4235 26 --libexecdir=/usr/lib/$PACKAGE \
erjo@2075 27 --mandir=/usr/share/man $CONFIGURE_ARGS && \
erjo@2075 28 make && make DESTDIR=$PWD/_pkg install
erjo@2075 29 }
erjo@2075 30
erjo@2075 31 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@2075 32 genpkg_rules()
erjo@2075 33 {
pascal@4235 34 mkdir -p $fs/usr/lib \
erjo@2075 35 $fs/usr/share/locale \
erjo@4133 36 $fs/usr/share/xfce4
erjo@4133 37
erjo@2075 38 cp -a $_pkg/usr/bin $fs/usr
erjo@8028 39 #~ cp -a $_pkg/etc $fs/
erjo@8028 40 #~ cp -a $_pkg/usr/lib/$PACKAGE $fs/usr/lib
erjo@8028 41 #~ cp -a $_pkg/usr/lib $fs/usr
erjo@2075 42 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
erjo@2075 43 cp -a $_pkg/usr/share/applications $fs/usr/share
erjo@8028 44 #~ cp -a $_pkg/usr/share/desktop-directories $fs/usr/share
erjo@8028 45 #~ cp -a $_pkg/usr/share/xfce4/panel-plugins $fs/usr/share/xfce4
erjo@2075 46
erjo@8028 47 #~ strip -s $fs/usr/lib/$PACKAGE/xfce4/panel-plugins/*
erjo@4133 48
erjo@2075 49 }
erjo@2075 50