wok annotate xfconf/receipt @ rev 13151

busybox-static: add find & xargs
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jul 13 13:32:24 2012 +0200 (2012-07-13)
parents 0874004b631d
children 8bb09b98317b
rev   line source
erjo@4142 1 # SliTaz package receipt.
erjo@4142 2
erjo@4142 3 PACKAGE="xfconf"
erjo@8025 4 VERSION="4.8.0"
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"
gokhlayeh@8039 9 BUILD_DEPENDS="gtk+-dev libxfce4util-dev dbus-dev dbus-glib-dev intltool"
erjo@4142 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
erjo@4142 11 WEB_SITE="http://www.xfce.org"
slaxemulator@8289 12 WGET_URL="http://archive.xfce.org/src/xfce/$PACKAGE/${VERSION%.*}/$TARBALL"
erjo@4142 13
erjo@4142 14 # Rules to configure and make the package.
erjo@4142 15 compile_rules()
erjo@4142 16 {
erjo@4142 17 cd $src
erjo@4142 18 ./configure --prefix=/usr \
erjo@8025 19 --libexecdir=/usr/lib/$PACKAGE \
erjo@4142 20 --infodir=/usr/share/info \
erjo@8025 21 --disable-debug \
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@8025 26
erjo@4142 27 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@4142 28 genpkg_rules()
erjo@4142 29 {
erjo@4142 30 mkdir -p $fs/usr \
erjo@4142 31 $fs/usr/lib \
erjo@4142 32 $fs/usr/share/locale
erjo@4142 33
erjo@4142 34
erjo@4142 35 cp -a $_pkg/usr/bin $fs/usr
erjo@4142 36 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
erjo@8025 37 cp -a $_pkg/usr/lib/xfce4 $fs/usr/lib
erjo@4142 38 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
erjo@4142 39 cp -a $_pkg/usr/share/dbus-1 $fs/usr/share
erjo@4142 40
erjo@8025 41 strip -s $fs/usr/lib/xfce4/$PACKAGE/*
erjo@4142 42 }