ports

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

pkgtools.mk (454B)


      1 TARG = pkgtools
      2 DEPS = libarchive zlib
      3 
      4 <$mkbuild/mk.common-noinst
      5 <../v.mk
      6 
      7 pkgtools:QV:
      8 	export CFLAGS="$CFLAGS $DEPS_CFLAGS -DVERSION=\\\"$v\\\" -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
      9 	export LDFLAGS="$LDFLAGS $DEPS_LDFLAGS"
     10 	make -j$nprocs CC="${CC} -static" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" \
     11 		PREFIX="$PREFIX"
     12 
     13 install:QV:
     14 	make -j$nprocs install CC="${CC} -static" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" \
     15 		PREFIX="$PREFIX" DESTDIR="$ROOT"