wok-4.x view ivman/receipt @ rev 11630
Add: proj, proj-dev
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Wed Feb 01 00:26:34 2012 +0100 (2012-02-01) |
parents | d4b11bc7b0e1 |
children |
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 }