wok-next annotate tcl/receipt @ rev 17535
Up openvpn (2.3.6)
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Wed Jan 21 17:46:09 2015 -0500 (2015-01-21) |
parents | 61bec0518c8c |
children | 5470c9cb7190 |
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@16504 | 21 export ac_cv_func_strtod=yes |
pankso@16504 | 22 sed -i s'#./${TCL_EXE}#/usr/bin/tclsh#' unix/Makefile.in ;; |
pankso@16026 | 23 esac |
slaxemulator@8727 | 24 cd $src/unix |
slaxemulator@8727 | 25 ./configure \ |
pankso@16026 | 26 --enable-shared \ |
pankso@16026 | 27 --disable-symbols \ |
pankso@16026 | 28 --mandir=/usr/share/man \ |
pankso@16026 | 29 $CONFIGURE_ARGS && |
pankso@16026 | 30 make && |
gokhlayeh@8759 | 31 make install install-private-headers |
erjo@507 | 32 } |
erjo@507 | 33 |
erjo@507 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@507 | 35 genpkg_rules() |
erjo@507 | 36 { |
erjo@507 | 37 mkdir -p $fs/usr/lib |
pankso@16504 | 38 cp -a $install/usr/lib/tcl8* $fs/usr/lib |
pascal@15600 | 39 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@15600 | 40 cp -a $install/usr/bin $fs/usr |
slaxemulator@5352 | 41 ln -sf tclsh8.5 $fs/usr/bin/tclsh |
erjo@507 | 42 } |