wok view ivman/receipt @ rev 24556

updated flatpress (0.1010.2 -> 1.2.1)
author Hans-G?nter Theisgen
date Fri Feb 25 14:05:00 2022 +0100 (2022-02-25)
parents 10e6c72b2c15
children 7dd01dedad38
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 LICENSE="GPL2 QPL"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://$PACKAGE.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 CONFIG_FILES="/etc/ivman"
14 DEPENDS="hal dbus glib libxml2 zlib"
15 BUILD_DEPENDS="$DEPENDS hal-dev dbus-dev glib-dev libxml2-dev dbus-glib-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://sourceforge.net/projects/ivman/files/ 2>/dev/null | \
21 sed '/scope="row/!d;/tar/!d;s|.*/ivman-||;s|.tar.*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 cd $src
28 ./configure --prefix=/usr --infodir=/usr/share/info \
29 --mandir=/usr/share/man --sysconfdir=/etc $CONFIGURE_ARGS &&
30 make &&
31 make DESTDIR=$DESTDIR install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr
38 cp -a $install/etc $fs
39 cp -a $install/usr/bin $fs/usr
40 cp -a stuff/*.xml $fs/etc/ivman
41 sed -i s/'bash'/'sh'/ $fs/usr/bin/ivman-launch
42 }