wok-current rev 16372
Add eggwm + tinyxml and hg add for pkgs from last commit
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Apr 14 18:33:22 2014 +0200 (2014-04-14) |
parents | 089e96b232b8 |
children | 73731679d0fa |
files | eggwm/receipt eggwm/stuff/xsessions/eggwm.desktop flmusic/receipt flmusic/stuff/flmusic.desktop fltk-blocks/receipt fltk-blocks/stuff/fltk-blocks.desktop fltk-checkers/receipt fltk-checkers/stuff/fltk-checkers.desktop fltk-colbrowser/receipt fltk-colbrowser/stuff/fltk-colbrowser.desktop tinyxml/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/eggwm/receipt Mon Apr 14 18:33:22 2014 +0200 1.3 @@ -0,0 +1,52 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="eggwm" 1.7 +VERSION="0.2" 1.8 +CATEGORY="x-window" 1.9 +SHORT_DESC="EggWM is a light QT Window Manager." 1.10 +MAINTAINER="pankso@slitaz.org" 1.11 +LICENSE="GPL3" 1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.13 +WEB_SITE="http://code.google.com/p/eggwm/" 1.14 +WGET_URL="http://eggwm.googlecode.com/files/$TARBALL" 1.15 + 1.16 +DEPENDS="xorg-libX11 libQtCore libQtGui" 1.17 +BUILD_DEPENDS="qmake Qt4-dev" 1.18 + 1.19 +# Rules to configure and make the package. 1.20 +compile_rules() 1.21 +{ 1.22 + qmake EggWM.pro && 1.23 + make && 1.24 + make install INSTALL_ROOT=$DESTDIR 1.25 +} 1.26 + 1.27 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.28 +genpkg_rules() 1.29 +{ 1.30 + mkdir -p $fs/usr/bin $fs/usr/share 1.31 + install -m 755 $src/eggwm $fs/usr/bin/eggwm 1.32 + cp -a $src/installation $fs/usr/share/eggwm 1.33 + rm -rf $fs/usr/share/eggwm/themes/testtheme 1.34 + find $fs/usr/share/eggwm -type f -exec chmod 0644 {} \; 1.35 + cp -r $stuff/xsessions $fs/usr/share 1.36 +} 1.37 + 1.38 +post_install() 1.39 +{ 1.40 + res=$(cat $root/etc/slim.conf | grep ^session | sed s/"sessions. *"//) 1.41 + # Adding WM to SLIM available sessions. 1.42 + if ! echo "$res" | grep -q $PACKAGE; then 1.43 + echo -n "Adding $PACKAGE to /etc/slim.conf..." 1.44 + sed -i "s/^sessions.*/sessions ${res},$PACKAGE/" $root/etc/slim.conf 1.45 + status 1.46 + fi 1.47 +} 1.48 + 1.49 +post_remove() 1.50 +{ 1.51 + # Remove WM from SLIM available sessions. 1.52 + if grep -q $PACKAGE $1/etc/slim.conf; then 1.53 + sed -i s/,$PACKAGE// $root/etc/slim.conf 1.54 + fi 1.55 +}
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/eggwm/stuff/xsessions/eggwm.desktop Mon Apr 14 18:33:22 2014 +0200 2.3 @@ -0,0 +1,7 @@ 2.4 +[Desktop Entry] 2.5 +Encoding=UTF-8 2.6 +Type=XSession 2.7 +Name=EggWM Desktop 2.8 +Name[fr]=Bureau EggWM 2.9 +Exec=eggwm 2.10 +
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/flmusic/receipt Mon Apr 14 18:33:22 2014 +0200 3.3 @@ -0,0 +1,34 @@ 3.4 +# SliTaz package receipt 3.5 + 3.6 +PACKAGE="flmusic" 3.7 +VERSION="1.2.1" 3.8 +CATEGORY="multimedia" 3.9 +SHORT_DESC="FLTK Audio player" 3.10 +MAINTAINER="pankso@slitaz.org" 3.11 +LICENSE="GPL" 3.12 +TARBALL="$PACKAGE-fltk13-source-$VERSION.tgz" 3.13 +WEB_SITE="http://home.arcor.de/szukw000/english_index.html" 3.14 +WGET_URL="http://home.arcor.de/szukw000/$TARBALL" 3.15 + 3.16 +DEPENDS="fltk alsa-lib sox" 3.17 +BUILD_DEPENDS="fltk-dev alsa-lib-dev sox-dev" 3.18 + 3.19 +# Rules to configure and make the package. 3.20 +compile_rules() 3.21 +{ 3.22 + #sed -i '/ioctl.h/a #include <limits.h>' reader.c && 3.23 + sed -i 's/$(installdir)/$(DESTDIR)$(installdir)/' \ 3.24 + Makefile.in || return 1 3.25 + chmod +x configure && 3.26 + ./configure --prefix=/usr \ 3.27 + $CONFIGURE_ARGS && 3.28 + make && mkdir -p $DESTDIR/usr/bin && 3.29 + make DESTDIR=$DESTDIR install 3.30 +} 3.31 + 3.32 +# Rules to gen a SliTaz package suitable for Tazpkg. 3.33 +genpkg_rules() 3.34 +{ 3.35 + mkdir -p $fs/usr 3.36 + cp -a $install/usr/bin $fs/usr 3.37 +}
4.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 4.2 +++ b/flmusic/stuff/flmusic.desktop Mon Apr 14 18:33:22 2014 +0200 4.3 @@ -0,0 +1,12 @@ 4.4 +[Desktop Entry] 4.5 +Type=Application 4.6 +Name=Audio Player Flmusic 4.7 +Name[fr]=Lecteur audio Flmusic 4.8 +Name[pt]=Reprodutor de audio Flmusic 4.9 +Name[pt_BR]=Reprodutor de audio Flmusic 4.10 +Name[ru]=Аудио проигрыватель Flmusic 4.11 +Name[zh_CN]=Flmusic 音乐播放器 4.12 +Exec=flmusic 4.13 +Icon=audio-x-wav 4.14 +Categories=AudioVideo;Audio;Player; 4.15 +MimeType=audio/x-scpls;audio/x-mpegurl;audio/mpegurl;audio/mp3;audio/x-mp3;audio/mpeg;audio/x-mpeg;audio/x-wav;audio/ogg+vorbis;audio/ogg;application/flac;
5.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 5.2 +++ b/fltk-blocks/receipt Mon Apr 14 18:33:22 2014 +0200 5.3 @@ -0,0 +1,29 @@ 5.4 +# SliTaz package receipt. 5.5 + 5.6 +PACKAGE="fltk-blocks" 5.7 +VERSION="1.3.2" 5.8 +CATEGORY="games" 5.9 +SHORT_DESC="FLTK Blocks game." 5.10 +MAINTAINER="pankso@slitaz.org" 5.11 +LICENSE="LGPL2" 5.12 +WEB_SITE="http://www.fltk.org/" 5.13 +HOST_ARCH="i486 arm" 5.14 + 5.15 +WANTED="fltk" 5.16 +DEPENDS="fltk" 5.17 + 5.18 +# Rules to configure and make the package. 5.19 +compile_rules() 5.20 +{ 5.21 + cd ${src}/test && 5.22 + [ -x ./blocks ] || make blocks 5.23 +} 5.24 + 5.25 +# Rules to gen a SliTaz package suitable for Tazpkg. 5.26 +genpkg_rules() 5.27 +{ 5.28 + mkdir -p $fs/usr/games $fs/usr/share/pixmaps 5.29 + cp -a ${src}/test/blocks $fs/usr/games/$PACKAGE 5.30 + cp -a ${src}/test/desktop/blocks-32.png \ 5.31 + $fs/usr/share/pixmaps/$PACKAGE.png 5.32 +}
6.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 6.2 +++ b/fltk-blocks/stuff/fltk-blocks.desktop Mon Apr 14 18:33:22 2014 +0200 6.3 @@ -0,0 +1,7 @@ 6.4 +[Desktop Entry] 6.5 +Name=Block Attack! 6.6 +Exec=fltk-blocks 6.7 +Icon=fltk-blocks 6.8 +Terminal=false 6.9 +Type=Application 6.10 +Categories=Game;BoardGame;
7.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 7.2 +++ b/fltk-checkers/receipt Mon Apr 14 18:33:22 2014 +0200 7.3 @@ -0,0 +1,29 @@ 7.4 +# SliTaz package receipt. 7.5 + 7.6 +PACKAGE="fltk-checkers" 7.7 +VERSION="1.3.2" 7.8 +CATEGORY="games" 7.9 +SHORT_DESC="FLTK Checkers game." 7.10 +MAINTAINER="pankso@slitaz.org" 7.11 +LICENSE="LGPL2" 7.12 +WEB_SITE="http://www.fltk.org/" 7.13 +HOST_ARCH="i486 arm" 7.14 + 7.15 +WANTED="fltk" 7.16 +DEPENDS="fltk" 7.17 + 7.18 +# Rules to configure and make the package. 7.19 +compile_rules() 7.20 +{ 7.21 + cd ${src}/test && 7.22 + [ -x ./checkers ] || make checkers 7.23 +} 7.24 + 7.25 +# Rules to gen a SliTaz package suitable for Tazpkg. 7.26 +genpkg_rules() 7.27 +{ 7.28 + mkdir -p $fs/usr/games $fs/usr/share/pixmaps 7.29 + cp -a ${src}/test/checkers $fs/usr/games/$PACKAGE 7.30 + cp -a ${src}/test/desktop/checkers-32.png \ 7.31 + $fs/usr/share/pixmaps/$PACKAGE.png 7.32 +}
8.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 8.2 +++ b/fltk-checkers/stuff/fltk-checkers.desktop Mon Apr 14 18:33:22 2014 +0200 8.3 @@ -0,0 +1,7 @@ 8.4 +[Desktop Entry] 8.5 +Name=Checkers Game 8.6 +Exec=fltk-checkers 8.7 +Icon=fltk-checkers 8.8 +Terminal=false 8.9 +Type=Application 8.10 +Categories=Game;BoardGame;
9.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 9.2 +++ b/fltk-colbrowser/receipt Mon Apr 14 18:33:22 2014 +0200 9.3 @@ -0,0 +1,29 @@ 9.4 +# SliTaz package receipt. 9.5 + 9.6 +PACKAGE="fltk-colbrowser" 9.7 +VERSION="1.3.2" 9.8 +CATEGORY="graphics" 9.9 +SHORT_DESC="FLT Color browser." 9.10 +MAINTAINER="pankso@slitaz.org" 9.11 +LICENSE="LGPL2" 9.12 +WEB_SITE="http://www.fltk.org/" 9.13 +HOST_ARCH="i486 arm" 9.14 + 9.15 +WANTED="fltk" 9.16 +DEPENDS="fltk" 9.17 + 9.18 +# Rules to configure and make the package. 9.19 +compile_rules() 9.20 +{ 9.21 + cd ${src}/test && rm -f colbrowser && 9.22 + sed -i s'#"rgb.txt"#"/usr/share/fltk/rgb.txt"#' colbrowser.cxx && 9.23 + make colbrowser 9.24 +} 9.25 + 9.26 +# Rules to gen a SliTaz package suitable for Tazpkg. 9.27 +genpkg_rules() 9.28 +{ 9.29 + mkdir -p $fs/usr/bin $fs/usr/share/fltk 9.30 + cp -a ${src}/test/colbrowser ${fs}/usr/bin/$PACKAGE 9.31 + cp ${src}/test/rgb.txt ${fs}/usr/share/fltk 9.32 +}
10.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 10.2 +++ b/fltk-colbrowser/stuff/fltk-colbrowser.desktop Mon Apr 14 18:33:22 2014 +0200 10.3 @@ -0,0 +1,7 @@ 10.4 +[Desktop Entry] 10.5 +Name=FLTK Color Browser 10.6 +Exec=fltk-colbrowser 10.7 +Icon=gcolor2 10.8 +Terminal=false 10.9 +Type=Application 10.10 +Categories=Graphics;
11.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 11.2 +++ b/tinyxml/receipt Mon Apr 14 18:33:22 2014 +0200 11.3 @@ -0,0 +1,33 @@ 11.4 +# SliTaz package receipt. 11.5 + 11.6 +PACKAGE="tinyxml" 11.7 +VERSION="2_6_2" 11.8 +CATEGORY="system-tools" 11.9 +SHORT_DESC="TinyXML is a simple, small, C++ XML parser." 11.10 +MAINTAINER="pankso@slitaz.org" 11.11 +LICENSE="GPL2" 11.12 +TARBALL="${PACKAGE}_$VERSION.zip" 11.13 +WEB_SITE="http://wiki.lxde.org/en/LXMusic" 11.14 +WGET_URL="$SF_MIRROR/project/$PACKAGE/$PACKAGE/2.6.2/$TARBALL" 11.15 +HOST_ARCH="i486 arm" 11.16 + 11.17 +# Rules to configure and make the package. 11.18 +compile_rules() 11.19 +{ 11.20 + make && 11.21 + ${HOST_SYSTEM}-g++ -m32 -fPIC "$CXXFLAGS" -shared \ 11.22 + -o libtinyxml.so.0.${pkgver} \ 11.23 + -Wl,-soname,libtinyxml.so.0 $(ls *.o | grep -v xmltest) 11.24 +} 11.25 + 11.26 +# Rules to gen a SliTaz package suitable for Tazpkg. 11.27 +genpkg_rules() 11.28 +{ 11.29 + mkdir -p $fs/usr/lib $fs/usr/bin 11.30 + cp -a ${src}/xmltest $fs/usr/bin 11.31 + cp -a ${src}/*.so* $fs/usr/lib 11.32 + cd $fs/usr/lib 11.33 + ln -s libtinyxml.so.0.2.6.2 libtinyxml.so.0 11.34 + ln -s libtinyxml.so.0.2.6.2 libtinyxml.so 11.35 +} 11.36 +