wok-next view 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 source
1 # SliTaz package receipt v2.
3 PACKAGE="tcc"
4 VERSION="0.9.27" # 2017-12-17
5 CATEGORY="development"
6 SHORT_DESC="Fast Tiny C Compiler"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="LGPL2.1 MIT"
9 WEB_SITE="https://bellard.org/tcc/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="http://download.savannah.gnu.org/releases/tinycc/$TARBALL"
13 TARBALL_SHA1="3bab3acd404ea92ba18e0c261d9d8cb2f366a8a5"
15 BUILD_DEPENDS="perl texinfo diffutils"
16 SPLIT="$PACKAGE-arm $PACKAGE-c67 $PACKAGE-i386 $PACKAGE-x86_64 $PACKAGE-win \
17 $PACKAGE-osx"
19 COPY_std="tcc libtcc.a libtcc1.a libtcc.h /usr/lib/tcc/include/"
20 COPY_arm="arm-tcc arm64-tcc arm-libtcc1.a arm64-libtcc1.a"
21 COPY_c67="c67-tcc"
22 COPY_win="i386-win32-tcc x86_64-win32-tcc arm-wince-tcc win32/"
23 COPY_i386="i386-tcc i386-libtcc1.a"
24 COPY_x86_64="x86_64-tcc x86_64-libtcc1.a"
25 COPY_osx="x86_64-osx-tcc x86_64-osx-libtcc1.a"
27 CAT_arm="development|to ARM Hard Float Linux, AArch64 Linux targets"
28 CAT_c67="development|to C67 Linux target"
29 CAT_win="development|to i386 Windows, x86_64 Windows, ARM Hard Float Windows targets"
30 CAT_i386="development|to i386 Linux target"
31 CAT_x86_64="development|to x86_64 Linux target"
32 CAT_osx="development|to x86_64 Darwin target"
34 TAGS_std="compiler C assembler"
35 TAGS_arm="compiler C arm"
36 TAGS_c67="compiler C c67"
37 TAGS_win="compiler C"
38 TAGS_i386="compiler C"
39 TAGS="compiler C"
40 TAGS_osx="compiler C"
42 SUGGESTED_win="mingw32-w32api"
44 compile_rules() {
45 ./configure \
46 --prefix=/usr \
47 --enable-cross \
48 &&
49 make &&
50 make test &&
51 make DESTDIR=$install install
52 }