wok view ivman/receipt @ rev 12237
uclibc-cross-compiler: update WGET_URL
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Apr 09 15:07:54 2012 +0200 (2012-04-09) |
parents | d4b11bc7b0e1 |
children | 10e6c72b2c15 |
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 dbus-glib-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 }