# HG changeset patch # User Pascal Bellard # Date 1320361772 -3600 # Node ID 1311ba9fe4bf798054179323346ee991f1254c6d # Parent ea3283ffaffe00695f253697b1fa438bb4e0b05d Add from wok-undigest: micro_proxy moosefs motion muninlite diff -r ea3283ffaffe -r 1311ba9fe4bf micro_proxy/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/micro_proxy/receipt Fri Nov 04 00:09:32 2011 +0100 @@ -0,0 +1,25 @@ +# SliTaz package receipt. + +PACKAGE="micro_proxy" +VERSION="30oct2002" +CATEGORY="network" +SHORT_DESC="A small HTTP/HTTPS proxy." +MAINTAINER="pascal.bellard@slitaz.org" +TARBALL="${PACKAGE}_$VERSION.tar.gz" +WEB_SITE="http://www.acme.com/software/micro_proxy/" +WGET_URL="${WEB_SITE}$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + mv $PACKAGE $PACKAGE-$VERSION 2> /dev/null + cd $src + make +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/bin + cp -a $src/$PACKAGE $fs/usr/bin +} diff -r ea3283ffaffe -r 1311ba9fe4bf moosefs/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/moosefs/receipt Fri Nov 04 00:09:32 2011 +0100 @@ -0,0 +1,38 @@ +# SliTaz package receipt. + +PACKAGE="moosefs" +VERSION="1.6.20-2" +SOURCE="mfs" +CATEGORY="system-tools" +SHORT_DESC="Fault tolerant, network distributed file system." +MAINTAINER="pascal.bellard@slitaz.org" +TARBALL="$SOURCE-$VERSION.tar.gz" +WEB_SITE="http://www.moosefs.org/" +WGET_URL="${WEB_SITE}tl_files/mfscode/$TARBALL" + +DEPENDS="python fuse zlib" +BUILD_DEPENDS="python pkg-config fuse-dev zlib-dev" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + sed -i 's/bash/sh/' mfsmount/mfssnapshot + ./configure --prefix=/usr --mandir=/usr/share/man \ + --sysconfdir=/etc \ + --localstatedir=/var \ + $CONFIGURE_ARGS && + make && + make DESTDIR=$DESTDIR install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/share + cp -a $_pkg/etc $fs + cp -a $_pkg/var $fs + cp -a $_pkg/usr/share/mfscgi $fs/usr/share + cp -a $_pkg/usr/sbin $fs/usr + cp -a $_pkg/usr/bin $fs/usr +} diff -r ea3283ffaffe -r 1311ba9fe4bf motion/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/motion/receipt Fri Nov 04 00:09:32 2011 +0100 @@ -0,0 +1,30 @@ +# SliTaz package receipt. + +PACKAGE="motion" +VERSION="3.2.12" +CATEGORY="multimedia" +SHORT_DESC="Motion is a program that monitors the video signal from cameras." +MAINTAINER="pankso@slitaz.org" +DEPENDS="libpthread-stubs jpeg ffmpeg" +BUILD_DEPENDS="$DEPENDS jpeg-dev ffmpeg-dev" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://www.lavrsen.dk/foswiki/bin/view/Motion" +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure \ + --sysconfdir=/etc/motion && + make && make 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/bin $fs/usr + chmod 0644 $fs/etc/motion/* +} diff -r ea3283ffaffe -r 1311ba9fe4bf muninlite/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/muninlite/receipt Fri Nov 04 00:09:32 2011 +0100 @@ -0,0 +1,37 @@ +# SliTaz package receipt. + +PACKAGE="muninlite" +VERSION="1.0.4" +CATEGORY="network" +SHORT_DESC="Simple Munin node." +MAINTAINER="pascal.bellard@slitaz.org" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://$PACKAGE.sourceforge.net/" +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" + +BUILD_DEPENDS="perl" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + make +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/bin + cp -a $src/munin-node $fs/usr/bin +} + +# Pre and post install commands for Tazpkg. +post_install() +{ + grep -q 4949 $1/etc/services || + echo "munin 4949/tcp" >> $1/etc/services + grep -q ^munin $1/etc/inetd.conf || cat >> $1/etc/inetd.conf <