wok rev 6919

merge
author Christopher Rogers <slaxemulator@gmail.com>
date Fri Oct 22 14:17:22 2010 +0000 (2010-10-22)
parents 7d8bcdc389d3 c576fbb79591
children d891dfb1f1ab bf83cc941560
files
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/vde2-dev/receipt	Fri Oct 22 14:17:22 2010 +0000
     1.3 @@ -0,0 +1,19 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="vde2-dev"
     1.7 +VERSION="2.3.1"
     1.8 +CATEGORY="developement"
     1.9 +SHORT_DESC="Virtual Distributed Ethernet developement files"
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +WEB_SITE="http://vde.sourceforge.net/"
    1.12 +WANTED="vde2"
    1.13 +
    1.14 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.15 +genpkg_rules()
    1.16 +{
    1.17 +	mkdir -p $fs/usr/lib/vde2
    1.18 +	cp -a $_pkg/usr/lib/*a $fs/usr/lib
    1.19 +	cp -a $_pkg/usr/lib/vde2/*a $fs/usr/lib/vde2
    1.20 +	cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib
    1.21 +	cp -a $_pkg/usr/include $fs/usr
    1.22 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/vde2/receipt	Fri Oct 22 14:17:22 2010 +0000
     2.3 @@ -0,0 +1,40 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="vde2"
     2.7 +VERSION="2.3.1"
     2.8 +CATEGORY="network"
     2.9 +SHORT_DESC="Virtual Distributed Ethernet."
    2.10 +MAINTAINER="pascal.bellard@slitaz.org"
    2.11 +DEPENDS="libcryto"
    2.12 +BUILD_DEPENDS="libcryto libcryto-dev"
    2.13 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    2.14 +WEB_SITE="http://vde.sourceforge.net/"
    2.15 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    2.16 +
    2.17 +# Rules to configure and make the package.
    2.18 +compile_rules()
    2.19 +{
    2.20 +	cd $src
    2.21 +	./configure --prefix=/usr \
    2.22 +	--libexecdir=/usr/lib/$PACKAGE \
    2.23 +	--sysconfdir=/etc \
    2.24 +	--mandir=/usr/share/man \
    2.25 +	$CONFIGURE_ARGS &&
    2.26 +	make &&
    2.27 +	make DESTDIR=$PWD/_pkg install
    2.28 +}
    2.29 +
    2.30 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.31 +genpkg_rules()
    2.32 +{
    2.33 +	mkdir -p $fs/usr/lib/vde2
    2.34 +	cp -a $_pkg/etc $fs
    2.35 +	cp -a $_pkg/usr/bin $fs/usr
    2.36 +	cp -a $_pkg/usr/sbin $fs/usr
    2.37 +	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    2.38 +	cp -a $_pkg/usr/lib/vde2/*.so* $fs/usr/lib/vde2
    2.39 +}
    2.40 +	cp -a $_pkg/usr/lib/*a $fs/usr/lib
    2.41 +	cp -a $_pkg/usr/lib/vde2/*a $fs/usr/lib/vde2
    2.42 +	cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib
    2.43 +	cp -a $_pkg/usr/include $fs/usr
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/watchdog/receipt	Fri Oct 22 14:17:22 2010 +0000
     3.3 @@ -0,0 +1,36 @@
     3.4 +# SliTaz package receipt.
     3.5 +
     3.6 +PACKAGE="watchdog"
     3.7 +VERSION="5.9"
     3.8 +CATEGORY="system-tools"
     3.9 +SHORT_DESC="Software watchdog for Linux."
    3.10 +MAINTAINER="pascal.bellard@slitaz.org"
    3.11 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    3.12 +WEB_SITE="http://watchdog.sourceforge.net/"
    3.13 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    3.14 +
    3.15 +# Rules to configure and make the package.
    3.16 +compile_rules()
    3.17 +{
    3.18 +	cd $src
    3.19 +
    3.20 +	./configure --prefix=/usr --infodir=/usr/share/info \
    3.21 +	--mandir=/usr/share/man \
    3.22 +	$CONFIGURE_ARGS &&
    3.23 +	make &&
    3.24 +	make DESTDIR=$PWD/_pkg install
    3.25 +}
    3.26 +
    3.27 +# Rules to gen a SliTaz package suitable for Tazpkg.
    3.28 +genpkg_rules()
    3.29 +{
    3.30 +	mkdir -p $fs/usr
    3.31 +	cp -a $_pkg/etc $fs
    3.32 +	cp -a $_pkg/usr/sbin $fs/usr
    3.33 +}
    3.34 +
    3.35 +# Pre and post install commands for Tazpkg.
    3.36 +post_install()
    3.37 +{
    3.38 +	[ -c $1/dev/watchdog ] || mknod -m 660  $1/dev/watchdog c 10 130
    3.39 +}