wok-6.x annotate xfconf/receipt @ rev 5154

slitaz-tools-boxes:add serverbox
author Rohit Joshi <jozee@slitaz.org>
date Wed Mar 24 06:44:20 2010 -0400 (2010-03-24)
parents 6b28c0132116
children 1edb05fb96f8
rev   line source
erjo@4142 1 # SliTaz package receipt.
erjo@4142 2
erjo@4142 3 PACKAGE="xfconf"
erjo@4142 4 VERSION="4.6.1"
erjo@4142 5 CATEGORY="x-window"
erjo@4142 6 SHORT_DESC="Xfce Copnfiguration Utility"
erjo@4142 7 MAINTAINER="erjo@slitaz.org"
pascal@5008 8 DEPENDS="gtk+ libxfce4util dbus-glib"
erjo@4142 9 BUILD_DEPENDS="gtk+-dev libxfce4util-dev dbus-dev dbus-glib-dev"
erjo@4142 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
erjo@4142 11 WEB_SITE="http://www.xfce.org"
erjo@4142 12 WGET_URL="http://www.p0llux.be/xfce/xfce-$VERSION/src/$TARBALL
erjo@4142 13 http://www.tx-us.xfce.org/archive/xfce-$VERSION/src/$TARBALL"
erjo@4142 14
erjo@4142 15 # Rules to configure and make the package.
erjo@4142 16 compile_rules()
erjo@4142 17 {
erjo@4142 18 cd $src
erjo@4142 19 ./configure --prefix=/usr \
erjo@4142 20 --infodir=/usr/share/info \
pascal@4216 21 --libexecdir=/usr/lib/$PACKAGE \
erjo@4142 22 --mandir=/usr/share/man $CONFIGURE_ARGS && \
erjo@4142 23 make && make DESTDIR=$PWD/_pkg install
erjo@4142 24 }
erjo@4142 25
erjo@4142 26 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@4142 27 genpkg_rules()
erjo@4142 28 {
erjo@4142 29 mkdir -p $fs/usr \
erjo@4142 30 $fs/usr/lib \
erjo@4142 31 $fs/usr/share/locale
erjo@4142 32
erjo@4142 33
erjo@4142 34 cp -a $_pkg/usr/bin $fs/usr
erjo@4142 35 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pascal@4223 36 cp -a $_pkg/usr/lib/$PACKAGE $fs/usr/lib
erjo@4142 37 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
erjo@4142 38 cp -a $_pkg/usr/share/dbus-1 $fs/usr/share
erjo@4142 39
pascal@4216 40 strip -s $fs/usr/lib/$PACKAGE/*
erjo@4142 41 }