wok rev 11220

Add from wok-undigest: dansguardian dietlibc dietlibc-dev directfb directfb-dev distccmon-gui dovecot
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Nov 03 23:07:20 2011 +0100 (2011-11-03)
parents 02ae81877dfd
children 81200a5ef6b9
files dansguardian/receipt dietlibc-dev/receipt dietlibc/receipt directfb-dev/receipt directfb/receipt distccmon-gui/receipt distccmon-gui/stuff/distccmon-gui.desktop dovecot/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/dansguardian/receipt	Thu Nov 03 23:07:20 2011 +0100
     1.3 @@ -0,0 +1,45 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="dansguardian"
     1.7 +VERSION="2.10.1.1"
     1.8 +CATEGORY="network"
     1.9 +SHORT_DESC="Web content filter"
    1.10 +MAINTAINER="erjo@slitaz.org"
    1.11 +BUILD_DEPENDS="pcre-dev"
    1.12 +DEPENDS="squid"
    1.13 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14 +WEB_SITE="http://dansguardian.org/"
    1.15 +WGET_URL="http://dansguardian.org/downloads/2/Stable/$TARBALL"
    1.16 +SUGGESTED="clamav"
    1.17 +
    1.18 +# Rules to configure and make the package.
    1.19 +compile_rules()
    1.20 +{
    1.21 +	cd $src
    1.22 +	./configure \
    1.23 +		--prefix=/usr \
    1.24 +		--localstatedir=/var \
    1.25 +		--sysconfdir=/etc \
    1.26 +		--enable-fancydm=no \
    1.27 +		--with-proxyuser=nobody \
    1.28 +		--with-proxygroup=nogroup \
    1.29 +		$CONFIGURE_ARGS &&
    1.30 +	make && make DESTDIR=$DESTDIR install
    1.31 +}
    1.32 +
    1.33 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.34 +genpkg_rules()
    1.35 +{
    1.36 +	mkdir -p $fs/usr/sbin $fs/usr/share
    1.37 +	cp -a $_pkg/usr/sbin $fs/usr
    1.38 +	cp -a $_pkg/usr/share/${PACKAGE} $fs/usr/share
    1.39 +	cp -a $_pkg/var $fs/
    1.40 +	cp -a $_pkg/etc $fs/
    1.41 +}
    1.42 +
    1.43 +post_install()
    1.44 +{
    1.45 +		local root
    1.46 +	root=$1
    1.47 +	chown nobody.nogroup $root/var/log/dansguardian 
    1.48 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/dietlibc-dev/receipt	Thu Nov 03 23:07:20 2011 +0100
     2.3 @@ -0,0 +1,23 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="dietlibc-dev"
     2.7 +VERSION="0.32"
     2.8 +CATEGORY="development"
     2.9 +SHORT_DESC="A libc optimized for small size."
    2.10 +MAINTAINER="pascal.bellard@slitaz.org"
    2.11 +WEB_SITE="http://www.fefe.de/dietlibc/"
    2.12 +WANTED="dietlibc"
    2.13 +
    2.14 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.15 +genpkg_rules()
    2.16 +{
    2.17 +	mkdir -p $fs/usr/lib/diet/ $fs/usr/bin $fs/usr/include
    2.18 +	cp -a $src/include $fs/usr/lib/diet
    2.19 +	ln -s ../lib/diet/include $fs/usr/include/diet
    2.20 +	cp -a $_pkg/usr/lib/diet/lib-i386 $fs/usr/lib/diet
    2.21 +	rm -rf $fs/usr/lib/diet/lib-i386/*.so
    2.22 +	cp -a $_pkg/usr/lib/diet/bin $fs/usr/lib/diet
    2.23 +	ln -s /usr/lib/diet/bin/diet $fs/usr/bin
    2.24 +	ln -s /usr/lib/diet/bin/diet-dyn $fs/usr/bin
    2.25 +	ln -s /usr/lib/diet/bin/elftrunc $fs/usr/bin
    2.26 +}
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/dietlibc/receipt	Thu Nov 03 23:07:20 2011 +0100
     3.3 @@ -0,0 +1,28 @@
     3.4 +# SliTaz package receipt.
     3.5 +
     3.6 +PACKAGE="dietlibc"
     3.7 +VERSION="0.32"
     3.8 +CATEGORY="development"
     3.9 +SHORT_DESC="A libc optimized ofr small size."
    3.10 +MAINTAINER="pascal.bellard@slitaz.org"
    3.11 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    3.12 +WEB_SITE="http://www.fefe.de/dietlibc/"
    3.13 +WGET_URL="http://www.kernel.org/pub/linux/libs/$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 +	mkdir -p $PWD/_pkg/etc
    3.20 +	make -j 1 prefix=/usr/lib/diet && 
    3.21 +	make -j 1 dyn prefix=/usr/lib/diet && 
    3.22 +	make prefix=/usr/lib/diet DESTDIR=$PWD/_pkg 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/diet/lib-i386 $fs/etc
    3.29 +	cp -a $_pkg/usr/lib/diet/lib-i386/*.so $fs/usr/lib/diet/lib-i386
    3.30 +	echo /usr/lib/diet/lib-i386 > $fs/etc/diet.ld.conf
    3.31 +}
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/directfb-dev/receipt	Thu Nov 03 23:07:20 2011 +0100
     4.3 @@ -0,0 +1,21 @@
     4.4 +# SliTaz package receipt.
     4.5 +
     4.6 +PACKAGE="directfb-dev"
     4.7 +VERSION="1.4.3"
     4.8 +CATEGORY="development"
     4.9 +SHORT_DESC="DirectFB devel files."
    4.10 +WANTED="directfb"
    4.11 +SOURCE="DirectFB"
    4.12 +MAINTAINER="pankso@slitaz.org"
    4.13 +WEB_SITE="http://www.directfb.org/"
    4.14 +
    4.15 +# Rules to gen a SliTaz package suitable for Tazpkg.
    4.16 +genpkg_rules()
    4.17 +{
    4.18 +	mkdir -p $fs/usr/lib
    4.19 +	cp -a $_pkg/usr/include $fs/usr
    4.20 +	cp -a $_pkg/usr/lib/*.*a $fs/usr/lib
    4.21 +	cp -a $_pkg/usr/lib/directfb-1.4-0 $fs/usr/lib
    4.22 +	cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib
    4.23 +	find $fs/usr/lib -name "*.so*" -exec rm '{}' \;
    4.24 +}
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/directfb/receipt	Thu Nov 03 23:07:20 2011 +0100
     5.3 @@ -0,0 +1,33 @@
     5.4 +# SliTaz package receipt.
     5.5 +
     5.6 +PACKAGE="directfb"
     5.7 +VERSION="1.4.3"
     5.8 +CATEGORY="system-tools"
     5.9 +SHORT_DESC="Thin library that provides hardware graphics acceleration."
    5.10 +MAINTAINER="pankso@slitaz.org"
    5.11 +DEPENDS="libpng tslib"
    5.12 +BUILD_DEPENDS="libpng-dev tslib-dev"
    5.13 +SOURCE="DirectFB"
    5.14 +TARBALL="$SOURCE-$VERSION.tar.gz"
    5.15 +WEB_SITE="http://www.directfb.org/"
    5.16 +WGET_URL="http://www.directfb.org/downloads/Core/$SOURCE-1.4/$TARBALL"
    5.17 +
    5.18 +# Rules to configure and make the package.
    5.19 +compile_rules()
    5.20 +{
    5.21 +	cd $src
    5.22 +	./configure --prefix=/usr --sysconfdir=/etc --with-dither-rgb16=none &&
    5.23 +	make &&
    5.24 +	make DESTDIR=$PWD/_pkg install
    5.25 +}
    5.26 +
    5.27 +# Rules to gen a SliTaz package suitable for Tazpkg.
    5.28 +genpkg_rules()
    5.29 +{
    5.30 +	mkdir -p $fs/usr/lib $fs/usr/share
    5.31 +	cp -a $_pkg/usr/bin $fs/usr
    5.32 +	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    5.33 +	cp -a $_pkg/usr/lib/directfb-1.4-0 $fs/usr/lib
    5.34 +	cp -a $_pkg/usr/share/directfb-* $fs/usr/share
    5.35 +	find $fs/usr/lib -name "*.*a" -exec rm '{}' \;
    5.36 +}
     6.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.2 +++ b/distccmon-gui/receipt	Thu Nov 03 23:07:20 2011 +0100
     6.3 @@ -0,0 +1,23 @@
     6.4 +# SliTaz package receipt.
     6.5 +
     6.6 +PACKAGE="distccmon-gui"
     6.7 +VERSION="3.1"
     6.8 +CATEGORY="development"
     6.9 +SHORT_DESC="Distcc monitor GUI."
    6.10 +DEPENDS="gtk+ distcc"
    6.11 +WANTED="distcc"
    6.12 +MAINTAINER="pankso@slitaz.org"
    6.13 +WEB_SITE="http://code.google.com/p/distcc/"
    6.14 +
    6.15 +# Rules to gen a SliTaz package suitable for Tazpkg.
    6.16 +genpkg_rules()
    6.17 +{
    6.18 +	mkdir -p $fs/usr/bin \
    6.19 +		$fs/usr/share/applications \
    6.20 +		$fs/usr/share/pixmaps
    6.21 +	cp -a $_pkg/usr/bin/distccmon-gnome \
    6.22 +		$fs/usr/bin/distccmon-gui
    6.23 +	cp -a $_pkg/usr/share/distcc/distccmon-gnome-icon.png \
    6.24 +		$fs/usr/share/pixmaps/distccmon-gui.png
    6.25 +	cp stuff/*.desktop $fs/usr/share/applications
    6.26 +}
     7.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     7.2 +++ b/distccmon-gui/stuff/distccmon-gui.desktop	Thu Nov 03 23:07:20 2011 +0100
     7.3 @@ -0,0 +1,8 @@
     7.4 +[Desktop Entry]
     7.5 +Encoding=UTF-8
     7.6 +Name=Distcc Monitor
     7.7 +Exec=distccmon-gui
     7.8 +Icon=distccmon-gui.png
     7.9 +Type=Application
    7.10 +Categories=Development;
    7.11 +StartupNotify=true
     8.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     8.2 +++ b/dovecot/receipt	Thu Nov 03 23:07:20 2011 +0100
     8.3 @@ -0,0 +1,46 @@
     8.4 +# SliTaz package receipt.
     8.5 +
     8.6 +PACKAGE="dovecot"
     8.7 +VERSION="1.2.17"
     8.8 +CATEGORY="network"
     8.9 +SHORT_DESC="Dovecot IMAP and POP3 Server."
    8.10 +MAINTAINER="l.lemarinel@gmail.com"
    8.11 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    8.12 +WEB_SITE="www.dovecot.org"
    8.13 +WGET_URL="http://www.dovecot.org/releases/1.2/$TARBALL"
    8.14 +BUILD_DEPENDS="openssl-dev libcap-dev openldap-dev \
    8.15 + mysql-dev sqlite-dev pam-dev postgresql-dev"
    8.16 +DEPENDS="libssl libcap"
    8.17 +
    8.18 +
    8.19 +# Rules to configure and make the package.
    8.20 +compile_rules()
    8.21 +{
    8.22 +	cd $src
    8.23 +	./configure  --prefix=/usr \
    8.24 +		--sysconfdir=/etc/dovecot \
    8.25 +		--libexecdir=/usr/lib/$PACKAGE \
    8.26 +		--with-ssl=openssl \
    8.27 +		--with-ldap=plugin \
    8.28 +		--with-sql=plugin \
    8.29 +		--with-mysql \
    8.30 +		--with-pgsql \
    8.31 +		--with-sqlite &&
    8.32 +	make &&
    8.33 +	make DESTDIR=$DESTDIR install
    8.34 +	
    8.35 +}
    8.36 +
    8.37 +# Rules to gen a SliTaz package suitable for Tazpkg.
    8.38 +genpkg_rules()
    8.39 +{
    8.40 +	mkdir -p $fs/usr/lib
    8.41 +	
    8.42 +	cp -a $install/usr/sbin $fs/usr
    8.43 +	cp -a $install/usr/lib $fs/usr
    8.44 +	cp -a $install/etc $fs/
    8.45 +	
    8.46 +	# Remove archive file *.*a
    8.47 +	find $fs -name "*.*a" -exec rm -f {} \;
    8.48 +	
    8.49 +}