3 archive_name
=$src_name-$version.
tar.bz2
4 url0
=http
://xorg.freedesktop.org
/releases
/individual
/app
/$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
16 export "PKG_CONFIG_PATH=\
17 /nyan/libpthread-stubs/current/lib/pkgconfig:\
18 /nyan/libXau/current/lib/pkgconfig:\
19 /nyan/libXext/current/lib/pkgconfig:\
20 /nyan/libxcb/current/lib/pkgconfig:\
21 /nyan/libX11/current/lib/pkgconfig:\
22 /nyan/xorgproto/current/share/pkgconfig:\
23 /nyan/util-macro/current/share/pkgconfig:\
24 /nyan/libXrandr/current/lib/pkgconfig:\
25 /nyan/libXrender/current/lib/pkgconfig"
27 export "CC=gcc -B/nyan/glibc/current/lib -L/nyan/glibc/current/lib -static-libgcc \
29 /nyan/libXrandr/current/lib:\
30 /nyan/libXext/current/lib:\
31 /nyan/libxcb/current/lib:\
32 /nyan/libXau/current/lib:\
33 /nyan/glibc/current/lib"
34 export 'CFLAGS=-O2 -pipe -fPIC'
35 $src_dir/configure
--prefix=/nyan
/xprop
/0
44 rm -Rf /nyan
/$src_name/0/share
45 strip
-s /nyan
/$src_name/0/bin
/$src_name
47 rm -Rf $build_dir $src_dir