wok-6.x view xfconf/receipt @ rev 9320
superswitcher: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 18 09:52:56 2011 +0100 (2011-03-18) |
parents | 0874004b631d |
children | 8bb09b98317b |
line source
1 # SliTaz package receipt.
3 PACKAGE="xfconf"
4 VERSION="4.8.0"
5 CATEGORY="x-window"
6 SHORT_DESC="Xfce Copnfiguration Utility"
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="gtk+ libxfce4util dbus-glib"
9 BUILD_DEPENDS="gtk+-dev libxfce4util-dev dbus-dev dbus-glib-dev intltool"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://www.xfce.org"
12 WGET_URL="http://archive.xfce.org/src/xfce/$PACKAGE/${VERSION%.*}/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --prefix=/usr \
19 --libexecdir=/usr/lib/$PACKAGE \
20 --infodir=/usr/share/info \
21 --disable-debug \
22 --mandir=/usr/share/man $CONFIGURE_ARGS && \
23 make && make DESTDIR=$PWD/_pkg install
24 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr \
31 $fs/usr/lib \
32 $fs/usr/share/locale
35 cp -a $_pkg/usr/bin $fs/usr
36 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
37 cp -a $_pkg/usr/lib/xfce4 $fs/usr/lib
38 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
39 cp -a $_pkg/usr/share/dbus-1 $fs/usr/share
41 strip -s $fs/usr/lib/xfce4/$PACKAGE/*
42 }