wok-undigest rev 896

Move to wok: kivy gmerlin glances phproxy zonecheck ledger
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Dec 26 15:51:49 2012 +0100 (2012-12-26)
parents 417bb8c0bd1d
children c8fdbf5688ca
files glances/receipt gmerlin/receipt kivy/receipt ledger/receipt phproxy/receipt zonecheck/receipt
line diff
     1.1 --- a/glances/receipt	Sat Dec 01 18:36:23 2012 +0000
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,29 +0,0 @@
     1.4 -# SliTaz package receipt.
     1.5 -
     1.6 -PACKAGE="glances"
     1.7 -VERSION="1.5.1"
     1.8 -CATEGORY="utilities"
     1.9 -SHORT_DESC="A CLI curses based monitoring tool for GNU/Linux and BSD OS."
    1.10 -MAINTAINER="paul@slitaz.org"
    1.11 -DEPENDS="python python-psutil setuptools"
    1.12 -BUILD_DEPENDS="git bzip2 python-dev setuptools python-psutil"
    1.13 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.14 -WEB_SITE="http://nicolargo.github.com/glances/"
    1.15 -WGET_URL="git|git://github.com/nicolargo/glances.git"
    1.16 -SUGGESTED="python-jinja2"
    1.17 -
    1.18 -# Rules to configure and make the package.
    1.19 -compile_rules()
    1.20 -{
    1.21 -	cd $src
    1.22 -	python setup.py install --root=$DESTDIR
    1.23 -}
    1.24 -
    1.25 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.26 -genpkg_rules()
    1.27 -{
    1.28 -	cp -a $install/usr $fs
    1.29 -	# remove stuff
    1.30 -	rm -rf $fs/usr/share/man
    1.31 -}
    1.32 -
     2.1 --- a/gmerlin/receipt	Sat Dec 01 18:36:23 2012 +0000
     2.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.3 @@ -1,40 +0,0 @@
     2.4 -# SliTaz package receipt.
     2.5 -
     2.6 -PACKAGE="gmerlin"
     2.7 -VERSION="1.2.0"
     2.8 -CATEGORY="multimedia"
     2.9 -SHORT_DESC="Gmerlin is a multimedia architecture for linux."
    2.10 -MAINTAINER="pankso@slitaz.org"
    2.11 -TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.12 -WEB_SITE="http://gmerlin.sourceforge.net/"
    2.13 -WGET_URL="$SF_MIRROR/project/gmerlin/gmerlin/$VERSION/$TARBALL"
    2.14 -
    2.15 -DEPENDS="libxml2 expat gavl gtk+ alsa-lib libpng"
    2.16 -BUILD_DEPENDS="texinfo libxml2-dev expat-dev gavl-dev gtk+-dev alsa-lib-dev \
    2.17 -libpng-dev"
    2.18 -
    2.19 -# Rules to configure and make the package.
    2.20 -compile_rules()
    2.21 -{
    2.22 -	cd $src
    2.23 -	rm -rf cpuinfo.sh
    2.24 -	./configure \
    2.25 -		--without-doxygen \
    2.26 -		$CONFIGURE_ARGS &&
    2.27 -	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 &&
    2.28 -	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 &&
    2.29 -	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 &&
    2.30 -	sed -i 's|ln -sf $(DESTDIR)$(pkgdatadir)|ln -sf $(pkgdatadir)|' icons/Makefile &&
    2.31 -	make && make install
    2.32 -}
    2.33 -
    2.34 -# Rules to gen a SliTaz package suitable for Tazpkg.
    2.35 -genpkg_rules()
    2.36 -{
    2.37 -	mkdir -p $fs/usr/share $fs/usr/lib/gmerlin/plugins
    2.38 -	cp -a $install/usr/bin $fs/usr
    2.39 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    2.40 -	cp -a $install/usr/lib/gmerlin/plugins/*.so* $fs/usr/lib/gmerlin/plugins
    2.41 -	cp -a $install/usr/share/gmerlin $fs/usr/share
    2.42 -	cp -a $install/usr/share/icons $fs/usr/share
    2.43 -}
     3.1 --- a/kivy/receipt	Sat Dec 01 18:36:23 2012 +0000
     3.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.3 @@ -1,28 +0,0 @@
     3.4 -# SliTaz package receipt.
     3.5 -
     3.6 -PACKAGE="kivy"
     3.7 -SOURCE="Kivy"
     3.8 -VERSION="1.4.1"
     3.9 -CATEGORY="development"
    3.10 -SHORT_DESC="Cross platform library for rapid development of applications."
    3.11 -MAINTAINER="pascal.bellard@slitaz.org"
    3.12 -WEB_SITE="http://kivy.org/"
    3.13 -TARBALL="$SOURCE-$VERSION.tar.gz"
    3.14 -WGET_URL="http://pypi.python.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL"
    3.15 -
    3.16 -DEPENDS="python"
    3.17 -BUILD_DEPENDS="python-dev python-cython mesa-dev glew-dev"
    3.18 -
    3.19 -# Rules to configure and make the package.
    3.20 -compile_rules()
    3.21 -{
    3.22 -	cd $src
    3.23 -	python setup.py build &&
    3.24 -	python setup.py install --root=$DESTDIR
    3.25 -}
    3.26 -
    3.27 -# Rules to gen a SliTaz package suitable for Tazpkg.
    3.28 -genpkg_rules()
    3.29 -{
    3.30 -	cp -a $install/* $fs
    3.31 -}
     4.1 --- a/ledger/receipt	Sat Dec 01 18:36:23 2012 +0000
     4.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.3 @@ -1,34 +0,0 @@
     4.4 -# SliTaz package receipt.
     4.5 -
     4.6 -PACKAGE="ledger"
     4.7 -VERSION="2.6.3"
     4.8 -CATEGORY="utilities"
     4.9 -SHORT_DESC="A double-entry accounting system that is accessed from the UNIX command-line."
    4.10 -MAINTAINER="paul@slitaz.org"
    4.11 -DEPENDS="pcre gmp"
    4.12 -BUILD_DEPENDS="pcre-dev gmp-dev"
    4.13 -TARBALL="$PACKAGE-$VERSION.tar.gz"
    4.14 -WEB_SITE="http://ledger-cli.org/" 
    4.15 -WGET_URL="http://ftp.newartisans.com/pub/ledger/$TARBALL"
    4.16 -
    4.17 -# Rules to configure and make the package.
    4.18 -compile_rules()
    4.19 -{
    4.20 -	cd $src
    4.21 -	./configure --prefix=/usr \
    4.22 -		$CONFIGURE_ARGS &&
    4.23 -	make &&
    4.24 -	make DESTDIR=$DESTDIR 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/ledger
    4.31 -	cp -a $install/usr/bin $fs/usr
    4.32 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    4.33 -	
    4.34 -	# copy sample file
    4.35 -	cp -a $src/sample.dat $fs/usr/share/ledger
    4.36 -}
    4.37 -
     5.1 --- a/phproxy/receipt	Sat Dec 01 18:36:23 2012 +0000
     5.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.3 @@ -1,68 +0,0 @@
     5.4 -# SliTaz package receipt.
     5.5 -
     5.6 -PACKAGE="phproxy"
     5.7 -SOURCE="PHProxy"
     5.8 -VERSION="0.5b2"
     5.9 -CATEGORY="network"
    5.10 -SHORT_DESC="A proxy HTTP."
    5.11 -MAINTAINER="pascal.bellard@slitaz.org"
    5.12 -WEB_SITE="http://sebsauvage.net/wiki/doku.php?id=phproxy"
    5.13 -TARBALL="$SOURCE%20$VERSION%20mod%20SSE+ARKA%2020100825.7z"
    5.14 -WGET_URL="http://sebsauvage.net/temp/$TARBALL"
    5.15 -
    5.16 -DEPENDS="php"
    5.17 -BUILD_DEPENDS="p7zip"
    5.18 -
    5.19 -# Rules to configure and make the package.
    5.20 -compile_rules()
    5.21 -{
    5.22 -	cd $src
    5.23 -	7zr x $TARBALL
    5.24 -	cd $SOURCE\ *
    5.25 -	dos2unix *
    5.26 -	mkdir -p $DESTDIR/usr/share/$PACKAGE
    5.27 -	cp *.php *.css $DESTDIR/usr/share/$PACKAGE
    5.28 -}
    5.29 -
    5.30 -# Rules to gen a SliTaz package suitable for Tazpkg.
    5.31 -genpkg_rules()
    5.32 -{
    5.33 -	cp -a $install/* $fs
    5.34 -}
    5.35 -
    5.36 -post_install()
    5.37 -{
    5.38 -	# Configure lighttpd server
    5.39 -	if [ -f $1/etc/lighttpd/lighttpd.conf ]; then
    5.40 -		if ! grep -q /usr/share/phproxy/ $1/etc/lighttpd/lighttpd.conf; then
    5.41 -	    		sed -e 's|.*"/examples/" => "/usr/share/examples/",|    "/examples/" => "/usr/share/examples/",\n    "/phproxy/" => "/usr/share/phproxy/",|g' -i $1/etc/lighttpd/lighttpd.conf
    5.42 -			if [ -z "$1" ]; then
    5.43 -				# Start Web server.
    5.44 -				/etc/init.d/lighttpd stop
    5.45 -				/etc/init.d/lighttpd start
    5.46 -			fi
    5.47 -		fi
    5.48 -	fi
    5.49 -	# Configure apache server
    5.50 -	if [ -f $1/etc/apache/httpd.conf ]; then
    5.51 -		if [ ! -f $1/etc/apache/conf.d/phproxy ]; then
    5.52 -			cat > $1/etc/apache/conf.d/phproxy <<EOT
    5.53 -<IfModule mod_alias.c>
    5.54 -    Alias /phproxy /usr/share/phproxy
    5.55 -</IfModule>
    5.56 -<Directory /usr/share/phproxy/>
    5.57 -    DirectoryIndex index.php
    5.58 -    Options +FollowSymLinks
    5.59 -    AllowOverride None
    5.60 -    Order allow,deny
    5.61 -    Allow from all
    5.62 -</Directory>
    5.63 -EOT
    5.64 -			if [ -z "$1" ]; then
    5.65 -				# Start Web server.
    5.66 -				/etc/init.d/apache stop
    5.67 -				/etc/init.d/apache start
    5.68 -			fi
    5.69 -		fi
    5.70 -	fi
    5.71 -}
     6.1 --- a/zonecheck/receipt	Sat Dec 01 18:36:23 2012 +0000
     6.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.3 @@ -1,30 +0,0 @@
     6.4 -# SliTaz package receipt.
     6.5 -
     6.6 -PACKAGE="zonecheck"
     6.7 -VERSION="3.0.5"
     6.8 -CATEGORY="network"
     6.9 -SHORT_DESC="Check that a zone or domain name is correctly configured in the DNS."
    6.10 -MAINTAINER="pascal.bellard@slitaz.org"
    6.11 -WEB_SITE="http://www.zonecheck.fr"
    6.12 -TARBALL="$PACKAGE-$VERSION.tgz"
    6.13 -WGET_URL="$WEB_SITE/download/$TARBALL"
    6.14 -CONFIG_FILES="/etc/zonecheck"
    6.15 -
    6.16 -DEPENDS="ruby"
    6.17 -BUILD_DEPENDS="ruby"
    6.18 -
    6.19 -# Rules to configure and make the package.
    6.20 -compile_rules()
    6.21 -{
    6.22 -	ruby ./installer.rb all -DPREFIX=$DESTDIR/usr -DETCDIR=$DESTDIR/etc 
    6.23 -	grep -rl $DESTDIR $DESTDIR/usr/libexec | xargs sed -i "s|$DESTDIR||"
    6.24 -}
    6.25 -
    6.26 -# Rules to gen a SliTaz package suitable for Tazpkg.
    6.27 -genpkg_rules()
    6.28 -{
    6.29 -	cp -a $install/* $fs
    6.30 -	tmp=$(readlink $fs/usr/bin/zonecheck)
    6.31 -	rm -f $fs/usr/bin/zonecheck
    6.32 -	ln -s ${tmp#$install} $fs/usr/bin/zonecheck
    6.33 -}