wok view netplug/receipt @ rev 24739

updated libexif and libexif-dev (0.6.22 -> 0.6.24)
author Hans-G?nter Theisgen
date Wed Mar 16 09:57:52 2022 +0100 (2022-03-16)
parents 54f857962813
children e1e1678c5265
line source
1 # SliTaz package receipt.
3 PACKAGE="netplug"
4 VERSION="1.2.9.2"
5 CATEGORY="network"
6 SHORT_DESC="A daemon that manages network interfaces plugs in and out."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.serpentine.com/blog/software/netplug/"
11 WGET_URL="http://www.red-bean.com/~bos/netplug/$TARBALL"
13 # What is the latest version available today?
14 current_version()
15 {
16 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
17 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
18 }
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 sed -i '/hg_root/,$d' Makefile
24 make prefix=/usr netplugd &&
25 make DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir $fs/etc
32 cp -a $install/etc/rc.d/init.d $fs/etc
33 cp -a $install/etc/netp* $fs/etc
34 cp -a $install/sbin $fs
35 }