aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/package/unzip.az
blob: 6fda976329fa699b2cebe520920defff1be9eee8 (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
34
35
36
package unzip {
	description = "portable compression/archiver utilities";
	website = "https://infozip.sourceforge.net";
	anitya = 8684;

	version# = "6.0";
	source = remoteTar {
		url = "https://downloads.sourceforge.net/project/infozip/"+
			"UnZip%206.x%20%28latest%29/UnZip%20"+version+"/"+
			"unzip"+replace {
				s = version;
				old = ".";
			}+".tar.gz";
		checksum = "fcqjB1IOVRNJ16K5gTGEDt3zCJDVBc7EDSra9w3H93stqkNwH1vaPQs_QGOpQZu1";
		compress = gzip;
	};

	enterSource = true;
	writable = true;
	chmod = true;

	exec = generic {
		chdir = false;
		build = `unix/configure
make -f unix/Makefile generic1`;
		install = `
mkdir -p /work/system/bin/
mv unzip /work/system/bin/
`;
	};

	inputs = [
		make,
		coreutils,
	];
}