wok-6.x annotate ivman/receipt @ rev 5005
p*: update depends
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 28 17:01:48 2010 +0100 (2010-02-28) |
parents | 13f3f200f867 |
children | 91638e9e8658 |
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" |
pankso@2233 | 12 BUILD_DEPENDS="$DEPENDS hal-dev dbus-dev glib-dev libxml2-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 |