SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "ivman"

# SliTaz package receipt.

PACKAGE="ivman"
VERSION="0.6.14"
CATEGORY="system-tools"
SHORT_DESC="Generic handler for HAL events."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="GPL2 QPL"
TARBALL="$PACKAGE-$VERSION.tar.bz2"
WEB_SITE="https://$PACKAGE.sourceforge.net/"
WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
CONFIG_FILES="/etc/ivman"

DEPENDS="hal dbus glib libxml2 zlib"
BUILD_DEPENDS="$DEPENDS hal-dev dbus-dev glib-dev libxml2-dev dbus-glib-dev"

# What is the latest version available today?
current_version()
{
    wget -O - https://sourceforge.net/projects/ivman/files/ 2>/dev/null | \
    sed '/scope="row/!d;/tar/!d;s|.*/ivman-||;s|.tar.*||;q'
}

# Rules to configure and make the package.
compile_rules()
{
    cd $src
    ./configure --prefix=/usr --infodir=/usr/share/info \
    --mandir=/usr/share/man --sysconfdir=/etc $CONFIGURE_ARGS &&
    make &&
    make DESTDIR=$DESTDIR install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr
    cp -a $install/etc $fs
    cp -a $install/usr/bin $fs/usr
    cp -a stuff/*.xml $fs/etc/ivman
    sed -i s/'bash'/'sh'/ $fs/usr/bin/ivman-launch
}

6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)