# HG changeset patch # User Pascal Bellard # Date 1356533431 -3600 # Node ID 01dc32ea5178c2f32512b99146d863299ae1416f # Parent 6c6481d419b2a323a229607d98841b22f018d5ca Move from undigest: kivy gmerlin glances phproxy zonecheck ledger diff -r 6c6481d419b2 -r 01dc32ea5178 glances/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/glances/receipt Wed Dec 26 15:50:31 2012 +0100 @@ -0,0 +1,29 @@ +# SliTaz package receipt. + +PACKAGE="glances" +VERSION="1.5.1" +CATEGORY="utilities" +SHORT_DESC="A CLI curses based monitoring tool for GNU/Linux and BSD OS." +MAINTAINER="paul@slitaz.org" +DEPENDS="python python-psutil setuptools" +BUILD_DEPENDS="git bzip2 python-dev setuptools python-psutil" +TARBALL="$PACKAGE-$VERSION.tar.bz2" +WEB_SITE="http://nicolargo.github.com/glances/" +WGET_URL="git|git://github.com/nicolargo/glances.git" +SUGGESTED="python-jinja2" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + python setup.py install --root=$DESTDIR +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + cp -a $install/usr $fs + # remove stuff + rm -rf $fs/usr/share/man +} + diff -r 6c6481d419b2 -r 01dc32ea5178 gmerlin/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gmerlin/receipt Wed Dec 26 15:50:31 2012 +0100 @@ -0,0 +1,40 @@ +# SliTaz package receipt. + +PACKAGE="gmerlin" +VERSION="1.2.0" +CATEGORY="multimedia" +SHORT_DESC="Gmerlin is a multimedia architecture for linux." +MAINTAINER="pankso@slitaz.org" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://gmerlin.sourceforge.net/" +WGET_URL="$SF_MIRROR/project/gmerlin/gmerlin/$VERSION/$TARBALL" + +DEPENDS="libxml2 expat gavl gtk+ alsa-lib libpng" +BUILD_DEPENDS="texinfo libxml2-dev expat-dev gavl-dev gtk+-dev alsa-lib-dev \ +libpng-dev" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + rm -rf cpuinfo.sh + ./configure \ + --without-doxygen \ + $CONFIGURE_ARGS && + sed -i 's|LIBS = -lgavl|LIBS = -lgavl -ldl -lpthread -lgtk-x11-2.0 -lgobject-2.0 -lglib-2.0 -lxml2 -lgdk-x11-2.0 -lgdk_pixbuf-2.0 -lX11|' apps/*/Makefile && + sed -i 's|LIBS = -lgavl|LIBS = -lgavl -ldl -lpthread -lgtk-x11-2.0 -lgobject-2.0 -lglib-2.0 -lxml2 -lgdk-x11-2.0 -lgdk_pixbuf-2.0 -lX11|' lib/Makefile && + sed -i 's|LIBS = -lgavl|LIBS = -lgavl -ldl -lpthread -lgtk-x11-2.0 -lgobject-2.0 -lglib-2.0 -lxml2 -lgdk-x11-2.0 -lgdk_pixbuf-2.0 -lX11|' tests/Makefile && + sed -i 's|ln -sf $(DESTDIR)$(pkgdatadir)|ln -sf $(pkgdatadir)|' icons/Makefile && + make && make install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/share $fs/usr/lib/gmerlin/plugins + cp -a $install/usr/bin $fs/usr + cp -a $install/usr/lib/*.so* $fs/usr/lib + cp -a $install/usr/lib/gmerlin/plugins/*.so* $fs/usr/lib/gmerlin/plugins + cp -a $install/usr/share/gmerlin $fs/usr/share + cp -a $install/usr/share/icons $fs/usr/share +} diff -r 6c6481d419b2 -r 01dc32ea5178 kivy/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/kivy/receipt Wed Dec 26 15:50:31 2012 +0100 @@ -0,0 +1,28 @@ +# SliTaz package receipt. + +PACKAGE="kivy" +SOURCE="Kivy" +VERSION="1.4.1" +CATEGORY="development" +SHORT_DESC="Cross platform library for rapid development of applications." +MAINTAINER="pascal.bellard@slitaz.org" +WEB_SITE="http://kivy.org/" +TARBALL="$SOURCE-$VERSION.tar.gz" +WGET_URL="http://pypi.python.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" + +DEPENDS="python" +BUILD_DEPENDS="python-dev python-cython mesa-dev glew-dev" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + python setup.py build && + python setup.py install --root=$DESTDIR +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + cp -a $install/* $fs +} diff -r 6c6481d419b2 -r 01dc32ea5178 ledger/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ledger/receipt Wed Dec 26 15:50:31 2012 +0100 @@ -0,0 +1,34 @@ +# SliTaz package receipt. + +PACKAGE="ledger" +VERSION="2.6.3" +CATEGORY="utilities" +SHORT_DESC="A double-entry accounting system that is accessed from the UNIX command-line." +MAINTAINER="paul@slitaz.org" +DEPENDS="pcre gmp" +BUILD_DEPENDS="pcre-dev gmp-dev" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://ledger-cli.org/" +WGET_URL="http://ftp.newartisans.com/pub/ledger/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure --prefix=/usr \ + $CONFIGURE_ARGS && + make && + make DESTDIR=$DESTDIR install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib $fs/usr/share/ledger + cp -a $install/usr/bin $fs/usr + cp -a $install/usr/lib/*.so* $fs/usr/lib + + # copy sample file + cp -a $src/sample.dat $fs/usr/share/ledger +} + diff -r 6c6481d419b2 -r 01dc32ea5178 phproxy/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/phproxy/receipt Wed Dec 26 15:50:31 2012 +0100 @@ -0,0 +1,68 @@ +# SliTaz package receipt. + +PACKAGE="phproxy" +SOURCE="PHProxy" +VERSION="0.5b2" +CATEGORY="network" +SHORT_DESC="A proxy HTTP." +MAINTAINER="pascal.bellard@slitaz.org" +WEB_SITE="http://sebsauvage.net/wiki/doku.php?id=phproxy" +TARBALL="$SOURCE%20$VERSION%20mod%20SSE+ARKA%2020100825.7z" +WGET_URL="http://sebsauvage.net/temp/$TARBALL" + +DEPENDS="php" +BUILD_DEPENDS="p7zip" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + 7zr x $TARBALL + cd $SOURCE\ * + dos2unix * + mkdir -p $DESTDIR/usr/share/$PACKAGE + cp *.php *.css $DESTDIR/usr/share/$PACKAGE +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + cp -a $install/* $fs +} + +post_install() +{ + # Configure lighttpd server + if [ -f $1/etc/lighttpd/lighttpd.conf ]; then + if ! grep -q /usr/share/phproxy/ $1/etc/lighttpd/lighttpd.conf; then + sed -e 's|.*"/examples/" => "/usr/share/examples/",| "/examples/" => "/usr/share/examples/",\n "/phproxy/" => "/usr/share/phproxy/",|g' -i $1/etc/lighttpd/lighttpd.conf + if [ -z "$1" ]; then + # Start Web server. + /etc/init.d/lighttpd stop + /etc/init.d/lighttpd start + fi + fi + fi + # Configure apache server + if [ -f $1/etc/apache/httpd.conf ]; then + if [ ! -f $1/etc/apache/conf.d/phproxy ]; then + cat > $1/etc/apache/conf.d/phproxy < + Alias /phproxy /usr/share/phproxy + + + DirectoryIndex index.php + Options +FollowSymLinks + AllowOverride None + Order allow,deny + Allow from all + +EOT + if [ -z "$1" ]; then + # Start Web server. + /etc/init.d/apache stop + /etc/init.d/apache start + fi + fi + fi +} diff -r 6c6481d419b2 -r 01dc32ea5178 xbattle/receipt --- a/xbattle/receipt Wed Dec 26 13:41:24 2012 +0100 +++ b/xbattle/receipt Wed Dec 26 15:50:31 2012 +0100 @@ -8,6 +8,7 @@ WEB_SITE="http://xbattle.sourcearchive.com" TARBALL="${PACKAGE}_$VERSION.orig.tar.gz" WGET_URL="$WEB_SITE/downloads/$VERSION/$TARBALL" +SUGGESTED="xorg-xhost" DEPENDS="xorg" BUILD_DEPENDS="xorg-imake xorg-dev" diff -r 6c6481d419b2 -r 01dc32ea5178 zonecheck/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/zonecheck/receipt Wed Dec 26 15:50:31 2012 +0100 @@ -0,0 +1,30 @@ +# SliTaz package receipt. + +PACKAGE="zonecheck" +VERSION="3.0.5" +CATEGORY="network" +SHORT_DESC="Check that a zone or domain name is correctly configured in the DNS." +MAINTAINER="pascal.bellard@slitaz.org" +WEB_SITE="http://www.zonecheck.fr" +TARBALL="$PACKAGE-$VERSION.tgz" +WGET_URL="$WEB_SITE/download/$TARBALL" +CONFIG_FILES="/etc/zonecheck" + +DEPENDS="ruby" +BUILD_DEPENDS="ruby" + +# Rules to configure and make the package. +compile_rules() +{ + ruby ./installer.rb all -DPREFIX=$DESTDIR/usr -DETCDIR=$DESTDIR/etc + grep -rl $DESTDIR $DESTDIR/usr/libexec | xargs sed -i "s|$DESTDIR||" +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + cp -a $install/* $fs + tmp=$(readlink $fs/usr/bin/zonecheck) + rm -f $fs/usr/bin/zonecheck + ln -s ${tmp#$install} $fs/usr/bin/zonecheck +}