# HG changeset patch # User Pascal Bellard # Date 1338563608 -7200 # Node ID b994d2c0f8025c536b961f28e6f2f0700f45c123 # Parent 1adac4b0fd89933db6cda9795ce9477770092a18 Move from undigest screenlets python-werkzeug plymouth network-manager n2nc kompozer hiawatha awstats-hotspot diff -r 1adac4b0fd89 -r b994d2c0f802 awstats-hotspot/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/awstats-hotspot/receipt Fri Jun 01 17:13:28 2012 +0200 @@ -0,0 +1,27 @@ +# SliTaz package receipt. + +PACKAGE="awstats-hotspot" +VERSION="1.0" +CATEGORY="network" +SHORT_DESC="Squid Log file analyzer configuration" +MAINTAINER="pascal.bellard@slitaz.org" +DEPENDS="squid awstats" +WEB_SITE="http://www.slitaz.org/" +TAGS="log analyze" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/bin + cp $stuff/* $fs/usr/bin +} + +post_install() +{ + chroot $1/ /usr/bin/loghotspot.sh --install +} + +post_remove() +{ + grep -l loghotspot.sh /etc/awstats/*.conf | xargs rm -f +} diff -r 1adac4b0fd89 -r b994d2c0f802 awstats-hotspot/stuff/loghotspot.sh --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/awstats-hotspot/stuff/loghotspot.sh Fri Jun 01 17:13:28 2012 +0200 @@ -0,0 +1,36 @@ +#!/bin/sh + +HOTSPOT="hotspot" +DIRDATA="/var/lib/awstats/$HOTSPOT" + +if [ "$1" == "--install" ]; then + cp /etc/awstats/awstats.model.conf /etc/awstats/awstats.$HOTSPOT.conf + while read line; do + sed -i "s,^${line%=*}.*,$line," /etc/awstats/awstats.$HOTSPOT.conf + done < /dev/null + cd $src + ./configure --prefix=/usr --mandir=/usr/share/man \ + --localstatedir=/var \ + $CONFIGURE_ARGS && + make && + make DESTDIR=$DESTDIR install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr + cp -a $_pkg/usr/bin $fs/usr + cp -a $_pkg/usr/lib $fs/usr +} diff -r 1adac4b0fd89 -r b994d2c0f802 network-manager/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/network-manager/receipt Fri Jun 01 17:13:28 2012 +0200 @@ -0,0 +1,38 @@ +# SliTaz package receipt. + +PACKAGE="network-manager" +VERSION="0.9.2.0" +CATEGORY="system-tools" +SHORT_DESC="Gnome network manager." +MAINTAINER="pankso@slitaz.org" +SOURCE="NetworkManager" +TARBALL="$SOURCE-$VERSION.tar.bz2" +WEB_SITE="http://projects.gnome.org/NetworkManager/" +WGET_URL="$GNOME_MIRROR/$SOURCE/0.9/$TARBALL" + +DEPENDS="dbus dbus-glib gtk+ wireless_tools libgudev libnl nss ppp iptables" +BUILD_DEPENDS="dbus-dev dbus-glib-dev gtk+-dev wireless_tools-dev libgudev-dev \ +libnl-dev nss-dev ppp-dev iptables-dev" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure \ + --prefix=/usr \ + --libexecdir=/usr/lib/$PACKAGE \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --with-distro=arch \ + $CONFIGURE_ARGS && + make && make install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr + cp -a $install/etc $fs + cp -a $install/ $fs + cp -a $install/usr/* $fs/usr +} diff -r 1adac4b0fd89 -r b994d2c0f802 plymouth/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/plymouth/receipt Fri Jun 01 17:13:28 2012 +0200 @@ -0,0 +1,46 @@ +# SliTaz package receipt. + +PACKAGE="plymouth" +VERSION="0.8.4" +CATEGORY="base-system" +SHORT_DESC="A graphical boot splash screen with KMS support." +MAINTAINER="pankso@slitaz.org" +TARBALL="$PACKAGE-$VERSION.tar.bz2" +WEB_SITE="http://www.freedesktop.org/wiki/Software/Plymouth" +WGET_URL="http://www.freedesktop.org/software/plymouth/releases/$TARBALL" + +DEPENDS="libpng pango gtk+ xorg-libpciaccess libdrm" +BUILD_DEPENDS="libpng-dev pango-dev gtk+-dev xorg-libpciaccess-dev libdrm-dev" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --libexecdir=/usr/lib \ + --with-system-root-install \ + --with-log-viewer \ + --with-release-file=/etc/slitaz-release \ + --disable-libdrm_nouveau \ + $CONFIGURE_ARGS && + make && make install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/lib $fs/usr/lib $fs/usr/share + cp -a $install/bin $fs + cp -a $install/etc $fs + cp -a $install/sbin $fs + cp -a $install/lib/*.so* $fs/lib + cp -a $install/usr/bin $fs/usr + cp -a $install/usr/sbin $fs/usr + cp -a $install/usr/lib/*.so* $fs/usr/lib + cp -a $install/usr/lib/plymouth $fs/usr/lib + rm $fs/usr/lib/plymouth/*.*a + rm $fs/usr/lib/plymouth/*/*.*a +} + diff -r 1adac4b0fd89 -r b994d2c0f802 python-werkzeug/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-werkzeug/receipt Fri Jun 01 17:13:28 2012 +0200 @@ -0,0 +1,32 @@ +# SliTaz package receipt. + +PACKAGE="python-werkzeug" +GITHASH="8c085bba3d0abe1139fd84bdb542efdb579b0205" +VERSION=${GITHASH:0:7} +CATEGORY="development" +SHORT_DESC="WSGI utility modules" +MAINTAINER="pascal.bellard@slitaz.org" +WEB_SITE="http://werkzeug.pocoo.org/" +GIT_URL="https://nodeload.github.com/mitsuhiko/werkzeug/tarball/$GITHASH" + +DEPENDS="python" +BUILD_DEPENDS="wget python python-dev setuptools" + +# Rules to configure and make the package. +compile_rules() +{ + if [ ! -s $src ]; then + mkdir -p $(dirname $src) + wget --no-check-certificate -O - $GIT_URL | tar xzf - && + mv mitsuhiko-werkzeug-$VERSION $src + fi + cd $src + python setup.py install --root=$DESTDIR +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + cp -a $_pkg/usr $fs +} + diff -r 1adac4b0fd89 -r b994d2c0f802 screenlets/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/screenlets/receipt Fri Jun 01 17:13:28 2012 +0200 @@ -0,0 +1,46 @@ +# SliTaz package receipt. + +PACKAGE="screenlets" +VERSION="0.1.6" +CATEGORY="system-tools" +SHORT_DESC="Desktop widgets framework." +MAINTAINER="pankso@slitaz.org" +TARBALL="$PACKAGE-$VERSION.tar.bz2" +WEB_SITE="http://screenlets.org" +WGET_URL="https://launchpad.net/screenlets/trunk/$VERSION/+download/$TARBALL" + +DEPENDS="python pygtk python-xdg beautifulsoup gnome-python-desktop dbus-python gnome-icon-theme" +BUILD_DEPENDS="python-dev wget" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + python setup.py install --root=$install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/share/icons $fs/etc/screenlets + cp -a $install/usr/bin $fs/usr + cp -a $install/usr/lib $fs/usr + cp -a $install/usr/share/screenlets* $fs/usr/share + cp -a $install/usr/share/icons/hicolor $fs/usr/share/icons + echo '/usr' > $fs/etc/screenlets/prefix +} + +# Post install/remove commands for Tazpkg. +post_install() +{ + echo "Processing post-install commands..." + chroot "$1/" /usr/bin/gdk-pixbuf-query-loaders --update-cache +} + +post_remove() +{ + echo "Processing post-remove commands..." + chroot "$1/" /usr/bin/gdk-pixbuf-query-loaders --update-cache +} + +