2 git_commit
=d42521e6a7d4d65561704947994baa8ba2ba373d
3 git_url0
=git
://github.com
/sylware
/$src_name
5 pkg_dir
=$pkgs_dir_root/$pkg_name
6 src_dir
=$src_dir_root/$src_name
8 mkdir
-p $pkgs_dir_root
9 cp -r $src_dir $pkg_dir
13 git checkout
--force $git_commit
16 build_dir
=$builds_dir_root/$pkg_name
21 export "PKG_CONFIG_PATH=\
22 /nyan/libpng/current/lib/pkgconfig:\
23 /nyan/zlib/current/lib/pkgconfig:\
24 /nyan/freetype/current/lib/pkgconfig"
28 --prefix=/nyan
/charfbuzz
/0 \
29 '--slib-cc=gcc -static-libgcc -O2 -pipe -fPIC -c' \
30 '--slib-ccld=gcc -B/nyan/glibc/current/lib -L/nyan/glibc/current/lib -Wl,-rpath-link,/nyan/glibc/current/lib -static-libgcc -shared -Wl,-soname=libharfbuzz.so.0'
34 mkdir
-p /nyan
/charfbuzz
/0
35 cp -r $build_dir/fake_root
/* /
38 # remove the shared lib
39 rm -f /nyan
/charfbuzz
/0/lib
/*.so
*
41 rm -Rf $build_dir $pkg_dir