st.mk (678B)
1 # make deps: tic (from ncurses). 2 TARG = st 3 DEPS = \ 4 fontconfig xorglibxft freetype expat xorglibxcb xorglibxext xorglibxrender \ 5 xorgrenderproto xorglibx11 xorgxtrans xorglibxcb xorgxcbproto xorgxproto \ 6 xorglibxau xorglibxdmcp libpng zlib 7 8 <$mkbuild/mk.common-noinst 9 10 st:QV: 11 export CFLAGS="$CFLAGS $DEPS_CFLAGS" 12 export LDFLAGS="$LDFLAGS $DEPS_LDFLAGS" 13 # overwrite default config.mk to allow overriding some variables. 14 cp ../config.mk config.mk 15 CC="${CC} -static" make -j$nprocs \ 16 PREFIX="$PREFIX" DESTDIR="$ROOT" 17 18 install:QV: 19 # NOTE: set TERMINFO to force the proper path. 20 make -j$nprocs install PREFIX="$PREFIX" DESTDIR="$ROOT" \ 21 TERMINFO="$ROOT/share/terminfo"