wok-next diff tcc/receipt @ rev 21637
faad2: added build dependency libtool
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jun 26 11:18:23 2020 +0100 (2020-06-26) |
parents | d5aab818505e |
children |
line diff
1.1 --- a/tcc/receipt Fri Nov 02 14:15:08 2018 +0200 1.2 +++ b/tcc/receipt Fri Jun 26 11:18:23 2020 +0100 1.3 @@ -1,21 +1,46 @@ 1.4 # SliTaz package receipt v2. 1.5 1.6 PACKAGE="tcc" 1.7 -GITHASH="0cc24d0e8487eaf53bb2849fef7e438a8e8fc94d" # 21/7/2017 1.8 -VERSION="20170721" 1.9 +VERSION="0.9.27" # 2017-12-17 1.10 CATEGORY="development" 1.11 SHORT_DESC="Fast Tiny C Compiler" 1.12 MAINTAINER="pascal.bellard@slitaz.org" 1.13 LICENSE="LGPL2.1 MIT" 1.14 WEB_SITE="https://bellard.org/tcc/" 1.15 1.16 -TARBALL="$PACKAGE-$VERSION.tar.gz" 1.17 -WGET_URL="http://repo.or.cz/tinycc.git/snapshot/$GITHASH.tar.gz" 1.18 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.19 +WGET_URL="http://download.savannah.gnu.org/releases/tinycc/$TARBALL" 1.20 +TARBALL_SHA1="3bab3acd404ea92ba18e0c261d9d8cb2f366a8a5" 1.21 1.22 BUILD_DEPENDS="perl texinfo diffutils" 1.23 SPLIT="$PACKAGE-arm $PACKAGE-c67 $PACKAGE-i386 $PACKAGE-x86_64 $PACKAGE-win \ 1.24 $PACKAGE-osx" 1.25 1.26 +COPY_std="tcc libtcc.a libtcc1.a libtcc.h /usr/lib/tcc/include/" 1.27 +COPY_arm="arm-tcc arm64-tcc arm-libtcc1.a arm64-libtcc1.a" 1.28 +COPY_c67="c67-tcc" 1.29 +COPY_win="i386-win32-tcc x86_64-win32-tcc arm-wince-tcc win32/" 1.30 +COPY_i386="i386-tcc i386-libtcc1.a" 1.31 +COPY_x86_64="x86_64-tcc x86_64-libtcc1.a" 1.32 +COPY_osx="x86_64-osx-tcc x86_64-osx-libtcc1.a" 1.33 + 1.34 +CAT_arm="development|to ARM Hard Float Linux, AArch64 Linux targets" 1.35 +CAT_c67="development|to C67 Linux target" 1.36 +CAT_win="development|to i386 Windows, x86_64 Windows, ARM Hard Float Windows targets" 1.37 +CAT_i386="development|to i386 Linux target" 1.38 +CAT_x86_64="development|to x86_64 Linux target" 1.39 +CAT_osx="development|to x86_64 Darwin target" 1.40 + 1.41 +TAGS_std="compiler C assembler" 1.42 +TAGS_arm="compiler C arm" 1.43 +TAGS_c67="compiler C c67" 1.44 +TAGS_win="compiler C" 1.45 +TAGS_i386="compiler C" 1.46 +TAGS="compiler C" 1.47 +TAGS_osx="compiler C" 1.48 + 1.49 +SUGGESTED_win="mingw32-w32api" 1.50 + 1.51 compile_rules() { 1.52 ./configure \ 1.53 --prefix=/usr \ 1.54 @@ -25,43 +50,3 @@ 1.55 make test && 1.56 make DESTDIR=$install install 1.57 } 1.58 - 1.59 -genpkg_rules() { 1.60 - case $PACKAGE in 1.61 - tcc) 1.62 - copy tcc libtcc.a libtcc1.a libtcc.h /usr/lib/tcc/include/ 1.63 - TAGS="compiler C assembler" 1.64 - ;; 1.65 - tcc-arm) 1.66 - copy arm-tcc arm64-tcc libtcc1-arm.a libtcc1-arm64.a 1.67 - CAT="development|to ARM Hard Float Linux, AArch64 Linux targets" 1.68 - TAGS="compiler C arm" 1.69 - ;; 1.70 - tcc-c67) 1.71 - copy c67-tcc 1.72 - CAT="development|to C67 Linux target" 1.73 - TAGS="compiler C c67" 1.74 - ;; 1.75 - tcc-win) 1.76 - copy i386-win32-tcc x86_64-win32-tcc arm-wince-tcc win32/ 1.77 - CAT="development|to i386 Windows, x86_64 Windows, ARM Hard Float Windows targets" 1.78 - SUGGESTED="mingw32-w32api" 1.79 - TAGS="compiler C" 1.80 - ;; 1.81 - tcc-i386) 1.82 - copy i386-tcc libtcc1-i386.a 1.83 - CAT="development|to i386 Linux target" 1.84 - TAGS="compiler C" 1.85 - ;; 1.86 - tcc-x86_64) 1.87 - copy x86_64-tcc libtcc1-x86_64.a 1.88 - CAT="development|to x86_64 Linux target" 1.89 - TAGS="compiler C" 1.90 - ;; 1.91 - tcc-osx) 1.92 - copy x86_64-osx-tcc libtcc1-x86_64-osx.a 1.93 - CAT="development|to x86_64 Darwin target" 1.94 - TAGS="compiler C" 1.95 - ;; 1.96 - esac 1.97 -}