wok-stable rev 2539

ruby: add desktop file and icon for interpreter
author Christophe Lincoln <pankso@slitaz.org>
date Sun Mar 22 20:16:40 2009 +0100 (2009-03-22)
parents 0c5792315abd
children b18c5f371bc9
files receipt ruby/stuff/python.desktop ruby/stuff/ruby.png
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/receipt	Sun Mar 22 20:16:40 2009 +0100
     1.3 @@ -0,0 +1,42 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="plymouth"
     1.7 +VERSION="0.6.0"
     1.8 +CATEGORY="system-tools"
     1.9 +SHORT_DESC="Graphical boot tools and library."
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.12 +WEB_SITE="http://www.freedesktop.org/wiki/Software/Plymouth"
    1.13 +WGET_URL="http://www.freedesktop.org/software/plymouth/releases/$TARBALL"
    1.14 +DEPENDS="libpng"
    1.15 +BUILD_DEPENDS="libpng libpng-dev"
    1.16 +
    1.17 +# Rules to configure and make the package.
    1.18 +# --disable-gui-build dont wok properly only toolbox is not build.
    1.19 +compile_rules()
    1.20 +{
    1.21 +	cd $src
    1.22 +	./configure \
    1.23 +		--prefix=/usr \
    1.24 +		--libexecdir=/usr/lib \
    1.25 +		--infodir=/usr/share/info \
    1.26 +		--mandir=/usr/share/man \
    1.27 +		--localstatedir=/var \
    1.28 +		$CONFIGURE_ARGS &&
    1.29 +	make &&
    1.30 +	make DESTDIR=$PWD/_pkg install &&
    1.31 +	rm -rf _pkg/usr/share/applications
    1.32 +}
    1.33 +
    1.34 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.35 +genpkg_rules()
    1.36 +{
    1.37 +	mkdir -p $fs/lib $fs/usr/lib/plymouth $fs/usr/share
    1.38 +	cp -a $_pkg/bin $fs
    1.39 +	cp -a $_pkg/sbin $fs
    1.40 +	cp -a $_pkg/usr/sbin $fs/usr
    1.41 +	cp -a $_pkg/lib/*.so* $fs/lib
    1.42 +	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    1.43 +	cp -a $_pkg/usr/lib/plymouth/*.so* $fs/usr/lib/plymouth
    1.44 +	cp -a $_pkg/usr/share/plymouth $fs/usr/share
    1.45 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/ruby/stuff/python.desktop	Sun Mar 22 20:16:40 2009 +0100
     2.3 @@ -0,0 +1,8 @@
     2.4 +[Desktop Entry]
     2.5 +Encoding=UTF-8
     2.6 +Name=Ruby interpreter
     2.7 +Terminal=true
     2.8 +Exec=xterm -e irb
     2.9 +Icon=ruby.png
    2.10 +Type=Application
    2.11 +Categories=Development;
     3.1 Binary file ruby/stuff/ruby.png has changed