wok-stable view libxfce4util/receipt @ rev 8504

gcc+gcj: remove build dir after packing files, don't exit but return
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sat Feb 12 02:18:58 2011 +0100 (2011-02-12)
parents 387cedf281f4
children
line source
1 # SliTaz package receipt.
3 PACKAGE="libxfce4util"
4 VERSION="4.8.1"
5 CATEGORY="x-window"
6 SHORT_DESC="Xfce Utility library"
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="gtk+"
9 BUILD_DEPENDS="gtk+-dev intltool"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://www.xfce.org"
12 WGET_URL="http://archive.xfce.org/xfce/${VERSION%.*}/src/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --prefix=/usr \
19 --infodir=/usr/share/info \
20 --disable-debug \
21 --mandir=/usr/share/man $CONFIGURE_ARGS && \
22 make && make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr \
29 $fs/usr/lib \
30 $fs/usr/share/locale
32 cp -a $_pkg/usr/sbin $fs/usr
33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
34 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
35 }