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