# HG changeset patch # User Pascal Bellard # Date 1320358040 -3600 # Node ID e5b73f3c73d4c1e2f5b64fd3762adff4848fd6c0 # Parent 02ae81877dfd5ea4b41a7534dfc3201e30bc42cf Add from wok-undigest: dansguardian dietlibc dietlibc-dev directfb directfb-dev distccmon-gui dovecot diff -r 02ae81877dfd -r e5b73f3c73d4 dansguardian/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dansguardian/receipt Thu Nov 03 23:07:20 2011 +0100 @@ -0,0 +1,45 @@ +# SliTaz package receipt. + +PACKAGE="dansguardian" +VERSION="2.10.1.1" +CATEGORY="network" +SHORT_DESC="Web content filter" +MAINTAINER="erjo@slitaz.org" +BUILD_DEPENDS="pcre-dev" +DEPENDS="squid" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://dansguardian.org/" +WGET_URL="http://dansguardian.org/downloads/2/Stable/$TARBALL" +SUGGESTED="clamav" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure \ + --prefix=/usr \ + --localstatedir=/var \ + --sysconfdir=/etc \ + --enable-fancydm=no \ + --with-proxyuser=nobody \ + --with-proxygroup=nogroup \ + $CONFIGURE_ARGS && + make && make DESTDIR=$DESTDIR install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/sbin $fs/usr/share + cp -a $_pkg/usr/sbin $fs/usr + cp -a $_pkg/usr/share/${PACKAGE} $fs/usr/share + cp -a $_pkg/var $fs/ + cp -a $_pkg/etc $fs/ +} + +post_install() +{ + local root + root=$1 + chown nobody.nogroup $root/var/log/dansguardian +} diff -r 02ae81877dfd -r e5b73f3c73d4 dietlibc-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dietlibc-dev/receipt Thu Nov 03 23:07:20 2011 +0100 @@ -0,0 +1,23 @@ +# SliTaz package receipt. + +PACKAGE="dietlibc-dev" +VERSION="0.32" +CATEGORY="development" +SHORT_DESC="A libc optimized for small size." +MAINTAINER="pascal.bellard@slitaz.org" +WEB_SITE="http://www.fefe.de/dietlibc/" +WANTED="dietlibc" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib/diet/ $fs/usr/bin $fs/usr/include + cp -a $src/include $fs/usr/lib/diet + ln -s ../lib/diet/include $fs/usr/include/diet + cp -a $_pkg/usr/lib/diet/lib-i386 $fs/usr/lib/diet + rm -rf $fs/usr/lib/diet/lib-i386/*.so + cp -a $_pkg/usr/lib/diet/bin $fs/usr/lib/diet + ln -s /usr/lib/diet/bin/diet $fs/usr/bin + ln -s /usr/lib/diet/bin/diet-dyn $fs/usr/bin + ln -s /usr/lib/diet/bin/elftrunc $fs/usr/bin +} diff -r 02ae81877dfd -r e5b73f3c73d4 dietlibc/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dietlibc/receipt Thu Nov 03 23:07:20 2011 +0100 @@ -0,0 +1,28 @@ +# SliTaz package receipt. + +PACKAGE="dietlibc" +VERSION="0.32" +CATEGORY="development" +SHORT_DESC="A libc optimized ofr small size." +MAINTAINER="pascal.bellard@slitaz.org" +TARBALL="$PACKAGE-$VERSION.tar.bz2" +WEB_SITE="http://www.fefe.de/dietlibc/" +WGET_URL="http://www.kernel.org/pub/linux/libs/$PACKAGE/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + mkdir -p $PWD/_pkg/etc + make -j 1 prefix=/usr/lib/diet && + make -j 1 dyn prefix=/usr/lib/diet && + make prefix=/usr/lib/diet DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib/diet/lib-i386 $fs/etc + cp -a $_pkg/usr/lib/diet/lib-i386/*.so $fs/usr/lib/diet/lib-i386 + echo /usr/lib/diet/lib-i386 > $fs/etc/diet.ld.conf +} diff -r 02ae81877dfd -r e5b73f3c73d4 directfb-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/directfb-dev/receipt Thu Nov 03 23:07:20 2011 +0100 @@ -0,0 +1,21 @@ +# SliTaz package receipt. + +PACKAGE="directfb-dev" +VERSION="1.4.3" +CATEGORY="development" +SHORT_DESC="DirectFB devel files." +WANTED="directfb" +SOURCE="DirectFB" +MAINTAINER="pankso@slitaz.org" +WEB_SITE="http://www.directfb.org/" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $_pkg/usr/include $fs/usr + cp -a $_pkg/usr/lib/*.*a $fs/usr/lib + cp -a $_pkg/usr/lib/directfb-1.4-0 $fs/usr/lib + cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib + find $fs/usr/lib -name "*.so*" -exec rm '{}' \; +} diff -r 02ae81877dfd -r e5b73f3c73d4 directfb/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/directfb/receipt Thu Nov 03 23:07:20 2011 +0100 @@ -0,0 +1,33 @@ +# SliTaz package receipt. + +PACKAGE="directfb" +VERSION="1.4.3" +CATEGORY="system-tools" +SHORT_DESC="Thin library that provides hardware graphics acceleration." +MAINTAINER="pankso@slitaz.org" +DEPENDS="libpng tslib" +BUILD_DEPENDS="libpng-dev tslib-dev" +SOURCE="DirectFB" +TARBALL="$SOURCE-$VERSION.tar.gz" +WEB_SITE="http://www.directfb.org/" +WGET_URL="http://www.directfb.org/downloads/Core/$SOURCE-1.4/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure --prefix=/usr --sysconfdir=/etc --with-dither-rgb16=none && + make && + make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib $fs/usr/share + cp -a $_pkg/usr/bin $fs/usr + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib + cp -a $_pkg/usr/lib/directfb-1.4-0 $fs/usr/lib + cp -a $_pkg/usr/share/directfb-* $fs/usr/share + find $fs/usr/lib -name "*.*a" -exec rm '{}' \; +} diff -r 02ae81877dfd -r e5b73f3c73d4 distccmon-gui/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/distccmon-gui/receipt Thu Nov 03 23:07:20 2011 +0100 @@ -0,0 +1,23 @@ +# SliTaz package receipt. + +PACKAGE="distccmon-gui" +VERSION="3.1" +CATEGORY="development" +SHORT_DESC="Distcc monitor GUI." +DEPENDS="gtk+ distcc" +WANTED="distcc" +MAINTAINER="pankso@slitaz.org" +WEB_SITE="http://code.google.com/p/distcc/" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/bin \ + $fs/usr/share/applications \ + $fs/usr/share/pixmaps + cp -a $_pkg/usr/bin/distccmon-gnome \ + $fs/usr/bin/distccmon-gui + cp -a $_pkg/usr/share/distcc/distccmon-gnome-icon.png \ + $fs/usr/share/pixmaps/distccmon-gui.png + cp stuff/*.desktop $fs/usr/share/applications +} diff -r 02ae81877dfd -r e5b73f3c73d4 distccmon-gui/stuff/distccmon-gui.desktop --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/distccmon-gui/stuff/distccmon-gui.desktop Thu Nov 03 23:07:20 2011 +0100 @@ -0,0 +1,8 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=Distcc Monitor +Exec=distccmon-gui +Icon=distccmon-gui.png +Type=Application +Categories=Development; +StartupNotify=true diff -r 02ae81877dfd -r e5b73f3c73d4 dovecot/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dovecot/receipt Thu Nov 03 23:07:20 2011 +0100 @@ -0,0 +1,46 @@ +# SliTaz package receipt. + +PACKAGE="dovecot" +VERSION="1.2.17" +CATEGORY="network" +SHORT_DESC="Dovecot IMAP and POP3 Server." +MAINTAINER="l.lemarinel@gmail.com" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="www.dovecot.org" +WGET_URL="http://www.dovecot.org/releases/1.2/$TARBALL" +BUILD_DEPENDS="openssl-dev libcap-dev openldap-dev \ + mysql-dev sqlite-dev pam-dev postgresql-dev" +DEPENDS="libssl libcap" + + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure --prefix=/usr \ + --sysconfdir=/etc/dovecot \ + --libexecdir=/usr/lib/$PACKAGE \ + --with-ssl=openssl \ + --with-ldap=plugin \ + --with-sql=plugin \ + --with-mysql \ + --with-pgsql \ + --with-sqlite && + make && + make DESTDIR=$DESTDIR install + +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + + cp -a $install/usr/sbin $fs/usr + cp -a $install/usr/lib $fs/usr + cp -a $install/etc $fs/ + + # Remove archive file *.*a + find $fs -name "*.*a" -exec rm -f {} \; + +}