wok-stable view exo/receipt @ rev 5982

nut: fix genpkg
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Aug 13 21:34:30 2010 +0200 (2010-08-13)
parents fb6366751bde
children 41ed3c4760c9
line source
1 # SliTaz package receipt.
3 PACKAGE="exo"
4 VERSION="0.3.107"
5 CATEGORY="meta"
6 SHORT_DESC="Xfce Exo library and tools"
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="exo-tools libexo"
9 BUILD_DEPENDS="libxfce4util-dev perl-uri startup-notification-dev hal-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://www.xfce.org"
12 WGET_URL="http://www.tx-us.xfce.org/archive/xfce-4.6.2/src/$TARBALL
13 http://www.p0llux.be/xfce/archive/xfce/4.6.2/src/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 patch -p0 -i stuff/helpers.rc.u
20 #test -d $PACKAGE-$VERSION && mv exo* $PACKAGE-$VERSION
21 cd $src
22 ./configure \
23 --prefix=/usr \
24 --sysconfdir=/etc \
25 --libexecdir=/usr/lib/libexo \
26 --enable-notifications \
27 --enable-hal \
28 --disable-debug \
29 --mandir=/usr/share/man \
30 --disable-python \
31 $CONFIGURE_ARGS && \
32 make && make DESTDIR=$PWD/_pkg install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir $fs/usr
39 for pkg in libexo libexo-dev exo-tools
40 do
41 tazwok cook $pkg
42 done
43 }