wok-current rev 20795
Add ifplugd & netplug
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Feb 15 12:51:11 2019 +0100 (2019-02-15) |
parents | 8685ee90f6aa |
children | c9dd0cdd33d8 |
files | ifplugd/receipt libdaemon-dev/receipt libdaemon/receipt netplug/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/ifplugd/receipt Fri Feb 15 12:51:11 2019 +0100 1.3 @@ -0,0 +1,34 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="ifplugd" 1.7 +VERSION="0.28" 1.8 +CATEGORY="network" 1.9 +SHORT_DESC="Configure your ethernet device when a cable is plugged" 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +LICENSE="GPL2" 1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.13 +WEB_SITE="http://0pointer.de/lennart/projects/ifplugd/" 1.14 +WGET_URL="${WEB_SITE}$TARBALL" 1.15 + 1.16 +BUILD_DEPENDS="libdaemon-dev" 1.17 + 1.18 +# Rules to configure and make the package. 1.19 +compile_rules() 1.20 +{ 1.21 + ./configure --prefix=/usr \ 1.22 + --sysconfdir=/etc \ 1.23 + --mandir=/usr/share/man \ 1.24 + --disable-lynx \ 1.25 + $CONFIGURE_ARGS && 1.26 + make && 1.27 + make DESTDIR=$DESTDIR install 1.28 +} 1.29 + 1.30 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.31 +genpkg_rules() 1.32 +{ 1.33 + mkdir -p $fs/usr 1.34 + cp -a $install/usr/sbin $fs/usr 1.35 + cp -a $install/etc $fs 1.36 + sed -i 's|/bin/bash|/bin/sh|' $fs/etc/init.d/ifplugd 1.37 +}
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/libdaemon-dev/receipt Fri Feb 15 12:51:11 2019 +0100 2.3 @@ -0,0 +1,21 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="libdaemon-dev" 2.7 +VERSION="0.14" 2.8 +CATEGORY="development" 2.9 +SHORT_DESC="A lightweight C library that eases the writing of UNIX daemons, development tools" 2.10 +MAINTAINER="pascal.bellard@slitaz.org" 2.11 +LICENSE="LGPL2.1" 2.12 +WEB_SITE="http://0pointer.de/lennart/projects/libdaemon/" 2.13 +WANTED="libdaemon" 2.14 + 2.15 +DEPENDS="libdaemon pkg-config" 2.16 + 2.17 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.18 +genpkg_rules() 2.19 +{ 2.20 + mkdir -p $fs/usr/lib 2.21 + cp -a $install/usr/lib/*a $fs/usr/lib 2.22 + cp -a $install/usr/lib/pkgconfig $fs/usr/lib 2.23 + cp -a $install/usr/include $fs/usr 2.24 +}
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/libdaemon/receipt Fri Feb 15 12:51:11 2019 +0100 3.3 @@ -0,0 +1,27 @@ 3.4 +# SliTaz package receipt. 3.5 + 3.6 +PACKAGE="libdaemon" 3.7 +VERSION="0.14" 3.8 +CATEGORY="system-tools" 3.9 +SHORT_DESC="A lightweight C library that eases the writing of UNIX daemons" 3.10 +MAINTAINER="pascal.bellard@slitaz.org" 3.11 +LICENSE="LGPL2.1" 3.12 +TARBALL="$PACKAGE-$VERSION.tar.gz" 3.13 +WEB_SITE="http://0pointer.de/lennart/projects/libdaemon/" 3.14 +WGET_URL="${WEB_SITE}$TARBALL" 3.15 + 3.16 +# Rules to configure and make the package. 3.17 +compile_rules() 3.18 +{ 3.19 + ./configure --prefix=/usr \ 3.20 + $CONFIGURE_ARGS && 3.21 + make && 3.22 + make DESTDIR=$DESTDIR install 3.23 +} 3.24 + 3.25 +# Rules to gen a SliTaz package suitable for Tazpkg. 3.26 +genpkg_rules() 3.27 +{ 3.28 + mkdir -p $fs/usr/lib 3.29 + cp -a $install/usr/lib/*.so* $fs/usr/lib 3.30 +}
4.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 4.2 +++ b/netplug/receipt Fri Feb 15 12:51:11 2019 +0100 4.3 @@ -0,0 +1,28 @@ 4.4 +# SliTaz package receipt. 4.5 + 4.6 +PACKAGE="netplug" 4.7 +VERSION="1.2.9.2" 4.8 +CATEGORY="network" 4.9 +SHORT_DESC="A daemon that manages network interfaces plugs in and out." 4.10 +MAINTAINER="pascal.bellard@slitaz.org" 4.11 +LICENSE="GPL2" 4.12 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 4.13 +WEB_SITE="http://www.serpentine.com/blog/software/netplug/" 4.14 +WGET_URL="http://www.red-bean.com/~bos/netplug/$TARBALL" 4.15 + 4.16 +# Rules to configure and make the package. 4.17 +compile_rules() 4.18 +{ 4.19 + sed -i '/hg_root/,$d' Makefile 4.20 + make prefix=/usr netplugd && 4.21 + make DESTDIR=$DESTDIR install 4.22 +} 4.23 + 4.24 +# Rules to gen a SliTaz package suitable for Tazpkg. 4.25 +genpkg_rules() 4.26 +{ 4.27 + mkdir $fs/etc 4.28 + cp -a $install/etc/rc.d/init.d $fs/etc 4.29 + cp -a $install/etc/netp* $fs 4.30 + cp -a $install/sbin $fs 4.31 +}