wok-6.x annotate ifplugd/receipt @ rev 25174

updated python-flask (1.1.2 -> 1.1.4)
author Hans-G?nter Theisgen
date Fri Jul 01 17:16:59 2022 +0100 (2022-07-01)
parents 54f857962813
children
rev   line source
pascal@20795 1 # SliTaz package receipt.
pascal@20795 2
pascal@20795 3 PACKAGE="ifplugd"
pascal@20795 4 VERSION="0.28"
pascal@20795 5 CATEGORY="network"
pascal@20795 6 SHORT_DESC="Configure your ethernet device when a cable is plugged"
pascal@20795 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@20795 8 LICENSE="GPL2"
pascal@20795 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@20795 10 WEB_SITE="http://0pointer.de/lennart/projects/ifplugd/"
pascal@20795 11 WGET_URL="${WEB_SITE}$TARBALL"
pascal@20795 12
pascal@20808 13 DEPENDS="libdaemon"
pascal@20795 14 BUILD_DEPENDS="libdaemon-dev"
pascal@20795 15
pascal@24425 16 # What is the latest version available today?
pascal@24425 17 current_version()
pascal@24425 18 {
pascal@24425 19 wget -O - ${WGET_URL%/*} 2>/dev/null | \
pascal@24425 20 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24425 21 }
pascal@24425 22
pascal@20795 23 # Rules to configure and make the package.
pascal@20795 24 compile_rules()
pascal@20795 25 {
pascal@20795 26 ./configure --prefix=/usr \
pascal@20795 27 --sysconfdir=/etc \
pascal@20795 28 --mandir=/usr/share/man \
pascal@20795 29 --disable-lynx \
pascal@20795 30 $CONFIGURE_ARGS &&
pascal@20795 31 make &&
pascal@20795 32 make DESTDIR=$DESTDIR install
pascal@20795 33 }
pascal@20795 34
pascal@20795 35 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@20795 36 genpkg_rules()
pascal@20795 37 {
pascal@20795 38 mkdir -p $fs/usr
pascal@20795 39 cp -a $install/usr/sbin $fs/usr
pascal@20795 40 cp -a $install/etc $fs
pascal@20795 41 sed -i 's|/bin/bash|/bin/sh|' $fs/etc/init.d/ifplugd
pascal@20795 42 }