wok view ifplugd/receipt @ rev 22351

umfpack: hide metis-4.0 missing
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Nov 18 16:07:36 2019 +0100 (11 months ago)
parents 6bd67b683b9c
children
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 }