wok-4.x rev 11222
Add from wok-undigest: gecko-mediaplayer gejengel get-msttcorefonts ggseq gliv guichan guichan-dev gvfs gvfs-dev
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Nov 03 23:25:32 2011 +0100 (2011-11-03) |
parents | 81200a5ef6b9 |
children | ea3283ffaffe |
files | gecko-mediaplayer/receipt gejengel/receipt get-msttcorefonts/receipt get-msttcorefonts/stuff/get-msttcorefonts ggseq/receipt gliv/receipt guichan-dev/receipt guichan/receipt gvfs-dev/receipt gvfs/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/gecko-mediaplayer/receipt Thu Nov 03 23:25:32 2011 +0100 1.3 @@ -0,0 +1,52 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="gecko-mediaplayer" 1.7 +VERSION="1.0.0" 1.8 +CATEGORY="multimedia" 1.9 +SHORT_DESC="Browser plugin that uses gnome-mplayer to play media in a web browser" 1.10 +MAINTAINER="jozee@slitaz.org" 1.11 +DEPENDS="gnome-mplayer dbus-glib gcc-lib-base" 1.12 +BUILD_DEPENDS="firefox-dev dbus-dev dbus-glib-dev" 1.13 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.14 +WEB_SITE="http://code.google.com/p/gecko-mediaplayer/" 1.15 +WGET_URL="http://gecko-mediaplayer.googlecode.com/files/$TARBALL" 1.16 +TAGS="player audio video browser" 1.17 + 1.18 +# Rules to configure and make the package. 1.19 +compile_rules() 1.20 +{ 1.21 + cd $src 1.22 + sed -i 's/utf8characters/UTF8Characters/g' src/*.cpp 1.23 + sed -i 's|NPP_Initialize|//&|' src/np_entry.cpp 1.24 + ./configure --prefix=/usr --sysconfdir=/etc \ 1.25 + --disable-schemas-install --without-gconf && 1.26 + make && 1.27 + make DESTDIR=$PWD/_pkg install 1.28 + 1.29 +} 1.30 + 1.31 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.32 +genpkg_rules() 1.33 +{ 1.34 + mkdir -p $fs/usr/lib 1.35 + cp -a $_pkg/usr/lib/mozilla $fs/usr/lib 1.36 + 1.37 +} 1.38 + 1.39 +post_install() 1.40 +{ 1.41 + echo -n "Processing post install commands..." 1.42 + local root 1.43 + root=$1 1.44 + for i in $root/usr/lib/mozilla/plugins/$PACKAGE*.so ; do 1.45 + ln -s $i $root/usr/lib/firefox*/plugins 1.46 + done 1.47 + status 1.48 +} 1.49 + 1.50 +post_remove() 1.51 +{ 1.52 + echo -n "Processing post remove commands..." 1.53 + rm -f /usr/lib/firefox*/plugins/$PACKAGE*.so 1.54 + status 1.55 +}
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/gejengel/receipt Thu Nov 03 23:25:32 2011 +0100 2.3 @@ -0,0 +1,31 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="gejengel" 2.7 +VERSION="0.1.4" 2.8 +CATEGORY="network" 2.9 +SHORT_DESC="A simple, light and clean audio player." 2.10 +MAINTAINER="pabkso@slitaz.org" 2.11 +TARBALL="$PACKAGE-$VERSION.tar.gz" 2.12 +WEB_SITE="http://code.google.com/p/gejengel/" 2.13 +WGET_URL="http://gejengel.googlecode.com/files/$TARBALL" 2.14 + 2.15 +DEPENDS="glibmm cairomm gtkmm libsigc++ taglib imagemagick libxdg-basedir \ 2.16 +alsa-lib flac ffmpeg" 2.17 +BUILD_DEPENDS="glibmm-dev cairomm-dev gtkmm-dev libsigc++-dev taglib-dev \ 2.18 +imagemagick-dev imagemagick libxdg-basedir-dev alsa-lib-dev flac-dev \ 2.19 +ffmpeg-dev lcms-dev fftw-dev openexr-dev ilmbase-dev graphviz-dev \ 2.20 +util-linux-ng-uuid-dev libogg-dev" 2.21 + 2.22 +# Rules to configure and make the package. 2.23 +compile_rules() 2.24 +{ 2.25 + ./configure --enable-alsa --enable-ffmpeg --enable-flac \ 2.26 + $CONFIGURE_ARGS && make && make install 2.27 +} 2.28 + 2.29 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.30 +genpkg_rules() 2.31 +{ 2.32 + mkdir -p $fs/usr $fs/etc 2.33 + cp -a $_pkg/usr/bin $fs/usr 2.34 +}
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/get-msttcorefonts/receipt Thu Nov 03 23:25:32 2011 +0100 3.3 @@ -0,0 +1,17 @@ 3.4 +# SliTaz package receipt. 3.5 +# http://corefonts.sourceforge.net/ 3.6 + 3.7 +PACKAGE="get-msttcorefonts" 3.8 +VERSION="1.00" 3.9 +CATEGORY="non-free" 3.10 +SHORT_DESC="An easy way to install Microsoft's TrueType core fonts on linux." 3.11 +MAINTAINER="rocky@slitaz.org" 3.12 +WEB_SITE="http://sourceforge.net/projects/corefonts" 3.13 +TAGS="utilities" 3.14 + 3.15 +# Rules to gen a SliTaz package suitable for Tazpkg. 3.16 +genpkg_rules() 3.17 +{ 3.18 + mkdir -p $fs/usr/bin 3.19 + cp stuff/get-msttcorefonts $fs/usr/bin 3.20 +}
4.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 4.2 +++ b/get-msttcorefonts/stuff/get-msttcorefonts Thu Nov 03 23:25:32 2011 +0100 4.3 @@ -0,0 +1,175 @@ 4.4 +#!/bin/sh 4.5 + 4.6 +PACKAGE="msttcorefonts" 4.7 +VERSION="2.0" 4.8 +CUR_DIR=$(pwd) 4.9 +TEMP_DIR=/tmp/$PACKAGE-$VERSION 4.10 +ROOT= 4.11 + 4.12 +# Check if we are root 4.13 +if test $(id -u) != 0 ; then 4.14 + echo -e "\nYou must be root to run `basename $0`." 4.15 + echo -e "Please type 'su' and root password to become super-user.\n" 4.16 + exit 1 4.17 +fi 4.18 + 4.19 +# Avoid reinstall 4.20 +if [ -d $ROOT/var/lib/tazpkg/installed/$PACKAGE ]; then 4.21 + echo -e "\n$PACKAGE package is already installed.\n" 4.22 + exit 1 4.23 +fi 4.24 + 4.25 +# Create a TEMP_DIR 4.26 +mkdir -p $TEMP_DIR/downloads 4.27 +cd $TEMP_DIR/downloads 4.28 + 4.29 +# this is the sourceforge mirrorlist as of 2006-04-30. If someone spots changes 4.30 +# over at sourcforge, feel free to email me and I'll update the list 4.31 +mirrors="easynews+heanet+superb-west+internap+switch+ufpr+surfnet+umn+kent+mesh+superb-east+jaist" 4.32 +mirror_count=12 4.33 + 4.34 +andale32_md5="cbdc2fdd7d2ed0832795e86a8b9ee19a andale32.exe" 4.35 +arial32_md5="9637df0e91703179f0723ec095a36cb5 arial32.exe" 4.36 +arialb32_md5="c9089ae0c3b3d0d8c4b0a95979bb9ff0 arialb32.exe" 4.37 +comic32_md5="2b30de40bb5e803a0452c7715fc835d1 comic32.exe" 4.38 +courie32_md5="4e412c772294403ab62fb2d247d85c60 courie32.exe" 4.39 +georgi32_md5="4d90016026e2da447593b41a8d8fa8bd georgi32.exe" 4.40 +impact32_md5="7907c7dd6684e9bade91cff82683d9d7 impact32.exe" 4.41 +times32_md5="ed39c8ef91b9fb80f76f702568291bd5 times32.exe" 4.42 +trebuc32_md5="0d7ea16cac6261f8513a061fbfcdb2b5 trebuc32.exe" 4.43 +webdin32_md5="230a1d13a365b22815f502eb24d9149b webdin32.exe" 4.44 +verdan32_md5="12d2a75f8156e10607be1eaa8e8ef120 verdan32.exe" 4.45 +wd97vwr32_md5="efa72d3ed0120a07326ce02f051e9b42 wd97vwr32.exe" 4.46 + 4.47 +download_files="andale32.exe arial32.exe arialb32.exe comic32.exe courie32.exe georgi32.exe impact32.exe times32.exe trebuc32.exe webdin32.exe verdan32.exe wd97vwr32.exe" 4.48 + 4.49 +failures=0 4.50 + 4.51 +set_mirror() { 4.52 + local r m 4.53 + r=`expr $RANDOM % $mirror_count + 1` 4.54 + m=`echo $mirrors |cut -d+ -f$r` 4.55 + mirror="http://${m}.dl.sourceforge.net/sourceforge/corefonts/" 4.56 +} 4.57 + 4.58 +check_file() { 4.59 + matches=no 4.60 + if [ ! -r $1 ] 4.61 + then 4.62 + echo "$1 does not exist" 4.63 + return 4.64 + fi 4.65 + local variable_name=`basename $1 .exe`_md5 4.66 + local stored_checksum 4.67 + eval stored_checksum=\$$variable_name 4.68 + local computed_checksum=`md5sum $1` 4.69 + if [ "$stored_checksum" = "$computed_checksum" ] 4.70 + then 4.71 + matches=yes 4.72 + else 4.73 + rm $1 4.74 + matches=no 4.75 + fi 4.76 +} 4.77 + 4.78 +download() { 4.79 + curl --retry 5 -H Pragma: -R -S -L -o "$2" $1$2 4.80 +} 4.81 + 4.82 +# Download the file 4.83 +set_mirror 4.84 + 4.85 +if [ ! -d /var/lib/tazpkg/installed/curl ]; then 4.86 + tazpkg get-install curl 4.87 +fi 4.88 +if [ ! -f /usr/bin/curl ]; then 4.89 + cd $CUR_DIR 4.90 + echo "Could not find curl. Exiting." 4.91 + exit 4.92 +fi 4.93 + 4.94 +for f in $download_files 4.95 +do 4.96 + check_file $f 4.97 + while [ $matches != yes ] 4.98 + do 4.99 + download $mirror $f 4.100 + check_file $f 4.101 + if [ $matches != yes ] 4.102 + then 4.103 + echo "failed to download $mirror$f" 4.104 + failures=`expr $failures + 1` 4.105 + if [ $failures -gt 5 ] 4.106 + then 4.107 + echo "failed to download too many times." 4.108 + exit 4.109 + fi 4.110 + set_mirror 4.111 + fi 4.112 + done 4.113 +done 4.114 + 4.115 +# Extract fonts 4.116 +if [ ! -d /var/lib/tazpkg/installed/cabextract ]; then 4.117 + tazpkg get-install cabextract 4.118 +fi 4.119 +if [ ! -f /usr/bin/cabextract ]; then 4.120 + cd $CUR_DIR 4.121 + echo "Could not find cabextract. Exiting." 4.122 + exit 4.123 +fi 4.124 + 4.125 +cd $TEMP_DIR 4.126 +rm -rf cab-contents && mkdir cab-contents 4.127 +mkdir -p $PACKAGE-$VERSION/fs/usr/share/fonts/truetype/$PACKAGE/ 4.128 + 4.129 +font_files="andale32.exe arial32.exe arialb32.exe comic32.exe courie32.exe georgi32.exe impact32.exe times32.exe trebuc32.exe webdin32.exe verdan32.exe" 4.130 + 4.131 +for i in $font_files 4.132 +do 4.133 + if [ -f downloads/$i ] 4.134 + then 4.135 + cabextract --lowercase --directory=cab-contents downloads/$i 4.136 + fi 4.137 + mv cab-contents/*.ttf $PACKAGE-$VERSION/fs/usr/share/fonts/truetype/$PACKAGE/ 4.138 + rm -f cab-contents/* 4.139 +done 4.140 + 4.141 +cabextract --lowercase --directory=cab-contents downloads/wd97vwr32.exe 4.142 +cabextract --lowercase --directory=cab-contents cab-contents/viewer1.cab 4.143 +mv cab-contents/*.ttf $PACKAGE-$VERSION/fs/usr/share/fonts/truetype/$PACKAGE/ 4.144 +rm -f cab-contents/* 4.145 + 4.146 +cd $TEMP_DIR 4.147 + 4.148 +cat > $PACKAGE-$VERSION/receipt << EOT 4.149 +PACKAGE="$PACKAGE" 4.150 +VERSION="$VERSION" 4.151 +CATEGORY="non-free" 4.152 +SHORT_DESC="TrueType core fonts for the web." 4.153 +DEPENDS="fontconfig" 4.154 +WEB_SITE="http://sourceforge.net/projects/corefonts" 4.155 +TAGS="fonts" 4.156 + 4.157 +# Pre and post install commands for Tazpkg. 4.158 +post_install() 4.159 +{ 4.160 + local root 4.161 + root=\${1:-/} 4.162 + echo "Processing post-install commands..." 4.163 + chroot \$root/ /usr/bin/fc-cache /usr/share/fonts/truetype/msttcorefonts >/dev/null 2>&1 4.164 +} 4.165 +EOT 4.166 + 4.167 +# Pack 4.168 +tazpkg pack $PACKAGE-$VERSION 4.169 + 4.170 +# Clean to save RAM memory 4.171 +rm -rf $PACKAGE-$VERSION 4.172 + 4.173 +# Install pseudo package 4.174 +yes y | tazpkg install $PACKAGE-$VERSION.tazpkg --root=$ROOT 4.175 + 4.176 +# Clean 4.177 +cd $CUR_DIR 4.178 +rm -rf $TEMP_DIR
5.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 5.2 +++ b/ggseq/receipt Thu Nov 03 23:25:32 2011 +0100 5.3 @@ -0,0 +1,33 @@ 5.4 +# SliTaz package receipt. 5.5 + 5.6 +PACKAGE="ggseq" 5.7 +VERSION="0.3.1" 5.8 +CATEGORY="multimedia" 5.9 +SHORT_DESC="Gungirl Sequencer is an easy to use Audiosequencer." 5.10 +MAINTAINER="pankso@slitaz.org" 5.11 +DEPENDS="wxWidgets libsndfile libsamplerate" 5.12 +BUILD_DEPENDS="$DEPENDS wxWidgets-dev libsndfile-dev libsamplerate-dev" 5.13 +TARBALL="$PACKAGE-$VERSION.tar.gz" 5.14 +WEB_SITE="http://ggseq.sourceforge.net/" 5.15 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 5.16 + 5.17 +# Rules to configure and make the package. 5.18 +compile_rules() 5.19 +{ 5.20 + cd $src 5.21 + sed -i 's/SoundTouch::getVersionId/getVersionId/' src/SoundTouch/SoundTouch.h 5.22 + ./configure \ 5.23 + --prefix=/usr \ 5.24 + --infodir=/usr/share/info \ 5.25 + --mandir=/usr/share/man \ 5.26 + $CONFIGURE_ARGS && 5.27 + make && make DESTDIR=$PWD/_pkg install 5.28 +} 5.29 + 5.30 +# Rules to gen a SliTaz package suitable for Tazpkg. 5.31 +genpkg_rules() 5.32 +{ 5.33 + mkdir -p $fs/usr 5.34 + cp -a $_pkg/usr/bin $fs/usr 5.35 +} 5.36 +
6.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 6.2 +++ b/gliv/receipt Thu Nov 03 23:25:32 2011 +0100 6.3 @@ -0,0 +1,30 @@ 6.4 +# SliTaz package receipt. 6.5 + 6.6 +PACKAGE="gliv" 6.7 +VERSION="1.9.6" 6.8 +CATEGORY="multimedia" 6.9 +SHORT_DESC="An image viewer that uses OpenGL" 6.10 +MAINTAINER="devl547@gmail.com" 6.11 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 6.12 +WEB_SITE="http://guichaz.free.fr/gliv/" 6.13 +WGET_URL="$WEB_SITE/files/$TARBALL" 6.14 +BUILD_DEPENDS="gtk+-dev gtkglext gtkglext-dev bison mesa-dev" 6.15 +DEPENDS="gtk+ gtkglext gettext" 6.16 + 6.17 +# Rules to configure and make the package. 6.18 +compile_rules() 6.19 +{ 6.20 + cd $src 6.21 + ./configure --prefix=/usr --infodir=/usr/share/info \ 6.22 + --mandir=/usr/share/man $CONFIGURE_ARGS && 6.23 + make && 6.24 + make DESTDIR=$PWD/_pkg install 6.25 +} 6.26 + 6.27 +# Rules to gen a SliTaz package suitable for Tazpkg. 6.28 +genpkg_rules() 6.29 +{ 6.30 + mkdir -p $fs/usr 6.31 + cp -a $_pkg/usr/bin $fs/usr 6.32 + cp -a $_pkg/usr/share $fs/usr 6.33 +}
7.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 7.2 +++ b/guichan-dev/receipt Thu Nov 03 23:25:32 2011 +0100 7.3 @@ -0,0 +1,19 @@ 7.4 +# SliTaz package receipt. 7.5 + 7.6 +PACKAGE="guichan-dev" 7.7 +VERSION="0.8.2" 7.8 +CATEGORY="development" 7.9 +SHORT_DESC="a portable C++ GUI library designed for games using Allegro, SDL and/or OpenGL" 7.10 +MAINTAINER="devl547@gmail.com" 7.11 +WEB_SITE="http://guichan.sourceforge.net/" 7.12 +WANTED="guichan" 7.13 + 7.14 +# Rules to gen a SliTaz package suitable for Tazpkg. 7.15 +genpkg_rules() 7.16 +{ 7.17 + mkdir -p $fs/usr/lib 7.18 + cp -a $_pkg/usr/lib/*a $fs/usr/lib 7.19 + cp -a $_pkg/usr/include $fs/usr 7.20 + cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib 7.21 +} 7.22 +
8.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 8.2 +++ b/guichan/receipt Thu Nov 03 23:25:32 2011 +0100 8.3 @@ -0,0 +1,29 @@ 8.4 +# SliTaz package receipt. 8.5 + 8.6 +PACKAGE="guichan" 8.7 +VERSION="0.8.2" 8.8 +CATEGORY="development" 8.9 +SHORT_DESC="a portable C++ GUI library designed for games using Allegro, SDL and/or OpenGL" 8.10 +MAINTAINER="devl547@gmail.com" 8.11 +DEPENDS="libsdl libsdl-image" 8.12 +BUILD_DEPENDS="libsdl-dev libsdl-image-dev" 8.13 +TARBALL="$PACKAGE-$VERSION.tar.gz" 8.14 +WEB_SITE="http://guichan.sourceforge.net/" 8.15 +WGET_URL="http://$PACKAGE.googlecode.com/files/$TARBALL" 8.16 + 8.17 +# Rules to configure and make the package. 8.18 +compile_rules() 8.19 +{ 8.20 + cd $src 8.21 + ./configure --prefix=/usr $CONFIGURE_ARGS \ 8.22 + --enable-sdl && 8.23 + make && 8.24 + make DESTDIR=$PWD/_pkg install 8.25 +} 8.26 + 8.27 +# Rules to gen a SliTaz package suitable for Tazpkg. 8.28 +genpkg_rules() 8.29 +{ 8.30 + mkdir -p $fs/usr/lib 8.31 + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 8.32 +}
9.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 9.2 +++ b/gvfs-dev/receipt Thu Nov 03 23:25:32 2011 +0100 9.3 @@ -0,0 +1,19 @@ 9.4 +# SliTaz package receipt. 9.5 + 9.6 +PACKAGE="gvfs-dev" 9.7 +VERSION="1.7.2" 9.8 +CATEGORY="development" 9.9 +SHORT_DESC="The gvfs devel files." 9.10 +MAINTAINER="pankso@slitaz.org" 9.11 +WANTED="gvfs" 9.12 +WEB_SITE="http://www.gnome.org/" 9.13 + 9.14 +# Rules to gen a SliTaz package suitable for Tazpkg. 9.15 +genpkg_rules() 9.16 +{ 9.17 + mkdir -p $fs/usr/lib/gio/modules 9.18 + cp -a $_pkg/usr/include $fs/usr 9.19 + #cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib 9.20 + cp -a $_pkg/usr/lib/*.*a $fs/usr/lib 9.21 + cp -a $_pkg/usr/lib/gio/modules/*.*a $fs/usr/lib/gio/modules 9.22 +}
10.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 10.2 +++ b/gvfs/receipt Thu Nov 03 23:25:32 2011 +0100 10.3 @@ -0,0 +1,42 @@ 10.4 +# SliTaz package receipt. 10.5 + 10.6 +PACKAGE="gvfs" 10.7 +VERSION="1.6.6" 10.8 +CATEGORY="system-tools" 10.9 +SHORT_DESC="Userspace virtual filesystem designed to work with gio." 10.10 +MAINTAINER="pankso@slitaz.org" 10.11 +DEPENDS="GConf dbus hal glib gnome-keyring" 10.12 +BUILD_DEPENDS="GConf-dev dbus-dev hal-dev glib-dev gnome-keyring-dev" 10.13 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 10.14 +WEB_SITE="http://www.gnome.org/" 10.15 +WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL" 10.16 + 10.17 +# Rules to configure and make the package. 10.18 +compile_rules() 10.19 +{ 10.20 + cd $src 10.21 + grep -rl gio/gdesktopappinfo.h . | xargs sed -i \ 10.22 +'s|.*gio/gdesktopappinfo.h.*|#ifdef G_DISABLE_DEPRECATED\n#undef G_DISABLE_DEPRECATED\n&\n#define G_DISABLE_DEPRECATED\n#else\n&\n#endif|' 10.23 + ./configure \ 10.24 + --libexecdir=/usr/lib/$PACKAGE \ 10.25 + --sysconfdir=/etc \ 10.26 + --disable-gphoto2 \ 10.27 + --disable-avahi \ 10.28 + --disable-samba && 10.29 + make && make install 10.30 +} 10.31 + 10.32 +# Rules to gen a SliTaz package suitable for Tazpkg. 10.33 +genpkg_rules() 10.34 +{ 10.35 + mkdir -p $fs/usr/lib $fs/usr/share 10.36 + cp -a $_pkg/etc $fs 10.37 + cp -a $_pkg/usr/bin $fs/usr 10.38 + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 10.39 + cp -a $_pkg/usr/lib/$PACKAGE $fs/usr/lib 10.40 + cp -a $_pkg/usr/lib/gio $fs/usr/lib 10.41 + cp -a $_pkg/usr/share/dbus-1 $fs/usr/share 10.42 + cp -a $_pkg/usr/share/gvfs $fs/usr/share 10.43 + rm $fs/usr/lib/gio/modules/*.*a 10.44 + strip -s $fs/usr/lib/$PACKAGE/* 2>/dev/null 10.45 +}