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
8 rm -Rf $src_name-$version
11 build_dir
=$builds_dir_root/$pkg_name-$version
18 export PATH
=$PATH:/bin
20 export 'CC=gcc -B/nyan/glibc/current/lib -L/nyan/glibc/current/lib -Wl,-rpath-link,/nyan/glibc/current/lib -static-libgcc'
21 export 'CFLAGS=-O2 -pipe -fPIC'
23 --prefix=/nyan
/gettext
/0 \
25 --disable-native-java \
26 --enable-threads=posix \
35 --with-included-gettext \
36 --with-included-glib \
37 --with-included-libcroco \
38 --with-included-libunistring \
39 --with-included-libxml \
40 --without-included-regex \
49 rm -Rf /nyan
/$src_name/0/share
/doc
50 rm -Rf /nyan
/$src_name/0/share
/info
51 rm -Rf /nyan
/$src_name/0/share
/man
52 find /nyan
/$src_name/0 -name '*.la' |
xargs rm -f
53 find /nyan
/$src_name/0 -type f |
while read f
; do if file $f |
egrep 'ELF.+(shared|executable)' >/dev
/null
; then strip
-s $f; fi; done
55 rm -Rf $build_dir $src_dir