forked from rosa/hakurei
internal/rosa/package: azalea proposal
This commit is contained in:
@@ -1,36 +1,32 @@
|
||||
//az:schema mbf
|
||||
|
||||
package unzip {
|
||||
description = "portable compression/archiver utilities";
|
||||
website = "https://infozip.sourceforge.net";
|
||||
anitya = 8684;
|
||||
description = "portable compression/archiver utilities"
|
||||
website = "https://infozip.sourceforge.net"
|
||||
anitya = 8684
|
||||
|
||||
version* = "6.0";
|
||||
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;
|
||||
};
|
||||
url = "https://downloads.sourceforge.net/project/infozip/UnZip%206.x%20%28latest%29/UnZip%20${version}/unzip"+
|
||||
replace (version, ".") + ".tar.gz"
|
||||
checksum = "fcqjB1IOVRNJ16K5gTGEDt3zCJDVBc7EDSra9w3H93stqkNwH1vaPQs_QGOpQZu1"
|
||||
compress = gzip
|
||||
}
|
||||
|
||||
enterSource = true;
|
||||
writable = true;
|
||||
chmod = true;
|
||||
enterSource
|
||||
writable
|
||||
chmod
|
||||
|
||||
exec = generic {
|
||||
inPlace = true;
|
||||
inPlace
|
||||
build = `unix/configure
|
||||
make -f unix/Makefile generic1`;
|
||||
install = `
|
||||
mkdir -p /work/system/bin/
|
||||
mv unzip /work/system/bin/
|
||||
`;
|
||||
};
|
||||
make -f unix/Makefile generic1`
|
||||
install = `mkdir -p /work/system/bin/
|
||||
mv unzip /work/system/bin/`
|
||||
}
|
||||
|
||||
inputs = [
|
||||
make,
|
||||
coreutils,
|
||||
];
|
||||
make
|
||||
coreutils
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user