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

updated rspamd (1.9.3 -> 1.9.4)
author Hans-G?nter Theisgen
date Sun Sep 15 15:30:41 2019 +0100 (2019-09-15)
parents 6bd67b683b9c
children 453c249b6219
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@20795 16 # Rules to configure and make the package.
pascal@20795 17 compile_rules()
pascal@20795 18 {
pascal@20795 19 ./configure --prefix=/usr \
pascal@20795 20 --sysconfdir=/etc \
pascal@20795 21 --mandir=/usr/share/man \
pascal@20795 22 --disable-lynx \
pascal@20795 23 $CONFIGURE_ARGS &&
pascal@20795 24 make &&
pascal@20795 25 make DESTDIR=$DESTDIR install
pascal@20795 26 }
pascal@20795 27
pascal@20795 28 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@20795 29 genpkg_rules()
pascal@20795 30 {
pascal@20795 31 mkdir -p $fs/usr
pascal@20795 32 cp -a $install/usr/sbin $fs/usr
pascal@20795 33 cp -a $install/etc $fs
pascal@20795 34 sed -i 's|/bin/bash|/bin/sh|' $fs/etc/init.d/ifplugd
pascal@20795 35 }