wok-current view orage/receipt @ rev 4481

linux: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Nov 14 15:44:04 2009 +0100 (2009-11-14)
parents c55cf2eceac4
children 6ec17b55b59a
line source
1 # SliTaz package receipt.
3 PACKAGE="orage"
4 VERSION="4.6.1"
5 CATEGORY="office"
6 SHORT_DESC="Xfce calendar"
7 MAINTAINER="erjo@slitaz.org"
8 DEPEND="libxfcegui4 libnotify dbus"
9 BUILD_DEPEND="libxfcegui4-dev libnotify-dev dbus-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.1/src/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --enable-dbus \
21 --enable-libnotify \
22 --libexecdir=/usr/lib/$PACKAGE \
23 $CONFIGURE_ARGS &&
24 make && make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/share
31 cp -a $_pkg/usr/bin $fs/usr
32 cp -a $_pkg/usr/lib $fs/usr
33 cp -a $_pkg/usr/share/applications $fs/usr/share
34 cp -a $_pkg/usr/share/xfce4 $fs/usr/share
35 cp -a $_pkg/usr/share/orage $fs/usr/share
36 cp -a $_pkg/usr/share/orage $fs/usr/share
37 cp -a $_pkg/usr/share/dbus-1 $fs/usr/share
38 cp -a $_pkg/usr/share/icons $fs/usr/share
39 }