# HG changeset patch # User Christopher Rogers # Date 1287757042 0 # Node ID dfa088e80f23683a21a345a1cdd81cc2a294fbfa # Parent 7d8bcdc389d35b88b05de8ba321a722e18934320# Parent c576fbb79591a09de95f7cc6eded4afce7f0cb15 merge diff -r 7d8bcdc389d3 -r dfa088e80f23 vde2-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/vde2-dev/receipt Fri Oct 22 14:17:22 2010 +0000 @@ -0,0 +1,19 @@ +# SliTaz package receipt. + +PACKAGE="vde2-dev" +VERSION="2.3.1" +CATEGORY="developement" +SHORT_DESC="Virtual Distributed Ethernet developement files" +MAINTAINER="pascal.bellard@slitaz.org" +WEB_SITE="http://vde.sourceforge.net/" +WANTED="vde2" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib/vde2 + cp -a $_pkg/usr/lib/*a $fs/usr/lib + cp -a $_pkg/usr/lib/vde2/*a $fs/usr/lib/vde2 + cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib + cp -a $_pkg/usr/include $fs/usr +} diff -r 7d8bcdc389d3 -r dfa088e80f23 vde2/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/vde2/receipt Fri Oct 22 14:17:22 2010 +0000 @@ -0,0 +1,40 @@ +# SliTaz package receipt. + +PACKAGE="vde2" +VERSION="2.3.1" +CATEGORY="network" +SHORT_DESC="Virtual Distributed Ethernet." +MAINTAINER="pascal.bellard@slitaz.org" +DEPENDS="libcryto" +BUILD_DEPENDS="libcryto libcryto-dev" +TARBALL="$PACKAGE-$VERSION.tar.bz2" +WEB_SITE="http://vde.sourceforge.net/" +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure --prefix=/usr \ + --libexecdir=/usr/lib/$PACKAGE \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + $CONFIGURE_ARGS && + make && + make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib/vde2 + cp -a $_pkg/etc $fs + cp -a $_pkg/usr/bin $fs/usr + cp -a $_pkg/usr/sbin $fs/usr + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib + cp -a $_pkg/usr/lib/vde2/*.so* $fs/usr/lib/vde2 +} + cp -a $_pkg/usr/lib/*a $fs/usr/lib + cp -a $_pkg/usr/lib/vde2/*a $fs/usr/lib/vde2 + cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib + cp -a $_pkg/usr/include $fs/usr diff -r 7d8bcdc389d3 -r dfa088e80f23 watchdog/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/watchdog/receipt Fri Oct 22 14:17:22 2010 +0000 @@ -0,0 +1,36 @@ +# SliTaz package receipt. + +PACKAGE="watchdog" +VERSION="5.9" +CATEGORY="system-tools" +SHORT_DESC="Software watchdog for Linux." +MAINTAINER="pascal.bellard@slitaz.org" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://watchdog.sourceforge.net/" +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + + ./configure --prefix=/usr --infodir=/usr/share/info \ + --mandir=/usr/share/man \ + $CONFIGURE_ARGS && + make && + make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr + cp -a $_pkg/etc $fs + cp -a $_pkg/usr/sbin $fs/usr +} + +# Pre and post install commands for Tazpkg. +post_install() +{ + [ -c $1/dev/watchdog ] || mknod -m 660 $1/dev/watchdog c 10 130 +}