wok-current view ivman/receipt @ rev 9074
Up: subversion to 1.6.16.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri Mar 04 10:02:47 2011 +0000 (2011-03-04) |
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 }