mirror of
https://github.com/SerenityOS/serenity
synced 2024-10-04 23:19:27 +00:00
Ports: Add support for zip files and ensure configure is executable (#773)
This commit is contained in:
parent
d3504b4f9b
commit
d76fb99403
|
@ -50,6 +50,9 @@ func_defined fetch || fetch() {
|
||||||
*.gz)
|
*.gz)
|
||||||
run_nocd gunzip "$filename"
|
run_nocd gunzip "$filename"
|
||||||
;;
|
;;
|
||||||
|
*.zip)
|
||||||
|
run_nocd bsdtar xf "$filename"
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
echo "Note: no case for file $filename."
|
echo "Note: no case for file $filename."
|
||||||
;;
|
;;
|
||||||
|
@ -152,6 +155,7 @@ do_fetch() {
|
||||||
do_configure() {
|
do_configure() {
|
||||||
if [ "$useconfigure" = "true" ]; then
|
if [ "$useconfigure" = "true" ]; then
|
||||||
echo "Configuring $port!"
|
echo "Configuring $port!"
|
||||||
|
chmod +x "${workdir}"/"$configscript"
|
||||||
configure
|
configure
|
||||||
else
|
else
|
||||||
echo "This port does not use a configure script. Skipping configure step."
|
echo "This port does not use a configure script. Skipping configure step."
|
||||||
|
|
Loading…
Reference in a new issue