wok-6.x view ifplugd/receipt @ rev 23896
lftp: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jul 26 14:28:44 2020 +0000 (2020-07-26) |
parents | 6bd67b683b9c |
children | 453c249b6219 |
line source
1 # SliTaz package receipt.
3 PACKAGE="ifplugd"
4 VERSION="0.28"
5 CATEGORY="network"
6 SHORT_DESC="Configure your ethernet device when a cable is plugged"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://0pointer.de/lennart/projects/ifplugd/"
11 WGET_URL="${WEB_SITE}$TARBALL"
13 DEPENDS="libdaemon"
14 BUILD_DEPENDS="libdaemon-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 ./configure --prefix=/usr \
20 --sysconfdir=/etc \
21 --mandir=/usr/share/man \
22 --disable-lynx \
23 $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr
32 cp -a $install/usr/sbin $fs/usr
33 cp -a $install/etc $fs
34 sed -i 's|/bin/bash|/bin/sh|' $fs/etc/init.d/ifplugd
35 }