12345678910111213141516171819202122232425262728293031323334353637 |
- # Build recipe for pcc-libs
- #
- # Copyright 2016,2017 Mateus P. Rodrigues <mprodrigues@dragora.org>.
- #
- # This recipe is free software, under the terms of the Apache License 2.0
- program=pcc-libs
- version=$(date +%Y%m%d)
- release=1
- description="
- the pcc compiler standard libraries
- "
- homepage=http://pcc.ludd.ltu.se/
- license=BSD
- tarname=${program}-${version}.tgz
- # Remote source(s)
- fetch=http://pcc.ludd.ltu.se/ftp/pub/pcc-libs/$tarname
- build() {
- unpack "${tardir}/$tarname"
- cd "$srcdir"
- ./configure CFLAGS="$QICFLAGS" LDFLAGS="$QILDFLAGS"\
- $configure_args \
- --libdir=/usr/lib${libSuffix} \
- --build="$(cc -dumpmachine)"
- make -j${jobs}
- make -j${jobs} install DESTDIR="$destdir"
- }
|