wok-next view tcc/receipt @ rev 20872
perl-texi2html -> texi2html (because it don't contain Perl modules, and not exists on the (meta)cpan, and old, and...); gcompris: up (11.12 -> 17.05)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Jul 04 02:05:23 2018 +0300 (2018-07-04) |
parents | aef69ec23a2f |
children | 7506b35e1c6f |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="tcc"
4 GITHASH="0cc24d0e8487eaf53bb2849fef7e438a8e8fc94d" # 21/7/2017
5 VERSION="20170721"
6 CATEGORY="development"
7 SHORT_DESC="Fast Tiny C Compiler"
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="LGPL2.1 MIT"
10 WEB_SITE="http://bellard.org/tcc/"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="http://repo.or.cz/tinycc.git/snapshot/$GITHASH.tar.gz"
15 BUILD_DEPENDS_arm=" " # Perl is installed in a cross env.
16 BUILD_DEPENDS="perl texinfo diffutils"
17 SPLIT="tcc-arm tcc-c67 tcc-i386 tcc-x86_64 tcc-win tcc-osx"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 case "$ARCH" in
23 arm) ARCH_ARGS="--cross-prefix=arm-slitaz-linux-gnueabi- --cpu=armv4l";;
24 *) ARCH_ARGS="--enable-cross";;
25 esac
27 ./configure \
28 --prefix=/usr \
29 $ARCH_ARGS &&
30 make && make test &&
31 make DESTDIR=$DESTDIR install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 case $PACKAGE in
38 tcc)
39 copy tcc libtcc.a libtcc1.a libtcc.h /usr/lib/tcc/include/
40 TAGS="compiler C assembler"
41 ;;
42 tcc-arm)
43 copy arm-tcc arm64-tcc libtcc1-arm.a libtcc1-arm64.a
44 CAT="development|to ARM Hard Float Linux, AArch64 Linux targets"
45 TAGS="compiler C arm"
46 ;;
47 tcc-c67)
48 copy c67-tcc
49 CAT="development|to C67 Linux target"
50 TAGS="compiler C c67"
51 ;;
52 tcc-win)
53 copy i386-win32-tcc x86_64-win32-tcc arm-wince-tcc win32/
54 CAT="development|to i386 Windows, x86_64 Windows, ARM Hard Float Windows targets"
55 SUGGESTED="mingw32-w32api"
56 TAGS="compiler C"
57 ;;
58 tcc-i386)
59 copy i386-tcc libtcc1-i386.a
60 CAT="development|to i386 Linux target"
61 TAGS="compiler C"
62 ;;
63 tcc-x86_64)
64 copy x86_64-tcc libtcc1-x86_64.a
65 CAT="development|to x86_64 Linux target"
66 TAGS="compiler C"
67 ;;
68 tcc-osx)
69 copy x86_64-osx-tcc libtcc1-x86_64-osx.a
70 CAT="development|to x86_64 Darwin target"
71 TAGS="compiler C"
72 ;;
73 esac
74 }