3 archive_name
=$src_name-$version.
tar.bz2
4 url0
=http
://feh.finalrewind.org
/$archive_name
6 src_dir
=$src_dir_root/$src_name-$version
8 rm -Rf $src_name-$version
13 export "CC=gcc -B/nyan/glibc/current/lib -L/nyan/glibc/current/lib -static-libgcc \
15 /nyan/libXau/current/lib:\
16 /nyan/libX11/current/lib:\
17 /nyan/freetype/current/lib:\
18 /nyan/libxcb/current/lib:\
19 /nyan/libXext/current/lib:\
20 /nyan/glibc/current/lib"
21 export "CFLAGS=-O2 -pipe -fPIC \
22 -I/nyan/libX11/current/include \
23 -I/nyan/xorgproto/current/include \
24 -I/nyan/libXinerama/current/include \
25 -I/nyan/imlib2/current/include \
26 -I/nyan/libexif/current/include \
27 -I/nyan/libpng/current/include \
28 -I/nyan/curl/current/include \
29 -I/nyan/libXt/current/include"
31 -L/nyan/libunistring/current/lib \
32 -L/nyan/toolchains/current/lib \
33 -L/nyan/libtasn1/current/lib \
34 -L/nyan/gnutls/current/lib \
35 -L/nyan/zlib/current/lib \
36 -L/nyan/libidn2/current/lib \
37 -L/nyan/nettle/current/lib \
38 -L/nyan/libpng/current/lib \
39 -L/nyan/libX11/current/lib \
40 -L/nyan/imlib2/current/lib \
41 -L/nyan/curl/current/lib \
42 -L/nyan/libexif/current/lib \
43 -L/nyan/libXinerama/current/lib"
44 export "LDLIBS=-lcurl -lgnutls -ltasn1 -lnettle -lhogweed -lunistring -lidn2 -lz -lgmp -lpthread"
45 export PREFIX
=/nyan
/feh
/0
52 export PREFIX
=/nyan
/feh
/0
56 rm -Rf /nyan
/$src_name/0/share
/man
57 rm -Rf /nyan
/$src_name/0/share
/applications
58 rm -Rf /nyan
/$src_name/0/share
/doc
59 strip
-s /nyan
/$src_name/0/bin
/$src_name