wok annotate ivman/receipt @ rev 25795

created recipe for libxfcegui4-lang
author Hans-G?nter Theisgen
date Wed Oct 23 16:34:18 2024 +0100 (4 weeks ago)
parents ba7cbdb5749c
children
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@25460 10 WEB_SITE="https://$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@24412 17 # What is the latest version available today?
pascal@24412 18 current_version()
pascal@24412 19 {
pascal@24412 20 wget -O - https://sourceforge.net/projects/ivman/files/ 2>/dev/null | \
pascal@24412 21 sed '/scope="row/!d;/tar/!d;s|.*/ivman-||;s|.tar.*||;q'
pascal@24412 22 }
pascal@24412 23
pascal@1879 24 # Rules to configure and make the package.
pascal@1879 25 compile_rules()
pascal@1879 26 {
pascal@1879 27 cd $src
pascal@1879 28 ./configure --prefix=/usr --infodir=/usr/share/info \
pascal@1879 29 --mandir=/usr/share/man --sysconfdir=/etc $CONFIGURE_ARGS &&
pascal@1879 30 make &&
pascal@15021 31 make DESTDIR=$DESTDIR install
pascal@1879 32 }
pascal@1879 33
pascal@1879 34 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1879 35 genpkg_rules()
pascal@1879 36 {
pankso@2233 37 mkdir -p $fs/usr
pascal@15021 38 cp -a $install/etc $fs
pascal@15021 39 cp -a $install/usr/bin $fs/usr
pankso@2233 40 cp -a stuff/*.xml $fs/etc/ivman
pankso@2233 41 sed -i s/'bash'/'sh'/ $fs/usr/bin/ivman-launch
pascal@1879 42 }
pascal@1879 43