# A toolchain package: built for /usr, not PREFIX (see binutils). # gnu17: make 4.4.1's old-style declarations aren't C23 (gcc's default). configure() { ./configure --prefix=/usr --disable-nls --without-guile \ CFLAGS="${CFLAGS:--O2} -std=gnu17" } compile() { make; } package() { make DESTDIR="$DESTDIR" install rm -f "$DESTDIR/usr/share/info/dir" }