ports

zandra's ports tree
git clone git://zandra.org/ports
Log | Files | Refs | README | LICENSE

pkgtools.mk (445B)


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