aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/package/ncurses.az
blob: 077caa15624597195e298c1c4d2cf9beed14f7a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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://mirrors.kernel.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 ];
}