]> hackdaworld.org Git - hdw-linux/hdw-linux.git/blob - packages/devel/tcltk/tcltk
removed thunderbird, added alternative mutt mail client
[hdw-linux/hdw-linux.git] / packages / devel / tcltk / tcltk
1 # hdw - linux tcltk package
2 #
3 # author: hackbard@hackdaworld.dyndns.org
4 #
5 # [V] 8.4.6
6 # [S] 3-4
7 # [D] tk8.4.6-src.tar.gz http://puzzle.dl.sourceforge.net/sourceforge/tcl/
8 # [D] tcl8.4.6-src.tar.gz http://puzzle.dl.sourceforge.net/sourceforge/tcl/
9
10 bin_ver="8.6"
11
12 custmain="1"
13
14 custmain()      {
15         # extract
16         for i in tcl tk; do
17                 tar --use-compress-program=gzip -xvf \
18                 $hdw_home_dir/download/devel/tcltk/${i}${ver}-src.tar.gz
19         done &&
20         
21         # tcl
22         cd tcl$ver/unix && autoconf && cd dltest && autoconf && cd ..
23         ./configure $confopt --enable-gcc --enable-shared
24         make $make_conf && make $install_conf install &&
25         ln -svf tclsh${bin_ver} $prefix/bin/tclsh &&
26         cd ../..
27         
28         # tk
29         cd tk$ver/unix &&
30         ./configure $confopt --enable-gcc --enable-shared
31         make $make_conf && make $install_conf install &&
32         ln -svf wish${bin_ver} $prefix/bin/wish
33         cd ../..
34                 }