2 git_commit
=${pkg_name##*-}
4 git_url0
=git
://anongit.freedesktop.org
/xorg
/proto
/$src_name
7 pkg_dir
=$pkgs_dir_root/$src_name
8 src_dir
=$src_dir_root/$src_name
10 mkdir
-p $pkgs_dir_root
11 cp -r $src_dir $pkg_dir
15 if test x
$git_commit != x
; then
16 git checkout
--force $git_commit
22 /nyan/autoconf/current/bin\
23 :/nyan/automake/current/bin\
25 export ACLOCAL_PATH
="\
26 /nyan/pkgconf/current/share/aclocal:\
27 /nyan/util-macro/current/share/aclocal"
32 export PATH
=$PATH_SAVED
34 build_dir
=$builds_dir_root/$pkg_name
41 /nyan/make/current/bin\
42 :/nyan/toolchains/current/bin\
45 export PKG_CONFIG_LIBDIR
=
46 # require a working compiler because using the common util-macro
47 export "CC=gcc -isystem /nyan/glibc/current/include -isystem /nyan/linux-headers/current/include -B/nyan/glibc/current/lib -L/nyan/glibc/current/lib -static-libgcc \
49 /nyan/glibc/current/lib"
50 export 'CFLAGS=-O2 -pipe -fPIC'
52 --prefix=/nyan
/xorgproto
/$slot \
54 unset PKG_CONFIG_LIBDIR
61 export PATH
=$PATH_SAVED
62 rm -Rf $build_dir $pkg_dir