wok view tcc/receipt @ rev 22244
updated xorg-setxkbmap (1.3.0 -> 1.3.2)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Nov 12 16:00:11 2019 +0100 (2019-11-12) |
parents | b3e8eb320061 |
children | 951896e3e5b3 |
line source
1 # SliTaz package receipt.
3 PACKAGE="tcc"
4 VERSION="0.9.27"
5 CATEGORY="development"
6 SHORT_DESC="Fast Tiny C Compiler."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 LICENSE="MIT LGPL2.1"
10 WEB_SITE="https://bellard.org/tcc/"
11 WGET_URL="http://download.savannah.nongnu.org/releases/tinycc/$TARBALL"
12 TAGS="compiler C assembler"
13 #HOST_ARCH="i486 arm"
15 DEPENDS="tcc-common"
16 BUILD_DEPENDS="perl texinfo"
18 # Perl is installed in a cross env.
19 case "$ARCH" in
20 arm) BUILD_DEPENDS="" ;;
21 esac
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 sed -i 's|uname -m|echo i686|' configure
27 case "$ARCH" in
28 arm)
29 ./configure \
30 --prefix=/usr \
31 --cross-prefix=arm-slitaz-linux-gnueabi- \
32 --cpu=armv4l ;;
33 *)
34 ./configure \
35 --prefix=/usr \
36 --enable-cross ;;
37 esac &&
38 make && make test &&
39 make DESTDIR=$DESTDIR install
40 }
42 # Rules to gen a SliTaz package suitable for Tazpkg.
43 genpkg_rules()
44 {
45 mkdir -p $fs/usr/bin
46 cp -a $install/usr/bin/tcc $fs/usr/bin
47 }