wok-next view ivman/receipt @ rev 4723

Up: vte* (0.23.1)
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Tue Jan 05 15:58:12 2010 +0100 (2010-01-05)
parents 13f3f200f867
children 91638e9e8658
line source
1 # SliTaz package receipt.
3 PACKAGE="ivman"
4 VERSION="0.6.14"
5 CATEGORY="system-tools"
6 SHORT_DESC="Generic handler for HAL events."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://$PACKAGE.sourceforge.net/"
10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
11 DEPENDS="hal dbus glib libxml2 zlib"
12 BUILD_DEPENDS="$DEPENDS hal-dev dbus-dev glib-dev libxml2-dev"
13 CONFIG_FILES="/etc/ivman"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure --prefix=/usr --infodir=/usr/share/info \
20 --mandir=/usr/share/man --sysconfdir=/etc $CONFIGURE_ARGS &&
21 make &&
22 make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
29 cp -a $_pkg/etc $fs
30 cp -a $_pkg/usr/bin $fs/usr
31 cp -a stuff/*.xml $fs/etc/ivman
32 sed -i s/'bash'/'sh'/ $fs/usr/bin/ivman-launch
33 }