]> hackdaworld.org Git - hdw-linux/hdw-linux.git/blob - packages/x11/transfig/transfig
fixed kern ver for toolchain glibc build
[hdw-linux/hdw-linux.git] / packages / x11 / transfig / transfig
1 # hdw - linux transfig package
2 #
3 # author: hackbard@hackdaworld.dyndns.org
4 #
5 # [V] 3.2.4
6 # [S] 3-8
7 # [D] transfig.3.2.4.tar.gz ftp://epb.lbl.gov/xfig/
8
9 pre_install()   {
10         for i in ./fig2dev/Imakefile ./fig2dev/dev/Imakefile; do
11                 sed "s%/usr/local%$prefix%g" $i > tmp~
12                 mv tmp~ $i
13                 sed "s%/usr/include/X11%$prefix/X11R6/include/X11%g" $i > tmp~
14                 mv tmp~ $i
15         done
16         sed 's/varargs/stdarg/g' ./fig2dev/fig2dev.h > tmp~
17         mv tmp~ ./fig2dev/fig2dev.h
18                 }
19
20 build_main()    {
21         xmkmf
22         make Makefiles
23         make
24         make install
25         make install.man
26                 }