ports

morpheus ports
git clone git://git.2f30.org/ports
Log | Files | Refs | LICENSE

cmus.mk (939B)


      1 TARG = cmus
      2 DEPS = ncurses
      3 
      4 <$mkbuild/mk.common-noinst
      5 
      6 cmus:QV:
      7 	export CFLAGS="$CFLAGS $DEPS_CFLAGS"
      8 	export LDFLAGS="$LDFLAGS $DEPS_LDFLAGS"
      9 	#
     10 	./configure \
     11 		CROSS="${HOST_TOOLCHAIN_TRIPLET}-" \
     12 		HOSTCC=${HOST_TOOLCHAIN_TRIPLET}-gcc \
     13 		HOST_LD=${HOST_TOOLCHAIN_TRIPLET}-gcc \
     14 		HOST_CFLAGS="$CFLAGS" \
     15 		HOST_LDFLAGS="$LDFLAGS" \
     16 		prefix="$PREFIX" \
     17 		mandir="$PREFIX/share/man" \
     18 		CONFIG_ARTS=n \
     19 		CONFIG_CDDB=n \
     20 		CONFIG_CDIO=n \
     21 		CONFIG_DISCID=n \
     22 		CONFIG_FLAC=n \
     23 		CONFIG_MAD=n \
     24 		CONFIG_MODPLUG=n \
     25 		CONFIG_MIKMOD=n \
     26 		CONFIG_MPC=n \
     27 		CONFIG_VORBIS=n \
     28 		CONFIG_TREMOR=n \
     29 		CONFIG_WAV=n \
     30 		CONFIG_WAVPACK=n \
     31 		CONFIG_MP4=n \
     32 		CONFIG_AAC=n \
     33 		CONFIG_FFMPEG=n \
     34 		CONFIG_CUE=n \
     35 		CONFIG_ROAR=n \
     36 		CONFIG_PULSE=n \
     37 		CONFIG_ALSA=n \
     38 		CONFIG_AO=n \
     39 		CONFIG_ARTS=n \
     40 		CONFIG_OSS=n \
     41 		CONFIG_SUN=n \
     42 		CONFIG_WAVEOUT=n \
     43 		USE_FALLBACK_IP=n
     44 	make -j$nprocs
     45 
     46 install:QV:
     47 	make -j$nprocs install DESTDIR="$ROOT"