3 archive_name
=$src_name-$version.
tar.gz
4 url0
=https
://ftp.openbsd.org
/pub
/OpenBSD
/LibreSSL
/$archive_name
8 src_dir
=$src_dir_root/$src_name-$version
10 rm -Rf $src_name-$version
13 build_dir
=$builds_dir_root/$src_name-$version
18 # at link time, the only way to tell gnu ld where to look for shared lib dependencies is to pass the -rpath-link option
19 export "CC=gcc -B/nyan/glibc/current/lib -L/nyan/glibc/current/lib -Wl,-rpath-link,/nyan/glibc/current/lib -static-libgcc"
20 export 'CFLAGS=-O2 -pipe -fPIC'
22 --prefix=/nyan
/$src_name/$slot \
32 rm -Rf /nyan
/$src_name/$slot/share
33 rm -f /nyan
/$src_name/$slot/lib
/*.la
34 strip
-s /nyan
/$src_name/$slot/bin
/* || true
36 rm -Rf $build_dir $src_dir