wok-current annotate tcl/receipt @ rev 16101
php: no more COMMON_ARGS
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 17 13:06:49 2014 +0000 (2014-03-17) |
parents | de49f29b101e |
children | f8e9bf4989d3 |
rev | line source |
---|---|
erjo@507 | 1 # SliTaz package receipt. |
erjo@507 | 2 |
erjo@507 | 3 PACKAGE="tcl" |
slaxemulator@10997 | 4 VERSION="8.5.10" |
erjo@507 | 5 CATEGORY="development" |
erjo@507 | 6 SHORT_DESC="The Tool Command Language" |
erjo@784 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@15600 | 8 LICENSE="BSD" |
slaxemulator@9365 | 9 TARBALL="${PACKAGE}${VERSION}-src.tar.gz" |
erjo@507 | 10 WEB_SITE="http://tcl.sourceforge.net/" |
slaxemulator@10997 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
jozee@4973 | 12 TAGS="language programming" |
pankso@16026 | 13 HOST_ARCH="i486 arm" |
erjo@507 | 14 |
erjo@507 | 15 # Rules to configure and make the package. |
erjo@507 | 16 compile_rules() |
erjo@507 | 17 { |
pankso@16026 | 18 case "$ARCH" in |
pankso@16026 | 19 arm*) |
pankso@16026 | 20 export tcl_cv_strtod_buggy=1 |
pankso@16026 | 21 export ac_cv_func_strtod=yes ;; |
pankso@16026 | 22 esac |
slaxemulator@8727 | 23 cd $src/unix |
slaxemulator@8727 | 24 ./configure \ |
pankso@16026 | 25 --enable-shared \ |
pankso@16026 | 26 --disable-symbols \ |
pankso@16026 | 27 --mandir=/usr/share/man \ |
pankso@16026 | 28 $CONFIGURE_ARGS && |
pankso@16026 | 29 make && |
gokhlayeh@8759 | 30 make install install-private-headers |
erjo@507 | 31 } |
erjo@507 | 32 |
erjo@507 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@507 | 34 genpkg_rules() |
erjo@507 | 35 { |
erjo@507 | 36 mkdir -p $fs/usr/lib |
pankso@16026 | 37 cp -a $install/usr/lib/tcl8* $fs/usr/lib 2>/dev/null |
pascal@15600 | 38 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@15600 | 39 cp -a $install/usr/bin $fs/usr |
slaxemulator@5352 | 40 ln -sf tclsh8.5 $fs/usr/bin/tclsh |
erjo@507 | 41 } |