wok-current view ifplugd/receipt @ rev 24032
modified get-teamviewer to be able to fetch versions < 13
author | Hans-G?nter Theisgen |
---|---|
date | Tue Apr 06 14:38:05 2021 +0100 (2021-04-06) |
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 }