recipe 715 B

12345678910111213141516171819202122232425262728293031323334353637
  1. # Build recipe for pcc-libs
  2. #
  3. # Copyright 2016,2017 Mateus P. Rodrigues <mprodrigues@dragora.org>.
  4. #
  5. # This recipe is free software, under the terms of the Apache License 2.0
  6. program=pcc-libs
  7. version=$(date +%Y%m%d)
  8. release=1
  9. description="
  10. the pcc compiler standard libraries
  11. "
  12. homepage=http://pcc.ludd.ltu.se/
  13. license=BSD
  14. tarname=${program}-${version}.tgz
  15. # Remote source(s)
  16. fetch=http://pcc.ludd.ltu.se/ftp/pub/pcc-libs/$tarname
  17. build() {
  18. unpack "${tardir}/$tarname"
  19. cd "$srcdir"
  20. ./configure CFLAGS="$QICFLAGS" LDFLAGS="$QILDFLAGS"\
  21. $configure_args \
  22. --libdir=/usr/lib${libSuffix} \
  23. --build="$(cc -dumpmachine)"
  24. make -j${jobs}
  25. make -j${jobs} install DESTDIR="$destdir"
  26. }