wok-next annotate xfconf/receipt @ rev 17318

Add foo2xqx
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Nov 04 09:52:08 2014 +0100 (2014-11-04)
parents 8bb09b98317b
children aaf4385684bb
rev   line source
erjo@4142 1 # SliTaz package receipt.
erjo@4142 2
erjo@4142 3 PACKAGE="xfconf"
erjo@14831 4 VERSION="4.10.0"
erjo@4142 5 CATEGORY="x-window"
erjo@4142 6 SHORT_DESC="Xfce Copnfiguration Utility"
erjo@4142 7 MAINTAINER="erjo@slitaz.org"
pascal@15000 8 LICENSE="GPL2"
erjo@4142 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
erjo@4142 10 WEB_SITE="http://www.xfce.org"
slaxemulator@8289 11 WGET_URL="http://archive.xfce.org/src/xfce/$PACKAGE/${VERSION%.*}/$TARBALL"
erjo@4142 12
pascal@15000 13 DEPENDS="gtk+ libxfce4util dbus-glib"
pascal@15000 14 BUILD_DEPENDS="gtk+-dev libxfce4util-dev dbus-dev dbus-glib-dev intltool"
pascal@15000 15
erjo@4142 16 # Rules to configure and make the package.
erjo@4142 17 compile_rules()
erjo@4142 18 {
erjo@4142 19 cd $src
erjo@4142 20 ./configure --prefix=/usr \
erjo@8025 21 --libexecdir=/usr/lib/$PACKAGE \
erjo@4142 22 --infodir=/usr/share/info \
erjo@8025 23 --disable-debug \
erjo@4142 24 --mandir=/usr/share/man $CONFIGURE_ARGS && \
erjo@14831 25 make && make install
erjo@4142 26 }
erjo@4142 27
erjo@8025 28
erjo@4142 29 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@4142 30 genpkg_rules()
erjo@4142 31 {
erjo@4142 32 mkdir -p $fs/usr \
erjo@4142 33 $fs/usr/lib \
erjo@4142 34 $fs/usr/share/locale
erjo@4142 35
erjo@4142 36
erjo@14831 37 cp -a $install/usr/bin $fs/usr
erjo@14831 38 cp -a $install/usr/lib/*.so* $fs/usr/lib
erjo@14831 39 cp -a $install/usr/lib/xfce4 $fs/usr/lib
erjo@14831 40 cp -a $install/usr/share/locale/fr $fs/usr/share/locale
erjo@14831 41 cp -a $install/usr/share/dbus-1 $fs/usr/share
erjo@4142 42
erjo@8025 43 strip -s $fs/usr/lib/xfce4/$PACKAGE/*
erjo@4142 44 }