wok annotate ivman/receipt @ rev 18735

Up zerobin (6 feb 2014)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Dec 21 16:28:32 2015 +0100 (2015-12-21)
parents 91638e9e8658
children ba7cbdb5749c
rev   line source
pascal@1879 1 # SliTaz package receipt.
pascal@1879 2
pascal@1879 3 PACKAGE="ivman"
pascal@1879 4 VERSION="0.6.14"
pascal@1879 5 CATEGORY="system-tools"
pascal@1879 6 SHORT_DESC="Generic handler for HAL events."
pascal@1879 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15021 8 LICENSE="GPL2 QPL"
pascal@1879 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@1879 10 WEB_SITE="http://$PACKAGE.sourceforge.net/"
pascal@1879 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@15021 12 CONFIG_FILES="/etc/ivman"
pascal@15021 13
pascal@2481 14 DEPENDS="hal dbus glib libxml2 zlib"
pascal@11368 15 BUILD_DEPENDS="$DEPENDS hal-dev dbus-dev glib-dev libxml2-dev dbus-glib-dev"
pascal@1879 16
pascal@1879 17 # Rules to configure and make the package.
pascal@1879 18 compile_rules()
pascal@1879 19 {
pascal@1879 20 cd $src
pascal@1879 21 ./configure --prefix=/usr --infodir=/usr/share/info \
pascal@1879 22 --mandir=/usr/share/man --sysconfdir=/etc $CONFIGURE_ARGS &&
pascal@1879 23 make &&
pascal@15021 24 make DESTDIR=$DESTDIR install
pascal@1879 25 }
pascal@1879 26
pascal@1879 27 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1879 28 genpkg_rules()
pascal@1879 29 {
pankso@2233 30 mkdir -p $fs/usr
pascal@15021 31 cp -a $install/etc $fs
pascal@15021 32 cp -a $install/usr/bin $fs/usr
pankso@2233 33 cp -a stuff/*.xml $fs/etc/ivman
pankso@2233 34 sed -i s/'bash'/'sh'/ $fs/usr/bin/ivman-launch
pascal@1879 35 }
pascal@1879 36