forked from rosa/hakurei
89db730bb9
This is not done by default in upstream build system. Signed-off-by: Ophestra <cat@gensokyo.uk>
34 lines
751 B
Go
34 lines
751 B
Go
package ncurses {
|
|
description = "a free software emulation of curses in System V Release 4.0 (SVr4)";
|
|
website = "https://invisible-island.net/ncurses";
|
|
anitya = 373226;
|
|
|
|
version# = "6.6";
|
|
source = remoteTar {
|
|
url = "https://ftpmirror.gnu.org/gnu/ncurses/ncurses-"+version+".tar.gz";
|
|
checksum = "XvWp4xi6hR_hH8XUoGY26L_pqBSDapJYulhzZqPuR0KNklqypqNc1yNXU-nOjf5w";
|
|
compress = gzip;
|
|
};
|
|
|
|
exec = make {
|
|
configure = {
|
|
"with-pkg-config";
|
|
"enable-pc-files";
|
|
"with-shared";
|
|
"with-cxx-shared";
|
|
};
|
|
|
|
// "tests" are actual demo programs, not a test suite.
|
|
skipCheck = true;
|
|
|
|
postInstall = `
|
|
find /work/system/lib \
|
|
-type f \
|
|
-name '*.a' \
|
|
-exec objcopy --enable-deterministic-archives {} \;
|
|
`;
|
|
};
|
|
|
|
inputs = [ pkg-config ];
|
|
}
|