libXfixes:moved to "simplified /usr"
[nyanlinux.git] / builders / help2man-0 / builder.sh
blob221c89f944742e77c1e5cb8414619cd706f498c7
1 src_name=help2man
2 version=1.47.6
3 archive_name=$src_name-$version.tar.xz
4 url0=http://ftpmirror.gnu.org/$src_name/$archive_name
6 src_dir=$src_dir_root/$src_name-$version
7 cd $src_dir_root
8 rm -Rf $src_name-$version
9 tar xf $archive_name
11 build_dir=$builds_dir_root/$pkg_name-$version
12 rm -Rf $build_dir
13 mkdir -p $build_dir
14 cd $build_dir
16 export "CC=gcc -B/nyan/glibc/current/lib -L/nyan/glibc/current/lib -Wl,-rpath-link,/nyan/glibc/current/lib -static-libgcc"
17 export 'CFLAGS=-O2 -pipe -fPIC'
18 export PERL=/nyan/perl/current/bin/perl
19 $src_dir/configure \
20 --prefix=/nyan/help2man/0 \
21 --disable-nls
22 unset PERL
23 unset CFLAGS
24 unset CC
26 make -j $threads_n
27 make install
29 # cleanup and tidying
30 rm -Rf /nyan/$src_name/0/share
32 rm -Rf $build_dir $src_dir