libXfixes:moved to "simplified /usr"
[nyanlinux.git] / builders / autoconf-2.71 / builder.sh
blob408a1ddace2c051b3f8f718e6d2fd7ca5c22bb74
1 src_name=autoconf
2 version=${pkg_name##*-}
3 slot=$version
4 archive_name=$src_name-$version.tar.xz
5 url0=http://ftpmirror.gnu.org/$src_name/$archive_name
7 pkg_dir=$pkgs_dir_root/$src_name-$version
8 rm -Rf $pkg_dir
9 mkdir -p $pkgs_dir_root
10 cp -f $src_dir_root/$archive_name $pkgs_dir_root
11 cd $pkgs_dir_root
12 tar xf $archive_name
14 build_dir=$builds_dir_root/$pkg_name-$version
15 rm -Rf $build_dir
16 mkdir -p $build_dir
17 cd $build_dir
19 PATH_SAVED=$PATH
20 export PATH="\
21 /nyan/m4/current/bin:\
22 /nyan/make/current/bin:\
23 $PATH\
26 export PERL=/nyan/perl/current/bin/perl
27 $pkg_dir/configure --prefix=/nyan/$src_name/$slot
28 unset PERL
30 make
31 make install
33 rm -Rf /nyan/$src_name/$slot/share/info
34 rm -Rf /nyan/$src_name/$slot/share/man
36 export PATH=$PATH_SAVED
37 unset PATH_SAVED
38 unset target_gnu_triple
39 rm -f $pkgs_dir_root/$archive_name
40 rm -Rf $build_dir $pkg_dir