2 version
=${pkg_name##*-}
5 archive_name
=$src_name-cur.
tar.bz2
6 url0
=http
://invisible-island.net
/datafiles
/release
/$archive_name
10 pkg_dir
=$pkgs_dir_root/$src_name$version
11 mkdir
-p $pkgs_dir_root
13 cp $src_dir_root/$archive_name $pkgs_dir_root
18 build_dir
=$builds_dir_root/$src_name-$version
25 /opt/toolchains/x64/elf/binutils-gcc/current/bin:\
26 /nyan/make/current/bin:\
27 /nyan/ncurses/current/bin:\
31 -isystem /nyan/glibc/current/include \
32 -isystem /nyan/linux-headers/current/include \
33 -I/nyan/libressl/current/include \
34 -I/nyan/zlib/current/include \
35 -I/nyan/bzip2/current/include"
36 export CFLAGS
='-O2 -pipe -fPIC -static-libgcc'
38 -B/nyan/glibc/current/lib \
39 -L/nyan/glibc/current/lib \
40 -Wl,-rpath-link,/nyan/glibc/current/lib \
41 -L/nyan/libressl/current/lib \
42 -L/nyan/zlib/current/lib \
43 -L/nyan/bzip2/current/lib \
49 # --disable-trace is broken
51 --prefix=/nyan
/$src_name/$slot \
55 --disable-full-paths \
57 --without-pkg-config \
59 --with-screen=ncurses \
61 --enable-htmlized-cfg \
62 --disable-local-docs \
64 --disable-menu-options \
66 --disable-session-cache \
67 --enable-japanese-utf8 \
68 --enable-wcwidth-support \
69 --enable-default-colors \
70 --enable-nested-tables \
74 --enable-charset-choice \
95 rm -Rf /nyan
/$src_name/$slot/share
97 export PATH
=$PATH_SAVED
99 rm -f $pkgs_dir_root/$archive_name
100 rm -Rf $build_dir $pkg_dir