wok-next view ivman/receipt @ rev 16567

Up: slitaz-boot-scripts + slitaz-tools (urgent bug fix)
author Christophe Lincoln <pankso@slitaz.org>
date Thu May 01 22:17:02 2014 +0200 (2014-05-01)
parents 91638e9e8658
children 757d032c55c7
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 LICENSE="GPL2 QPL"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://$PACKAGE.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 CONFIG_FILES="/etc/ivman"
14 DEPENDS="hal dbus glib libxml2 zlib"
15 BUILD_DEPENDS="$DEPENDS hal-dev dbus-dev glib-dev libxml2-dev dbus-glib-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure --prefix=/usr --infodir=/usr/share/info \
22 --mandir=/usr/share/man --sysconfdir=/etc $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr
31 cp -a $install/etc $fs
32 cp -a $install/usr/bin $fs/usr
33 cp -a stuff/*.xml $fs/etc/ivman
34 sed -i s/'bash'/'sh'/ $fs/usr/bin/ivman-launch
35 }