freetype:update and moved to /usr/lib
[nyanlinux.git] / builders / xcb-proto-1 / builder.sh
blob5456d095d2b52328ccd4493d68f9869aaeabe394
1 # actually a python package, not a python application we do install the module
2 # in the SDK python3 installation used
4 src_name=xcb-proto
5 git_commit=2b3559c10c18eb63e61efdc8a030765d624a0fba
6 git_url0=git://anongit.freedesktop.org/xcb/proto
8 pkg_dir=$pkgs_dir_root/$pkg_name
9 src_dir=$src_dir_root/xcb/proto
10 rm -Rf $pkg_dir
11 mkdir -p $pkgs_dir_root
12 cp -r $src_dir $pkg_dir
14 cd $pkg_dir
16 git checkout --force $git_commit
17 git reset --hard
19 OLD_PATH=$PATH
20 export PATH=$sdk_autoconf_path/bin:$sdk_automake_path/bin:$PATH
22 export NOCONFIGURE=1
23 ./autogen.sh
24 unset NOCONFIGURE
26 build_dir=$builds_dir_root/$pkg_name
27 rm -Rf $build_dir
28 mkdir -p $build_dir
29 cd $build_dir
31 export PYTHON=$sdk_python3_path/bin/python3
32 $pkg_dir/configure --prefix=$sdk_python3_path
33 unset PYTHON
35 make
36 make install
38 export PATH=$OLD_PATH
40 rm -Rf $build_dir $pkg_dir