wok view exo/receipt @ rev 6054
exo: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Aug 18 09:37:20 2010 +0200 (2010-08-18) |
parents | 283b8d93992b |
children | 4221f6eea92d |
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 {
19 #test -d $PACKAGE-$VERSION && mv exo* $PACKAGE-$VERSION
20 cd $src
21 patch -p1 -i ../stuff/helpers.rc.u
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 }