wok-6.x rev 20459
Add py3k7
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Oct 10 15:54:03 2018 +0200 (2018-10-10) |
parents | 77cbb661144f |
children | 605c88c58754 |
files | amule/receipt linld/receipt linld/stuff/src/!COMPILE.BAT linld/stuff/src/!COMPILEX.BAT linld/stuff/src/pipehole.awk py3k7-dev/receipt py3k7/receipt |
line diff
1.1 --- a/amule/receipt Wed Oct 10 10:43:41 2018 +0200 1.2 +++ b/amule/receipt Wed Oct 10 15:54:03 2018 +0200 1.3 @@ -38,6 +38,7 @@ 1.4 genpkg_rules() 1.5 { 1.6 mkdir -p $fs/usr/share 1.7 + rm -rf $install/usr/share/man/?? $install/usr/share/man/*_* 1.8 cp -a $install/usr/bin $fs/usr 1.9 cp -a $install/usr/share/amule $fs/usr/share 1.10 # Remove unused files in this base package.
2.1 --- a/linld/receipt Wed Oct 10 10:43:41 2018 +0200 2.2 +++ b/linld/receipt Wed Oct 10 15:54:03 2018 +0200 2.3 @@ -24,7 +24,7 @@ 2.4 busybox wget -O $SRC/$EXTRA_TOOL $EXTRA_TOOL_URL 2.5 mv DIST $src 2> /dev/null 2.6 cd $src 2.7 - unzip $SRC/$EXTRA_TOOL 2.8 + unzip $SRC/$EXTRA_TOOL > /dev/null 2.9 rm LINLD$SUFFIX/CRTL.CPP LINLD$SUFFIX/INT15_88.ASM 2.10 cp $stuff/src/* LINLD$SUFFIX/ 2.11 cp -a LINLD$SUFFIX TAZBOOT
3.1 --- a/linld/stuff/src/!COMPILE.BAT Wed Oct 10 10:43:41 2018 +0200 3.2 +++ b/linld/stuff/src/!COMPILE.BAT Wed Oct 10 15:54:03 2018 +0200 3.3 @@ -7,8 +7,8 @@ 3.4 ren LINLD.ASM LINLD.ASO 3.5 ren LOAD.ASM LOAD.ASO 3.6 ren HIMEM.ASM HIMEM.ASO 3.7 -mawk -f pipehole.awk < LINLD.ASO > LINLD.ASM 3.8 -mawk -f pipehole.awk < LOAD.ASO > LOAD.ASM 3.9 -mawk -f pipehole.awk < HIMEM.ASO > HIMEM.ASM 3.10 +mawk -f pipehole.awk LINLD.ASO > LINLD.ASM 3.11 +mawk -f pipehole.awk LOAD.ASO > LOAD.ASM 3.12 +mawk -f pipehole.awk HIMEM.ASO > HIMEM.ASM 3.13 tasm /la /m /dLARGE_IMAGES *.asm > asm.log 3.14 tlink /m /s /t @link.cmd > lnk.log
4.1 --- a/linld/stuff/src/!COMPILEX.BAT Wed Oct 10 10:43:41 2018 +0200 4.2 +++ b/linld/stuff/src/!COMPILEX.BAT Wed Oct 10 15:54:03 2018 +0200 4.3 @@ -5,9 +5,9 @@ 4.4 ren LOAD.ASM LOAD.ASO 4.5 ren HIMEM.ASM HIMEM.ASO 4.6 ren ISO9660.ASM ISO9660.ASO 4.7 -mawk -f pipehole.awk < TAZBOOT.ASO > TAZBOOT.ASM 4.8 -mawk -f pipehole.awk < LOAD.ASO > LOAD.ASM 4.9 -mawk -f pipehole.awk < HIMEM.ASO > HIMEM.ASM 4.10 -mawk -f pipehole.awk < ISO9660.ASO > ISO9660.ASM 4.11 +mawk -f pipehole.awk TAZBOOT.ASO > TAZBOOT.ASM 4.12 +mawk -f pipehole.awk LOAD.ASO > LOAD.ASM 4.13 +mawk -f pipehole.awk HIMEM.ASO > HIMEM.ASM 4.14 +mawk -f pipehole.awk ISO9660.ASO > ISO9660.ASM 4.15 tasm /la /m /dEXTRA /dNO386 /dLARGE_IMAGES *.asm > asm.log 4.16 tlink /m /s /t @linkx.cmd > lnk.log
5.1 --- a/linld/stuff/src/pipehole.awk Wed Oct 10 10:43:41 2018 +0200 5.2 +++ b/linld/stuff/src/pipehole.awk Wed Oct 10 15:54:03 2018 +0200 5.3 @@ -81,7 +81,7 @@ 5.4 } 5.5 if (/^ and [abcd]x,/) { 5.6 split($2,args,",") 5.7 - if (isnum(args[2]) && args[2] >= -255 && args[2] < 0) { 5.8 + if (isnum(args[2]) && args[2] >= -256 && args[2] < 0) { 5.9 print " and " substr(args[1],1,1) "l," args[2]; next 5.10 } 5.11 } 5.12 @@ -95,7 +95,7 @@ 5.13 if (/^ and e[abcd]x,/) { 5.14 split($2,args,",") 5.15 if (args[2] == "large") { args[2] = $3 } 5.16 - if (isnum(args[2]) && args[2] >= -255 && args[2] < 0) { 5.17 + if (isnum(args[2]) && args[2] >= -256 && args[2] < 0) { 5.18 print " and " substr(args[1],2,1) "l," args[2]; next 5.19 } 5.20 } 5.21 @@ -109,7 +109,7 @@ 5.22 if (/^ and e[abcds][ix],/) { 5.23 split($2,args,",") 5.24 if (args[2] == "large") { args[2] = $3 } 5.25 - if (isnum(args[2]) && args[2] >= -65535 && args[2] < 0) { 5.26 + if (isnum(args[2]) && args[2] >= -65536 && args[2] < 0) { 5.27 print " and " substr(args[1],2) "," args[2]; next 5.28 } 5.29 }
6.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 6.2 +++ b/py3k7-dev/receipt Wed Oct 10 15:54:03 2018 +0200 6.3 @@ -0,0 +1,24 @@ 6.4 +# SliTaz package receipt. 6.5 + 6.6 +PACKAGE="py3k7-dev" 6.7 +VERSION="3.7.0" 6.8 +CATEGORY="development" 6.9 +SHORT_DESC="The Python programming language devel files." 6.10 +MAINTAINER="pascal.bellard@slitaz.org" 6.11 +LICENSE="PSL" 6.12 +WANTED="py3k7" 6.13 +SOURCE="Python" 6.14 +WEB_SITE="https://www.python.org/" 6.15 +PROVIDE="py3k-dev" 6.16 + 6.17 +DEPENDS="py3k7" 6.18 + 6.19 +# Rules to gen a SliTaz package suitable for Tazpkg. 6.20 +genpkg_rules() 6.21 +{ 6.22 + mkdir -p $fs/usr/bin 6.23 + cp -a $install/usr/include $fs/usr 6.24 + cp -a $install/usr/bin/*-config $fs/usr/bin 6.25 + chmod 755 $fs/usr/bin/*-config 6.26 + rm $fs/usr/include/*/pyconfig.h 6.27 +}
7.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 7.2 +++ b/py3k7/receipt Wed Oct 10 15:54:03 2018 +0200 7.3 @@ -0,0 +1,42 @@ 7.4 +# SliTaz package receipt. 7.5 + 7.6 +PACKAGE="py3k7" 7.7 +VERSION="3.7.0" 7.8 +CATEGORY="development" 7.9 +SHORT_DESC="The Python 3000 programming language." 7.10 +MAINTAINER="nneul@neulinger.org" 7.11 +LICENSE="GPL" 7.12 +SOURCE="Python" 7.13 +TARBALL="$SOURCE-$VERSION.tgz" 7.14 +WEB_SITE="https://www.python.org/download/releases/" 7.15 +WGET_URL="https://www.python.org/ftp/python/$VERSION/$TARBALL" 7.16 +PROVIDE="py3k" 7.17 + 7.18 +DEPENDS="openssl bzlib readline sqlite zlib xorg-libXss ncursesw gdbm tk \ 7.19 +xorg-libXext" 7.20 +BUILD_DEPENDS="readline-dev gdbm-dev openssl-dev sqlite-dev zlib-dev tk-dev \ 7.21 +ncursesw-dev liblzma-dev" 7.22 + 7.23 +# Rules to configure and make the package. 7.24 +compile_rules() 7.25 +{ 7.26 + mkdir -p $DESTDIR/usr/lib/pkgconfig 7.27 + ./configure --enable-shared \ 7.28 + --prefix=/usr --infodir=/usr/share/info \ 7.29 + --mandir=/usr/share/man $CONFIGURE_ARGS && 7.30 + make && 7.31 + make DESTDIR=$DESTDIR install 7.32 +} 7.33 + 7.34 +# Rules to gen a SliTaz package suitable for Tazpkg. 7.35 +genpkg_rules() 7.36 +{ 7.37 + python_version=${VERSION:0:3} 7.38 + mkdir -p $fs/usr/include/python${python_version}m 7.39 + cp -a $install/usr/bin $fs/usr 7.40 + cp -a $install/usr/lib $fs/usr 7.41 + # needed for python3 to work 7.42 + cp -a $install/usr/include/python${python_version}m/pyconfig.h \ 7.43 + $fs/usr/include/python${python_version}m 7.44 + rm -f $fs/usr/bin/*-config 7.45 +}