4 archive_name
=$src_name-$version.
tar.xz
5 url0
=http
://www.freedesktop.org
/software
/$src_name/$archive_name
7 pkg_dir
=$pkgs_dir_root/$src_name-$version
9 mkdir
-p $pkgs_dir_root
10 cp -f $src_dir_root/$archive_name $pkgs_dir_root
14 build_dir
=$builds_dir_root/$pkg_name-$version
19 export PKG_CONFIG_LIBDIR
=
21 export "CC=gcc -isystem /nyan/glibc/current/include -isystem /nyan/linux-headers/current/include -B/nyan/glibc/current/lib -L/nyan/glibc/current/lib -Wl,-rpath-link,/nyan/glibc/current/lib -static-libgcc"
22 export 'CFLAGS=-O2 -pipe -fPIC'
23 export PYTHON
=$sdk_python3_path/bin
/python3
25 --prefix=/nyan
/libevdev
/$slot \
35 rm -Rf /nyan
/$src_name/$slot/share
36 rm -f /nyan
/$src_name/$slot/lib
/*.la
37 strip
-s /nyan
/$src_name/$slot/bin
/* || true
39 rm -Rf $build_dir $pkg_dir