feat: compile sassc and libsass using autotool for even better performance

This commit is contained in:
tfuxu 2022-10-05 23:12:04 +02:00
parent dd6b2e295d
commit 628d6d52e3
2 changed files with 67 additions and 57 deletions

View file

@ -54,37 +54,45 @@
}
]
},
{
"name": "libsass",
"buildsystem": "simple",
"build-commands": [
"autoreconf --force --install",
"./configure --enable-shared --prefix=/app",
"make -j4",
"make install"
],
"sources": [
{
"type": "git",
"url": "https://github.com/sass/libsass.git",
"tag": "3.6.5"
}
]
},
{
"name": "sassc",
"buildsystem": "simple",
"build-commands": [
"autoreconf --force --install",
"./configure --prefix=/app",
"make -j4",
"make install"
],
"sources": [
{
"type": "git",
"url": "https://github.com/sass/sassc.git",
"tag": "3.6.2"
},
{
"type": "script",
"dest-filename": "autogen.sh",
"commands": [
"autoreconf -si"
]
}
],
"cleanup": [
"*"
],
"modules": [
{
"name": "libsass",
"sources": [
{
"type": "git",
"url": "https://github.com/sass/libsass.git",
"tag": "3.6.5"
},
{
"type": "script",
"dest-filename": "autogen.sh",
"commands": [
"autoreconf -si"
]
}
],
"cleanup": [
"*"
]
}
]
},
@ -118,8 +126,5 @@
}
]
}
],
"build-options" : {
"env" : { }
}
]
}

View file

@ -50,41 +50,49 @@
{
"type" : "git",
"url" : "https://gitlab.gnome.org/jwestman/blueprint-compiler",
"branch" : "v0.4.0"
}
]
},
{
"name": "libsass",
"buildsystem": "simple",
"build-commands": [
"autoreconf --force --install",
"./configure --enable-shared --prefix=/app",
"make -j4",
"make install"
],
"sources": [
{
"type": "git",
"url": "https://github.com/sass/libsass.git",
"tag": "3.6.5"
"tag" : "v0.4.0"
}
]
},
{
"name": "sassc",
"buildsystem": "simple",
"build-commands": [
"autoreconf --force --install",
"./configure --prefix=/app",
"make -j4",
"make install"
],
"sources": [
{
"type": "git",
"url": "https://github.com/sass/sassc.git",
"tag": "3.6.2"
},
{
"type": "script",
"dest-filename": "autogen.sh",
"commands": [
"autoreconf -si"
]
}
],
"cleanup": [
"*"
],
"modules": [
{
"name": "libsass",
"sources": [
{
"type": "git",
"url": "https://github.com/sass/libsass.git",
"tag": "3.6.5"
},
{
"type": "script",
"dest-filename": "autogen.sh",
"commands": [
"autoreconf -si"
]
}
],
"cleanup": [
"*"
]
}
]
},
@ -118,8 +126,5 @@
}
]
}
],
"build-options" : {
"env" : { }
}
]
}