wok-next rev 20766
childsplay: up (3.3); tiny edits.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Jun 06 04:36:32 2018 +0300 (2018-06-06) |
parents | dc7e6a02b8bf |
children | 68d93367f930 |
files | amsn/receipt avatar-factory/receipt awstats/receipt checkers/receipt checkers/stuff/checkers.desktop chess3d/receipt chess3d/stuff/chess3d.desktop childsplay/receipt coccinella/receipt codiad/receipt cookutils/receipt |
line diff
1.1 --- a/amsn/receipt Wed Jun 06 00:54:44 2018 +0300 1.2 +++ b/amsn/receipt Wed Jun 06 04:36:32 2018 +0300 1.3 @@ -26,6 +26,8 @@ 1.4 make && 1.5 make DESTDIR=$DESTDIR install || return 1 1.6 1.7 + fix symlinks 1.8 + 1.9 for ext in png xml css; do 1.10 find $install -type f -name '*.'$ext -exec chmod a-x \{\} \; 1.11 done
2.1 --- a/avatar-factory/receipt Wed Jun 06 00:54:44 2018 +0300 2.2 +++ b/avatar-factory/receipt Wed Jun 06 04:36:32 2018 +0300 2.3 @@ -1,33 +1,38 @@ 2.4 -# SliTaz package receipt. 2.5 +# SliTaz package receipt v2. 2.6 2.7 PACKAGE="avatar-factory" 2.8 VERSION="0.8" 2.9 CATEGORY="utilities" 2.10 -SHORT_DESC="A bash script that creates eye candy shortcuts for music albums, photo albums, movie files, and more..." 2.11 +SHORT_DESC="A bash script that creates eye candy shortcuts for music albums, \ 2.12 +photo albums, movie files, and more..." 2.13 MAINTAINER="al.bobylev@gmail.com" 2.14 LICENSE="PublicDomain" 2.15 WEB_SITE="http://yuzem.blogspot.com/p/avatar-factory.html?m=1" 2.16 + 2.17 TARBALL="$PACKAGE-$VERSION.tar.bz2" 2.18 WGET_URL="https://launchpad.net/$PACKAGE/trunk/$VERSION/+download/$TARBALL" 2.19 2.20 -DEPENDS="bash findutils imagemagick sed zenity-gtk2" 2.21 -BUILD_DEPENDS="wget" 2.22 +compile_rules() { 2.23 + mkdir -p $install/usr/bin $install/usr/share/applications 2.24 2.25 -# Rules to gen a SliTaz package suitable for Tazpkg. 2.26 -genpkg_rules() 2.27 -{ 2.28 - mkdir -p $fs/usr/bin $fs/usr/share/applications 2.29 - sed -i 's|/usr/local|/usr|g' $src/avatar-factory 2.30 - cp -a $src/avatar-factory $fs/usr/bin 2.31 - cp -a $src/Avatar-Factory $fs/usr/share/avatar-factory 2.32 - sed -i 's|/usr/local|/usr|' $src/avatar-factory.desktop 2.33 - cp -a $src/avatar-factory.desktop $fs/usr/share/applications 2.34 + sed -i 's|/usr/local|/usr|g' avatar-factory 2.35 + cp avatar-factory $install/usr/bin 2.36 + 2.37 + cp -r Avatar-Factory $install/usr/share/avatar-factory 2.38 + 2.39 + sed -i 's|/usr/local|/usr|' avatar-factory.desktop 2.40 + cp avatar-factory.desktop $install/usr/share/applications 2.41 2.42 # fix permissions 2.43 - find $fs -type d -exec chmod 755 {} \; 2.44 - find $fs -type f -exec chmod 644 {} \; 2.45 - for file in $(find $fs -type f); do 2.46 + find $install -type d -exec chmod 755 {} \; 2.47 + find $install -type f -exec chmod 644 {} \; 2.48 + for file in $(find $install -type f); do 2.49 [ $(head -n1 $file | grep '#!/bin/bash') ] && chmod 755 $file 2.50 done 2.51 - chown -R root.root $fs # was pankso.100 ... why ? 2.52 + chown -R root.root $install 2.53 } 2.54 + 2.55 +genpkg_rules() { 2.56 + copy @std 2.57 + DEPENDS="bash findutils imagemagick sed zenity-gtk2" 2.58 +}
3.1 --- a/awstats/receipt Wed Jun 06 00:54:44 2018 +0300 3.2 +++ b/awstats/receipt Wed Jun 06 04:36:32 2018 +0300 3.3 @@ -1,4 +1,4 @@ 3.4 -# SliTaz package receipt. 3.5 +# SliTaz package receipt v2. 3.6 3.7 PACKAGE="awstats" 3.8 VERSION="7.0" 3.9 @@ -7,64 +7,65 @@ 3.10 MAINTAINER="erjo@slitaz.org" 3.11 LICENSE="GPL" 3.12 WEB_SITE="http://awstats.sourceforge.net/" 3.13 + 3.14 TARBALL="$PACKAGE-$VERSION.tar.gz" 3.15 WGET_URL="http://prdownloads.sourceforge.net/awstats/$TARBALL" 3.16 -TAGS="log analysis web mail ftp" 3.17 3.18 -DEPENDS="perl" 3.19 -SUGGESTED="perl-net-xwhois perl-geo-ipfree" 3.20 +compile_rules() { 3.21 + mkdir -p \ 3.22 + $install/usr/share/awstats/extras/ \ 3.23 + $install/var/www/cgi-bin/ \ 3.24 + $install/var/lib/awstats/ \ 3.25 + $install/etc/awstats/ 3.26 3.27 -# Rules to gen a SliTaz package suitable for Tazpkg. 3.28 -genpkg_rules() 3.29 -{ 3.30 - mkdir -p $fs/usr/share/awstats/extras \ 3.31 - $fs/var/www/cgi-bin \ 3.32 - $fs/var/lib/awstats \ 3.33 - $fs/etc/awstats \ 3.34 + cp -r wwwroot/classes $install/usr/share/awstats/ 3.35 + cp -r wwwroot/css $install/usr/share/awstats/ 3.36 + cp -r wwwroot/icon $install/usr/share/awstats/ 3.37 + cp -r wwwroot/js $install/usr/share/awstats/ 3.38 + cp -r wwwroot/cgi-bin/lang $install/usr/share/awstats/ 3.39 + cp -r wwwroot/cgi-bin/lib $install/usr/share/awstats/ 3.40 + cp -r wwwroot/cgi-bin/plugins $install/usr/share/awstats/ 3.41 3.42 - cp -a $src/wwwroot/classes $fs/usr/share/awstats 3.43 - cp -a $src/wwwroot/css $fs/usr/share/awstats 3.44 - cp -a $src/wwwroot/icon $fs/usr/share/awstats 3.45 - cp -a $src/wwwroot/js $fs/usr/share/awstats 3.46 - cp -a $src/wwwroot/cgi-bin/lang $fs/usr/share/awstats 3.47 - cp -a $src/wwwroot/cgi-bin/lib $fs/usr/share/awstats 3.48 - cp -a $src/wwwroot/cgi-bin/plugins $fs/usr/share/awstats 3.49 + cp -r wwwroot/cgi-bin/awstats.pl $install/var/www/cgi-bin/ 3.50 + cp -r wwwroot/cgi-bin/awstats.model.conf $install/etc/awstats/ 3.51 3.52 - cp -a $src/wwwroot/cgi-bin/awstats.pl $fs/var/www/cgi-bin 3.53 - cp -a $src/wwwroot/cgi-bin/awstats.model.conf $fs/etc/awstats 3.54 + cp $stuff/* $install/usr/share/awstats/extras/ 3.55 3.56 - cp $stuff/* $fs/usr/share/awstats/extras 3.57 - 3.58 - # Add a link using google map 3.59 + # Add a link using Google map 3.60 sed -i 's|Full Whois Field"|Full Whois Field <a href=\\"http://en.utrace.de/?query=".$HostResolved."\\">?</a>"|' \ 3.61 - $fs/usr/share/awstats/plugins/hostinfo.pm 3.62 + $install/usr/share/awstats/plugins/hostinfo.pm 3.63 3.64 # Avoid alias conflicts 3.65 - for i in classes css icon ; do 3.66 + for i in classes css icon; do 3.67 sed -i "s| /$i| /awstats$i|" \ 3.68 - $fs/usr/share/awstats/extras/awstats-apache.conf 3.69 + $install/usr/share/awstats/extras/awstats-apache.conf 3.70 sed -i "s|\"/$i|\"/awstats$i|" \ 3.71 - $fs/usr/share/awstats/extras/awstats-lighttpd.conf 3.72 + $install/usr/share/awstats/extras/awstats-lighttpd.conf 3.73 done 3.74 - sed -i -e '/\/css\//d' -e 's|DirIcons="/icon"|DirIcons="/awstatsicon"|' \ 3.75 - $fs/etc/awstats/awstats.model.conf 3.76 - sed -i 's/classes/awstatsclasses/' \ 3.77 - $fs/usr/share/awstats/plugins/graphapplet.pm 3.78 + sed -i '/\/css\//d; s|DirIcons="/icon"|DirIcons="/awstatsicon"|' \ 3.79 + $install/etc/awstats/awstats.model.conf 3.80 + sed -i 's|classes|awstatsclasses|' \ 3.81 + $install/usr/share/awstats/plugins/graphapplet.pm 3.82 3.83 - chown -R root:root $fs 3.84 - find $fs -type f -exec chmod a-x \{\} \; 3.85 + chown -R root:root $install 3.86 + find $install -type f -exec chmod a-x '{}' \; 3.87 chmod a+x \ 3.88 - $fs/usr/share/awstats/extras/update \ 3.89 - $fs/var/www/cgi-bin/awstats.pl \ 3.90 - $fs/usr/share/awstats/classes/src/Makefile.pl 3.91 + $install/usr/share/awstats/extras/update \ 3.92 + $install/var/www/cgi-bin/awstats.pl \ 3.93 + $install/usr/share/awstats/classes/src/Makefile.pl 3.94 } 3.95 3.96 -post_install() 3.97 -{ 3.98 +genpkg_rules() { 3.99 + copy @std 3.100 + DEPENDS="perl" 3.101 + SUGGESTED="perl-net-xwhois perl-geo-ipfree" 3.102 + TAGS="log analysis web mail ftp" 3.103 +} 3.104 + 3.105 +post_install() { 3.106 # Set lighttpd or apache config 3.107 if [ -f "$1/etc/apache/httpd.conf" ]; then 3.108 if [ ! -f "$1/etc/apache/conf.d/awstats.conf" ]; then 3.109 - 3.110 cp "$1/usr/share/awstats/extras/awstats-apache.conf" \ 3.111 "$1/etc/apache/conf.d/awstats.conf" 3.112 fi 3.113 @@ -81,34 +82,31 @@ 3.114 cp "$1/usr/share/awstats/extras/awstats-lighttpd.conf" \ 3.115 "$1/etc/lighttpd/awstats.conf" 3.116 fi 3.117 - # Start Web server if necessary. 3.118 + # Start Web server if necessary. 3.119 if [ -f /var/run/lighttpd.pid ]; then 3.120 /etc/init.d/lighttpd restart 3.121 fi 3.122 fi 3.123 - [ "$quiet" ] || cat <<EOT 3.124 3.125 -You should add in your crontab something like; 3.126 + [ -n "$quiet" ] || cat <<EOT 3.127 3.128 -0 0 * * * /usr/share/awstats/extras/update 3.129 + .-----------------------------------------------. 3.130 + | You should add in your crontab something like | 3.131 + | | 3.132 + | 0 0 * * * /usr/share/awstats/extras/update | 3.133 + '-----------------------------------------------' 3.134 EOT 3.135 } 3.136 3.137 -post_remove() 3.138 -{ 3.139 - echo "Remove orphan dirctories." 3.140 - [ -d /usr/share/awstats ] && rm -rf /usr/share/awstats 3.141 +post_remove() { 3.142 + # Remove orphan directories 3.143 + [ -d "$1/usr/share/awstats" ] && rm -rf "$1/usr/share/awstats" 3.144 3.145 # FIXME 3.146 - echo "All database and configuratoin files will be removed" 3.147 + echo "All database and configuration files will be removed" 3.148 echo -n "Please confirm removing (y/N) : "; read answer 3.149 3.150 case $answer in 3.151 - y|Y) 3.152 - rm -rf /var/lib/awstats 3.153 - rm -rf /etc/awstats 3.154 - ;; 3.155 - *) 3.156 - ;; 3.157 + y|Y) rm -rf "$1/var/lib/awstats" "$1/etc/awstats";; 3.158 esac 3.159 }
4.1 --- a/checkers/receipt Wed Jun 06 00:54:44 2018 +0300 4.2 +++ b/checkers/receipt Wed Jun 06 04:36:32 2018 +0300 4.3 @@ -1,4 +1,4 @@ 4.4 -# SliTaz package receipt. 4.5 +# SliTaz package receipt v2. 4.6 4.7 PACKAGE="checkers" 4.8 VERSION="1.0" 4.9 @@ -6,31 +6,26 @@ 4.10 SHORT_DESC="Checkers game in javascript" 4.11 MAINTAINER="pascal.bellard@slitaz.org" 4.12 LICENSE="unknown" 4.13 -TARBALL="$PACKAGE-$VERSION.tar.lzma" 4.14 WEB_SITE="http://thierry.franquin.free.fr/jeudame/Dames.htm" 4.15 4.16 -# Rules to configure and make the package. 4.17 -compile_rules() 4.18 -{ 4.19 - 4.20 +compile_rules() { 4.21 + mkdir -p $src 4.22 + cd $src 4.23 + 4.24 + TARBALL="$PACKAGE-$VERSION.tar.gz" 4.25 if [ -f $SRC/$TARBALL ]; then 4.26 - unlzma -c $SRC/$TARBALL | tar xf - 4.27 + tar -xf $SRC/$TARBALL 4.28 else 4.29 - mkdir -p $src/$PACKAGE-$VERSION 4.30 - for i in Dames.htm black.gif gray.gif \ 4.31 - me1k.gif me2k.gif you1k.gif you2k.gif \ 4.32 - me1.gif me2.gif you1.gif you2.gif ; do 4.33 - [ -s $i ] || wget -O $src/$PACKAGE-$VERSION/$i $(dirname $WEB_SITE)/$i 4.34 + for i in Dames.htm black.gif gray.gif me1k.gif me2k.gif you1k.gif \ 4.35 + you2k.gif me1.gif me2.gif you1.gif you2.gif; do 4.36 + wget -O $src/$i $(dirname $WEB_SITE)/$i 4.37 done 4.38 - cd $src 4.39 - tar -c * | lzma e $SRC/$TARBALL -si 4.40 - mv $PACKAGE-$VERSION/* . 4.41 - rm -rf $PACKAGE-$VERSION 4.42 + tar -czf $SRC/$TARBALL * 4.43 fi 4.44 - 4.45 - cd $src 4.46 + 4.47 grep -qs Dames_htm_smartbutton1 Dames.htm || return 0 4.48 - sed -i -e 's|TITLE>.*</TITLE|TITLE>Checkers</TITLE|' \ 4.49 + sed \ 4.50 + -e 's|TITLE>.*</TITLE|TITLE>Checkers</TITLE|' \ 4.51 -e 's|background="nth_brown_bg.gif" ||' \ 4.52 -e 's|cellpadding=0|& align=center|' \ 4.53 -e '/Vous devez commencer/d' \ 4.54 @@ -39,25 +34,14 @@ 4.55 -e '/marrer le jeu/d' \ 4.56 -e '/Dames_htm_smartbutton1/d' \ 4.57 -e 's|table><br>"|&);|' \ 4.58 - Dames.htm 4.59 + -i Dames.htm 4.60 + 4.61 + mkdir -p $install/var/www/checkers/ 4.62 + cp $src/* $install/var/www/checkers/ 4.63 + mv $install/var/www/checkers/Dames.htm $install/var/www/checkers/index.html 4.64 } 4.65 4.66 -# Rules to gen a SliTaz package suitable for Tazpkg. 4.67 -genpkg_rules() 4.68 -{ 4.69 - mkdir -p $fs/var/www/checkers $fs/usr/share/applications 4.70 - cp $src/* $fs/var/www/checkers 4.71 - mv $fs/var/www/checkers/Dames.htm $fs/var/www/checkers/index.html 4.72 +genpkg_rules() { 4.73 + copy @std 4.74 chown -R 80.80 $fs/var/www/checkers 4.75 - cat > $fs/usr/share/applications/checkers.desktop <<EOT 4.76 -[Desktop Entry] 4.77 -Type=Application 4.78 -Name=Checkers 4.79 -Exec=browser file:///var/www/checkers/index.html 4.80 -Icon=checkers 4.81 -Terminal=false 4.82 -Categories=Game; 4.83 -Comment=Checkers game 4.84 -EOT 4.85 } 4.86 -
5.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 5.2 +++ b/checkers/stuff/checkers.desktop Wed Jun 06 04:36:32 2018 +0300 5.3 @@ -0,0 +1,8 @@ 5.4 +[Desktop Entry] 5.5 +Type=Application 5.6 +Name=Checkers 5.7 +Exec=browser file:///var/www/checkers/index.html 5.8 +Icon=checkers 5.9 +Terminal=false 5.10 +Categories=Game; 5.11 +Comment=Checkers game
6.1 --- a/chess3d/receipt Wed Jun 06 00:54:44 2018 +0300 6.2 +++ b/chess3d/receipt Wed Jun 06 04:36:32 2018 +0300 6.3 @@ -1,78 +1,64 @@ 6.4 -# SliTaz package receipt. 6.5 +# SliTaz package receipt v2. 6.6 6.7 PACKAGE="chess3d" 6.8 VERSION="1.0" 6.9 CATEGORY="games" 6.10 SHORT_DESC="3D Chess game in javascript" 6.11 -TARBALL="$PACKAGE-$VERSION.tar.lzma" 6.12 MAINTAINER="pascal.bellard@slitaz.org" 6.13 LICENSE="GPL" 6.14 WEB_SITE="http://chessforeva.appspot.com/" 6.15 -TAGS="chess" 6.16 6.17 -# Rules to configure and make the package. 6.18 -compile_rules() 6.19 -{ 6.20 - mkdir $src 6.21 +compile_rules() { 6.22 + mkdir -p $src 6.23 cd $src 6.24 - if [ ! -s C0_Toledo.htm ] && 6.25 - wget http://mirror.slitaz.org/sources/packages/c/$TARBALL; then 6.26 - unlzma -c $TARBALL | tar xf - 6.27 - mv $PACKAGE-$VERSION/* . 6.28 - fi 6.29 - mkdir -p arts d_img img 6.30 - for i in C0_Toledo.htm c0_pgn.js c0_chess.js ; do 6.31 - [ -s $i ] && continue 6.32 - wget ${WEB_SITE}$i || return 1 6.33 - dos2unix $i 6.34 - done 6.35 - for i in arts/a_arrow ; do 6.36 - [ -s $i.gif ] && continue 6.37 - wget -P arts ${WEB_SITE}$i.gif || return 1 6.38 - done 6.39 - for i in b_plus1 b_minus1 b_topview oie_arrow_white ; do 6.40 - [ -s img/$i.gif ] && continue 6.41 - wget -P img ${WEB_SITE}img/$i.gif || return 1 6.42 - done 6.43 - for i in t oie ; do 6.44 - for j in board letters letters2 ; do 6.45 - f=${i}_$j.gif 6.46 - [ -s img/$f ] && continue 6.47 - wget -P img ${WEB_SITE}img/$f || return 1 6.48 + 6.49 + TARBALL="$PACKAGE-$VERSION.tar.gz" 6.50 + if [ -f $SRC/$TARBALL ]; then 6.51 + tar -xf $SRC/$TARBALL 6.52 + else 6.53 + mkdir -p arts d_img img 6.54 + 6.55 + for i in C0_Toledo.htm c0_pgn.js c0_chess.js; do 6.56 + wget $WEB_SITE$i || return 1 6.57 + dos2unix $i 6.58 done 6.59 - for j in w b ; do 6.60 - for k in pawn rook knight1 knight2 bishop qeen king ; do 6.61 - f=${i}_${j}$k.gif 6.62 - [ -s img/$f ] && continue 6.63 - wget -P img ${WEB_SITE}img/$f || return 1 6.64 + 6.65 + wget -P arts ${WEB_SITE}arts/a_arrow.gif || return 1 6.66 + 6.67 + for i in b_plus1 b_minus1 b_topview oie_arrow_white; do 6.68 + wget -P img ${WEB_SITE}img/$i.gif || return 1 6.69 + done 6.70 + 6.71 + for i in t oie; do 6.72 + for j in board letters letters2; do 6.73 + wget -P img ${WEB_SITE}img/${i}_$j.gif || return 1 6.74 + done 6.75 + for j in w b; do 6.76 + for k in pawn rook knight1 knight2 bishop qeen king; do 6.77 + wget -P img ${WEB_SITE}img/${i}_${j}$k.gif || return 1 6.78 + done 6.79 done 6.80 done 6.81 - done 6.82 - sed -i -e 's/var THide=.*/var THide=1;/' \ 6.83 + tar -czf $SRC/$TARBALL * 6.84 + fi 6.85 + 6.86 + sed \ 6.87 + -e 's/var THide=.*/var THide=1;/' \ 6.88 -e 's/var Tnoback=.*/var Tnoback=1;/' \ 6.89 -e 's/c0_topview=true;/&\nc0_ch_topview();/' \ 6.90 -e 's|http://chess.*com/||' \ 6.91 -e 's|http://www.ltn.lv/~gv/to.*gif|img/b_minus1.gif|' \ 6.92 - -e "s|${WEB_SITE}||" \ 6.93 - C0_Toledo.htm 6.94 - sed -i -e "s|${WEB_SITE}||" *.js 6.95 + -e "s|$WEB_SITE||" \ 6.96 + -i C0_Toledo.htm 6.97 + sed -i -e "s|$WEB_SITE||" *.js 6.98 + 6.99 + mkdir -p $install/var/www/chess3d/ 6.100 + cp -r $src/* $install/var/www/chess3d/ 6.101 + mv $install/var/www/chess3d/C0_Toledo.htm $install/var/www/chess3d/index.html 6.102 } 6.103 6.104 -# Rules to gen a SliTaz package suitable for Tazpkg. 6.105 -genpkg_rules() 6.106 -{ 6.107 - mkdir -p $fs/var/www/chess3d $fs/usr/share/applications 6.108 - cp -a $src/* $fs/var/www/chess3d 6.109 - mv $fs/var/www/chess3d/C0_Toledo.htm $fs/var/www/chess3d/index.html 6.110 +genpkg_rules() { 6.111 + copy @std 6.112 chown -R 80.80 $fs/var/www/chess3d 6.113 - cat > $fs/usr/share/applications/chess3d.desktop <<EOT 6.114 -[Desktop Entry] 6.115 -Type=Application 6.116 -Name=Chess3d 6.117 -Exec=browser file:///var/www/chess3d/index.html 6.118 -Icon=chess3d 6.119 -Terminal=false 6.120 -Categories=Game; 6.121 -Comment=3d chess game 6.122 -EOT 6.123 + TAGS="chess" 6.124 }
7.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 7.2 +++ b/chess3d/stuff/chess3d.desktop Wed Jun 06 04:36:32 2018 +0300 7.3 @@ -0,0 +1,7 @@ 7.4 +[Desktop Entry] 7.5 +Type=Application 7.6 +Name=Chess3d 7.7 +Comment=3D chess game 7.8 +Exec=browser file:///var/www/chess3d/index.html 7.9 +Icon=chess3d 7.10 +Categories=Game;
8.1 --- a/childsplay/receipt Wed Jun 06 00:54:44 2018 +0300 8.2 +++ b/childsplay/receipt Wed Jun 06 04:36:32 2018 +0300 8.3 @@ -1,30 +1,28 @@ 8.4 -# SliTaz package receipt. 8.5 +# SliTaz package receipt v2. 8.6 8.7 PACKAGE="childsplay" 8.8 -VERSION="2.6.1" 8.9 +VERSION="3.3" 8.10 CATEGORY="games" 8.11 -SHORT_DESC="Python educational game." 8.12 +SHORT_DESC="Collection of educational activities for young children" 8.13 MAINTAINER="claudinei@slitaz.org" 8.14 LICENSE="GPL3" 8.15 +WEB_SITE="http://www.schoolsplay.org/" 8.16 + 8.17 TARBALL="$PACKAGE-$VERSION.tgz" 8.18 -WEB_SITE="http://www.schoolsplay.org/" 8.19 -WGET_URL="http://download.savannah.gnu.org/releases/childsplay/$TARBALL" 8.20 +WGET_URL="http://download.savannah.nongnu.org/releases/childsplay/$TARBALL" 8.21 8.22 -DEPENDS="python pygtk python-pygame python-pysqlite python-sqlalchemy libogg" 8.23 +compile_rules() { 8.24 + mkdir -p $install/usr/share/childsplay 8.25 + cp -r SPWidgets/ alphabet-sounds/ lib/ *.py *.db \ 8.26 + $install/usr/share/childsplay 8.27 + cp -r locale $install/usr/share 8.28 + cook_pick_docs docs/*.html 8.29 8.30 -# Rules to configure and make the package. 8.31 -compile_rules() 8.32 -{ 8.33 - mkdir -p ${DESTDIR}/usr/share/${PACKAGE} 8.34 - cp -a ${src}/* ${DESTDIR}/usr/share/${PACKAGE} 8.35 - mv ${DESTDIR}/usr/share/${PACKAGE}/locale ${DESTDIR}/usr/share 8.36 - rm -rf ${DESTDIR}/usr/share/${PACKAGE}/po 8.37 + install -Dm755 $stuff/childsplay $install/usr/games/childsplay 8.38 } 8.39 8.40 -# Rules to gen a SliTaz package suitable for Tazpkg. 8.41 -genpkg_rules() 8.42 -{ 8.43 - mkdir -p $fs/usr/games 8.44 - cp ${stuff}/${PACKAGE} $fs/usr/games 8.45 - cp -a ${install}/* ${fs} 8.46 +genpkg_rules() { 8.47 + copy @std 8.48 + DEPENDS="python pygtk python-pygame python-pysqlite python-sqlalchemy \ 8.49 + libogg" 8.50 }
9.1 --- a/coccinella/receipt Wed Jun 06 00:54:44 2018 +0300 9.2 +++ b/coccinella/receipt Wed Jun 06 04:36:32 2018 +0300 9.3 @@ -1,27 +1,31 @@ 9.4 -# SliTaz package receipt. 9.5 +# SliTaz package receipt v2. 9.6 9.7 PACKAGE="coccinella" 9.8 -SOURCE="Coccinella" 9.9 VERSION="0.96.20" 9.10 CATEGORY="network" 9.11 -SHORT_DESC="Cross-platform communication tool with a built-in whiteboard." 9.12 +SHORT_DESC="Cross-platform communication tool with a built-in whiteboard" 9.13 MAINTAINER="pascal.bellard@slitaz.org" 9.14 LICENSE="GPL3" 9.15 WEB_SITE="http://thecoccinella.org/" 9.16 -TARBALL="$SOURCE-${VERSION}Src.tar.gz" 9.17 -WGET_URL="$SF_MIRROR/project/$PACKAGE/$PACKAGE/$VERSION/$TARBALL" 9.18 +HOST_ARCH="i486" 9.19 9.20 -DEPENDS="tk" 9.21 -BUILD_DEPENDS="" 9.22 +TARBALL="Coccinella-${VERSION}Src.tar.gz" 9.23 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 9.24 9.25 -# Rules to gen a SliTaz package suitable for Tazpkg. 9.26 -genpkg_rules() 9.27 -{ 9.28 - mkdir -p $fs/usr/bin $fs/usr/share/applications 9.29 - cp -a $src $fs/usr/share/coccinella 9.30 - rm -rf $fs/usr/share/coccinella/bin/macosx 9.31 - rm -rf $fs/usr/share/coccinella/bin/unix/NetBSD 9.32 - rm -rf $fs/usr/share/coccinella/bin/windows 9.33 - cp $stuff/coccinella $fs/usr/bin 9.34 - cp $stuff/coccinella.desktop $fs/usr/share/applications 9.35 +compile_rules() { 9.36 + mkdir -p $install/usr/share 9.37 + cp -r $src $install/usr/share/coccinella 9.38 + rm -r $install/usr/share/coccinella/bin/macosx 9.39 + rm -r $install/usr/share/coccinella/bin/unix/NetBSD 9.40 + rm -r $install/usr/share/coccinella/bin/windows 9.41 + 9.42 + install -Dm755 $stuff/coccinella $install/usr/bin/coccinella 9.43 + 9.44 + find $install -name '*.so' -exec chmod 755 '{}' \; 9.45 + chown -R root:root $install 9.46 } 9.47 + 9.48 +genpkg_rules() { 9.49 + copy @std 9.50 + DEPENDS="tk" 9.51 +}
10.1 --- a/codiad/receipt Wed Jun 06 00:54:44 2018 +0300 10.2 +++ b/codiad/receipt Wed Jun 06 04:36:32 2018 +0300 10.3 @@ -15,7 +15,6 @@ 10.4 compile_rules() { 10.5 mkdir -p $install/var/www/codiad $install/etc 10.6 cp -a $src/* $install/var/www/codiad 10.7 - chown -R www.www $install/var/www/codiad 10.8 chmod 777 $install/var/www/codiad/data 10.9 mv $install/var/www/codiad/config.example.php $install/etc/codiad.php 10.10 ln -s /etc/codiad.php $install/var/www/codiad/config.php 10.11 @@ -23,6 +22,7 @@ 10.12 10.13 genpkg_rules() { 10.14 copy @std 10.15 + chown -R www:www $fs/var/www/codiad 10.16 DEPENDS="php" 10.17 CONFIG_FILES="/etc/codiad.php" 10.18 }
11.1 --- a/cookutils/receipt Wed Jun 06 00:54:44 2018 +0300 11.2 +++ b/cookutils/receipt Wed Jun 06 04:36:32 2018 +0300 11.3 @@ -1,7 +1,7 @@ 11.4 # SliTaz package receipt v2. 11.5 11.6 PACKAGE="cookutils" 11.7 -VERSION="1066" 11.8 +VERSION="1067" 11.9 CATEGORY="base-system" 11.10 SHORT_DESC="SliTaz packages builder new generation" 11.11 MAINTAINER="pankso@slitaz.org"