wok view tcc/receipt @ rev 23474
updated python-cssselect (0.7.1 -> 1.1.0)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Apr 05 14:56:27 2020 +0100 (2020-04-05) |
parents | a78610b2eb47 |
children | 17091bc7c301 |
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 -j 1 test &&
39 make -j 1 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 }