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@20795
|
13 BUILD_DEPENDS="libdaemon-dev"
|
pascal@20795
|
14
|
pascal@20795
|
15 # Rules to configure and make the package.
|
pascal@20795
|
16 compile_rules()
|
pascal@20795
|
17 {
|
pascal@20795
|
18 ./configure --prefix=/usr \
|
pascal@20795
|
19 --sysconfdir=/etc \
|
pascal@20795
|
20 --mandir=/usr/share/man \
|
pascal@20795
|
21 --disable-lynx \
|
pascal@20795
|
22 $CONFIGURE_ARGS &&
|
pascal@20795
|
23 make &&
|
pascal@20795
|
24 make DESTDIR=$DESTDIR install
|
pascal@20795
|
25 }
|
pascal@20795
|
26
|
pascal@20795
|
27 # Rules to gen a SliTaz package suitable for Tazpkg.
|
pascal@20795
|
28 genpkg_rules()
|
pascal@20795
|
29 {
|
pascal@20795
|
30 mkdir -p $fs/usr
|
pascal@20795
|
31 cp -a $install/usr/sbin $fs/usr
|
pascal@20795
|
32 cp -a $install/etc $fs
|
pascal@20795
|
33 sed -i 's|/bin/bash|/bin/sh|' $fs/etc/init.d/ifplugd
|
pascal@20795
|
34 }
|