wok-current annotate ivman/receipt @ rev 14000

Up: emacs-pkg-lua-mode (20111107)
author Dominique Corbex <domcox@slitaz.org>
date Thu Feb 14 13:36:00 2013 +0100 (2013-02-14)
parents d4b11bc7b0e1
children 10e6c72b2c15
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@1879 8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@1879 9 WEB_SITE="http://$PACKAGE.sourceforge.net/"
pascal@1879 10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@2481 11 DEPENDS="hal dbus glib libxml2 zlib"
pascal@11368 12 BUILD_DEPENDS="$DEPENDS hal-dev dbus-dev glib-dev libxml2-dev dbus-glib-dev"
pascal@1888 13 CONFIG_FILES="/etc/ivman"
pascal@1879 14
pascal@1879 15 # Rules to configure and make the package.
pascal@1879 16 compile_rules()
pascal@1879 17 {
pascal@1879 18 cd $src
pascal@1879 19 ./configure --prefix=/usr --infodir=/usr/share/info \
pascal@1879 20 --mandir=/usr/share/man --sysconfdir=/etc $CONFIGURE_ARGS &&
pascal@1879 21 make &&
pascal@1879 22 make DESTDIR=$PWD/_pkg install
pascal@1879 23 }
pascal@1879 24
pascal@1879 25 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1879 26 genpkg_rules()
pascal@1879 27 {
pankso@2233 28 mkdir -p $fs/usr
pascal@1879 29 cp -a $_pkg/etc $fs
pascal@1879 30 cp -a $_pkg/usr/bin $fs/usr
pankso@2233 31 cp -a stuff/*.xml $fs/etc/ivman
pankso@2233 32 sed -i s/'bash'/'sh'/ $fs/usr/bin/ivman-launch
pascal@1879 33 }
pascal@1879 34