wok-current annotate ifplugd/receipt @ rev 21582

Use python-setuptools as bdeps (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun May 19 19:45:04 2019 +0200 (2019-05-19)
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 }