wok-current view ifplugd/receipt @ rev 24056

Up zstd (1.5.0)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jun 08 09:29:15 2021 +0000 (2021-06-08)
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 }