wok-next rev 11218

Add from wok-undigest: buildroot cairo-compmgr catfish cdrtools collectd collectd-apache collectd-bind collectd-dev
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Nov 03 22:14:55 2011 +0100 (2011-11-03)
parents 5189e691d619
children 02ae81877dfd
files buildroot/receipt cairo-compmgr/receipt catfish/receipt cdrtools/receipt collectd-apache/receipt collectd-bind/receipt collectd-dev/process.log collectd-dev/receipt collectd/receipt collectd/stuff/collectd
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/buildroot/receipt	Thu Nov 03 22:14:55 2011 +0100
     1.3 @@ -0,0 +1,31 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="buildroot"
     1.7 +VERSION="2010.02"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="Tools to build toolchains and root filesystems with uClibc."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.12 +WEB_SITE="http://www.buildroot.org/"
    1.13 +WGET_URL="${WEB_SITE}downloads/$TARBALL"
    1.14 +DEPENDS="slitaz-toolchain ncurses wget ncursesw-extra"
    1.15 +SUGGESTED="subversion bazaar git elfkickers ccache"
    1.16 +
    1.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.18 +genpkg_rules()
    1.19 +{
    1.20 +	mkdir -p $fs/usr/lib
    1.21 +	cp -a $src $fs/usr/lib/buildroot
    1.22 +}
    1.23 +
    1.24 +# Pre and post install commands for Tazpkg.
    1.25 +post_install()
    1.26 +{
    1.27 +	[ -L /usr/bin/wget ] && tazpkg get-install wget --forced
    1.28 +	cat <<EOT
    1.29 +Now you can do:
    1.30 +$ cd /usr/lib/buildroot
    1.31 +$ make menuconfig
    1.32 +EOT
    1.33 +}
    1.34 +
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/cairo-compmgr/receipt	Thu Nov 03 22:14:55 2011 +0100
     2.3 @@ -0,0 +1,32 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="cairo-compmgr"
     2.7 +VERSION="0.3.0"
     2.8 +CATEGORY="x-window"
     2.9 +SHORT_DESC="Cairo Composite Manager"
    2.10 +MAINTAINER="pankso@slitaz.org"
    2.11 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.12 +WEB_SITE="http://cairo-compmgr.tuxfamily.org/"
    2.13 +WGET_URL="http://download.tuxfamily.org/ccm/cairo-compmgr/$TARBALL"
    2.14 +
    2.15 +DEPENDS="gtk+ cairo librsvg util-linux-ng-uuid"
    2.16 +BUILD_DEPENDS="gtk+-dev cairo-dev librsvg-dev vala util-linux-ng-uuid-dev"
    2.17 +
    2.18 +# Rules to configure and make the package.
    2.19 +compile_rules()
    2.20 +{
    2.21 +	sed -i "s/vala-1.0/$(basename /usr/lib/pkgconfig/libvala-*.pc .pc)/" configure
    2.22 +	./configure $CONFIGURE_ARGS && make && make install
    2.23 +}
    2.24 +
    2.25 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.26 +genpkg_rules()
    2.27 +{
    2.28 +	mkdir -p $fs/usr/lib $fs/usr/share
    2.29 +	cp -a $_pkg/usr/bin $fs/usr
    2.30 +	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    2.31 +	cp -a $_pkg/usr/lib/$PACKAGE $fs/usr/lib
    2.32 +	cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share
    2.33 +	cp -a $_pkg/usr/share/pixmaps $fs/usr/share
    2.34 +	rm $fs/usr/lib/$PACKAGE/*.*a
    2.35 +}
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/catfish/receipt	Thu Nov 03 22:14:55 2011 +0100
     3.3 @@ -0,0 +1,33 @@
     3.4 +# SliTaz package receipt.
     3.5 +
     3.6 +PACKAGE="catfish"
     3.7 +VERSION="0.3.2"
     3.8 +CATEGORY="utilities"
     3.9 +SHORT_DESC="Catfish is a versatile file searching tool."
    3.10 +MAINTAINER="devl547@gmail.com"
    3.11 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    3.12 +WEB_SITE="http://www.twotoasts.de/"
    3.13 +WGET_URL="http://www.twotoasts.de/media/catfish/$TARBALL"
    3.14 +BUILD_DEPENDS="pygtk-dev libglade-dev"
    3.15 +DEPENDS="pygtk libglade python-xdg"
    3.16 +
    3.17 +# Rules to configure and make the package.
    3.18 +compile_rules()
    3.19 +{
    3.20 +	cd $src
    3.21 +	./configure --prefix=/usr &&
    3.22 +	make &&
    3.23 +	make DESTDIR=$PWD/_pkg install
    3.24 +}
    3.25 +
    3.26 +# Rules to gen a SliTaz package suitable for Tazpkg.
    3.27 +genpkg_rules()
    3.28 +{
    3.29 +	mkdir -p $fs/usr/share/catfish
    3.30 +	mkdir $fs/usr/share
    3.31 +	
    3.32 +	cp -a $_pkg/usr/bin $fs/usr
    3.33 +	cp -a $_pkg/usr/share/catfish $fs/usr/share
    3.34 +	cp -a $_pkg/usr/share/icons $fs/usr/share
    3.35 +	cp -a $_pkg/usr/share/applications $fs/usr/share
    3.36 +}
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/cdrtools/receipt	Thu Nov 03 22:14:55 2011 +0100
     4.3 @@ -0,0 +1,34 @@
     4.4 +# SliTaz package receipt.
     4.5 +
     4.6 +PACKAGE="cdrtools"
     4.7 +VERSION="3.00"
     4.8 +CATEGORY="multimedia"
     4.9 +SHORT_DESC="Command line programs to record CD/DVD/BluRay media."
    4.10 +MAINTAINER="paul@slitaz.org"
    4.11 +DEPENDS=""
    4.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    4.13 +WEB_SITE="http://cdrecord.berlios.de/private/cdrecord.html"
    4.14 +WGET_URL="ftp://ftp.berlios.de/pub/cdrecord/$TARBALL"
    4.15 +
    4.16 +# Rules to configure and make the package.
    4.17 +compile_rules()
    4.18 +{
    4.19 +	# hack makefile
    4.20 +	cd $src/DEFAULTS
    4.21 +	sed -i 's/DEFINSGRP=	bin/DEFINSGRP=	root/' Defaults.linux
    4.22 +	cd ..
    4.23 +	./configure
    4.24 +	make && make DESTDIR=$PWD/_pkg install
    4.25 +}
    4.26 +
    4.27 +# Rules to gen a SliTaz package suitable for Tazpkg.
    4.28 +genpkg_rules()
    4.29 +{
    4.30 +	mkdir -p $fs/usr/lib $fs/usr/share
    4.31 +	cp -a $_pkg/etc $fs
    4.32 +	cp -a $_pkg/opt/schily/bin $fs/usr
    4.33 +	cp -a $_pkg/opt/schily/sbin $fs/usr
    4.34 +	cp -a $_pkg/opt/schily/lib/siconv $fs/usr/lib
    4.35 +	cp -a $_pkg/opt/schily/share/doc $fs/usr/share
    4.36 +}
    4.37 +
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/collectd-apache/receipt	Thu Nov 03 22:14:55 2011 +0100
     5.3 @@ -0,0 +1,36 @@
     5.4 +# SliTaz package receipt.
     5.5 +
     5.6 +PACKAGE="collectd-apache"
     5.7 +VERSION="4.7.0"
     5.8 +CATEGORY="network"
     5.9 +SHORT_DESC="Apache plugin for Collectd"
    5.10 +MAINTAINER="erjo@slitaz.org"
    5.11 +DEPENDS="libcurl apache"
    5.12 +BUILD_DEPENDS="curl-dev"
    5.13 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    5.14 +WEB_SITE="http://collectd.org"
    5.15 +#CONFIG_FILES="/etc/collectd/collectd.conf"
    5.16 +WANTED="collectd"
    5.17 +
    5.18 +# Rules to configure and make the package.
    5.19 +compile_rules()
    5.20 +{
    5.21 +	cd $src
    5.22 +	./configure \
    5.23 +		--prefix=/usr \
    5.24 +		--localstatedir=/var \
    5.25 +		--enable-apache \
    5.26 +		--disable-all-plugins \
    5.27 +		--sysconfdir=/etc/collectd \
    5.28 +		$CONFIGURE_ARGS &&
    5.29 +	make && make DESTDIR=$PWD/_plugins install
    5.30 +}
    5.31 +
    5.32 +# Rules to gen a SliTaz package suitable for Tazpkg.
    5.33 +genpkg_rules()
    5.34 +{
    5.35 +	mkdir -p $fs/usr/lib/collectd
    5.36 +
    5.37 +	cp -a $_pkg/usr/lib/collectd/*.so* $fs/usr/lib/collectd
    5.38 +}
    5.39 +
     6.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.2 +++ b/collectd-bind/receipt	Thu Nov 03 22:14:55 2011 +0100
     6.3 @@ -0,0 +1,37 @@
     6.4 +# SliTaz package receipt.
     6.5 +
     6.6 +PACKAGE="collectd-bind"
     6.7 +SOURCE="collectd"
     6.8 +VERSION="4.7.0"
     6.9 +CATEGORY="network"
    6.10 +SHORT_DESC="Apache plugin for Collectd"
    6.11 +MAINTAINER="erjo@slitaz.org"
    6.12 +DEPENDS="libcurl libxml2"
    6.13 +BUILD_DEPENDS="libcurl curl-dev libxml2 libxml2-dev"
    6.14 +TARBALL="$SOURCE-$VERSION.tar.gz"
    6.15 +WEB_SITE="http://collectd.org"
    6.16 +#CONFIG_FILES="/etc/collectd/collectd.conf"
    6.17 +
    6.18 +# Rules to configure and make the package.
    6.19 +compile_rules()
    6.20 +{
    6.21 +	cd $src
    6.22 +	sed -i 's/ipt_error_target/ipt2_error_target/' src/libiptc/libiptc.c
    6.23 +	./configure \
    6.24 +		--prefix=/usr \
    6.25 +		--localstatedir=/var \
    6.26 +		--enable-bind \
    6.27 +		--disable-all-plugins \
    6.28 +		--sysconfdir=/etc/collectd \
    6.29 +		$CONFIGURE_ARGS &&
    6.30 +	make && make DESTDIR=$PWD/_pkg install
    6.31 +}
    6.32 +
    6.33 +# Rules to gen a SliTaz package suitable for Tazpkg.
    6.34 +genpkg_rules()
    6.35 +{
    6.36 +	mkdir -p $fs/usr/lib/collectd
    6.37 +
    6.38 +	cp -a $_pkg/usr/lib/collectd/bind.so* $fs/usr/lib/collectd
    6.39 +}
    6.40 +
     7.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     7.2 +++ b/collectd-dev/process.log	Thu Nov 03 22:14:55 2011 +0100
     7.3 @@ -0,0 +1,13 @@
     7.4 +executing genpkg_rules
     7.5 +collectd-4.7.0.tazpkg (done)
     7.6 +date 20090530 15:50:27
     7.7 +package collectd (compile)
     7.8 +no compile_rules
     7.9 +executing genpkg_rules
    7.10 +collectd-4.7.0.tazpkg (done)
    7.11 +executing genpkg_rules
    7.12 +collectd-4.7.0.tazpkg (done)
    7.13 +executing genpkg_rules
    7.14 +collectd-4.7.0.tazpkg (done)
    7.15 +executing genpkg_rules
    7.16 +collectd-4.7.0.tazpkg (done)
     8.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     8.2 +++ b/collectd-dev/receipt	Thu Nov 03 22:14:55 2011 +0100
     8.3 @@ -0,0 +1,25 @@
     8.4 +# SliTaz package receipt.
     8.5 +
     8.6 +PACKAGE="collectd-dev"
     8.7 +VERSION="4.7.0"
     8.8 +CATEGORY="network"
     8.9 +SHORT_DESC="System Stattistics Collection Daemon"
    8.10 +MAINTAINER="erjo@slitaz.org"
    8.11 +DEPENDS=""
    8.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    8.13 +WEB_SITE="http://collectd.org"
    8.14 +WANTED="collectd"
    8.15 +# Rules to config
    8.16 +
    8.17 +
    8.18 +# Rules to gen a SliTaz package suitable for Tazpkg.
    8.19 +genpkg_rules()
    8.20 +{
    8.21 +	mkdir -p $fs/usr/lib
    8.22 +
    8.23 +	cp -a $_pkg/usr/include $fs/usr
    8.24 +	cp -a $_pkg/usr/lib/*.*a $fs/usr/lib
    8.25 +	cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib
    8.26 +
    8.27 +}
    8.28 +
     9.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     9.2 +++ b/collectd/receipt	Thu Nov 03 22:14:55 2011 +0100
     9.3 @@ -0,0 +1,61 @@
     9.4 +# SliTaz package receipt.
     9.5 +
     9.6 +PACKAGE="collectd"
     9.7 +VERSION="4.7.0"
     9.8 +CATEGORY="network"
     9.9 +SHORT_DESC="System Stattistics Collection Daemon"
    9.10 +MAINTAINER="erjo@slitaz.org"
    9.11 +DEPENDS="rrdtool perl"
    9.12 +BUILD_DEPENDS="slitaz-toolchain rrdtool-dev"
    9.13 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    9.14 +WEB_SITE="http://collectd.org"
    9.15 +WGET_URL="http://collectd.org/files/$TARBALL"
    9.16 +CONFIG_FILES="/etc/collectd/collectd.conf"
    9.17 +
    9.18 +# Rules to configure and make the package.
    9.19 +compile_rules()
    9.20 +{
    9.21 +	cd $src
    9.22 +	sed -i 's/ipt_error_target/ipt2_error_target/' src/libiptc/libiptc.c
    9.23 +	./configure \
    9.24 +		--prefix=/usr \
    9.25 +		--localstatedir=/var \
    9.26 +		--enable-interface \
    9.27 +		--enable-load \
    9.28 +		--enable-cpu \
    9.29 +		--enable-disk \
    9.30 +		--enable-logfile \
    9.31 +		--enable-syslog \
    9.32 +		--enable-csv\
    9.33 +		--enable-rrdtool \
    9.34 +		--with-librrdtool=/usr/include \
    9.35 +		--disable-all-plugins \
    9.36 +		--sysconfdir=/etc/collectd \
    9.37 +		--localstatedir=/var \
    9.38 +		$CONFIGURE_ARGS &&
    9.39 +	make && make DESTDIR=$PWD/_pkg install
    9.40 +}
    9.41 +
    9.42 +# Rules to gen a SliTaz package suitable for Tazpkg.
    9.43 +genpkg_rules()
    9.44 +{
    9.45 +
    9.46 +	mkdir -p $fs/usr/lib/collectd \
    9.47 +		$fs/usr/share \
    9.48 +		$fs/etc/init.d
    9.49 +	
    9.50 +	
    9.51 +	cp -a $_pkg/etc $fs/
    9.52 +	cp -a $_pkg/var $fs/
    9.53 +	cp -a $_pkg/usr/share/collectd $fs/usr/share
    9.54 +	cp -a $_pkg/usr/bin $fs/usr
    9.55 +	cp -a $_pkg/usr/sbin $fs/usr
    9.56 +	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    9.57 +	cp -a $_pkg/usr/lib/collectd/*.so $fs/usr/lib/collectd
    9.58 +	cp -a $_pkg/usr/lib/perl5 $fs/usr/lib
    9.59 +	
    9.60 +	# Add init script and fixes
    9.61 +	install -g root -o root -m 0755 stuff/collectd $fs/etc/init.d
    9.62 +	chmod 0644 $fs/etc/collectd/*
    9.63 +}
    9.64 +
    10.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    10.2 +++ b/collectd/stuff/collectd	Thu Nov 03 22:14:55 2011 +0100
    10.3 @@ -0,0 +1,55 @@
    10.4 +#!/bin/sh
    10.5 +# /etc/init.d/collectd : Start, stop and restart Collectd server on SliTaz, at 
    10.6 +# boot time or with the command line.
    10.7 +#
    10.8 +# To start Collectd server at boot time, just put collectd in the $RUN_DAEMONS
    10.9 +# variable of /etc/rcS.conf and configure options with /etc/daemons.conf
   10.10 +#
   10.11 +. /etc/init.d/rc.functions
   10.12 +. /etc/daemons.conf
   10.13 +
   10.14 +NAME=collectd
   10.15 +DESC="Statistics collection daemon"
   10.16 +DAEMON=/usr/sbin/collectd
   10.17 +OPTIONS=""
   10.18 +PIDFILE=/var/run/collectd.pid
   10.19 +
   10.20 +case "$1" in
   10.21 +  start)
   10.22 +    if active_pidfile $PIDFILE collectd ; then
   10.23 +      echo "$NAME already running."
   10.24 +      exit 1
   10.25 +    fi
   10.26 +    echo -n "Starting $DESC: $NAME... "
   10.27 +    $DAEMON $OPTIONS
   10.28 +    status
   10.29 +    ;;
   10.30 +  stop)
   10.31 +    if ! active_pidfile $PIDFILE collectd ; then
   10.32 +      echo "$NAME is not running."
   10.33 +      exit 1
   10.34 +    fi
   10.35 +    echo -n "Stopping $DESC: $NAME... "
   10.36 +    kill `cat $PIDFILE`
   10.37 +    status
   10.38 +    ;;
   10.39 +  restart)
   10.40 +    if ! active_pidfile $PIDFILE collectd ; then
   10.41 +      echo "$NAME is not running."
   10.42 +      exit 1
   10.43 +    fi
   10.44 +    echo -n "Restarting $DESC: $NAME... "
   10.45 +    kill `cat $PIDFILE`
   10.46 +    sleep 2
   10.47 +    $DAEMON $OPTIONS
   10.48 +    status
   10.49 +    ;;
   10.50 +  *)
   10.51 +    echo ""
   10.52 +    echo -e "\033[1mUsage:\033[0m /etc/init.d/`basename $0` [start|stop|restart]"
   10.53 +    echo ""
   10.54 +    exit 1
   10.55 +    ;;
   10.56 +esac
   10.57 +
   10.58 +exit 0