87.3. libsass-3.6.6
C/C++ implementation of the Sass stylesheet compiler
3.6.6-1 · MIT · 1.1 SBU · 3.5 MiB, 13 files · 41_system, 240 of 1047 · ports/core/devlibs/libsass
Homepage: https://sass-lang.com/libsass
libsass is the C/C++ implementation of the Sass stylesheet compiler. Upstream has deprecated it in favour of Dart Sass, but it is what sassc links, and sassc is the Sass compiler that breeze-gtk and kde-gtk-config run at build time to turn Breeze’s SCSS into GTK 3 and GTK 4 stylesheets. Nothing on KDOS uses it at run time.
Depends on: autoconf, automake, libtool.
Required by (1): sassc.
Sources: libsass-3.6.6.tar.gz (334.6 KiB). Every step kpkg takes applies to this port.
Install: script/chroot/exec.sh bash -c 'source script/phases/41_system/phase.env && kpkg install libsass'
build.sh:
LIBSASS_VERSION=$version autoreconf -fi
./configure --prefix=/usr --libdir=/usr/lib --disable-static --disable-tests
make
make DESTDIR=$PKG install
--disable-tests— Configure without the test runner, which needs thesass-specandsasscsource trees beside this one.
Libraries: libsass.so.
Directories: /usr/include/sass, /usr/share/licenses/libsass.
The GitHub archive carries no configure and no VERSION file, so build.sh runs autoreconf. Autoconf reads the version from version.sh while it writes configure, and that script takes LIBSASS_VERSION from the environment before it tries git describe and the VERSION file; with neither in an archive, the version would be [na], and libsass.pc and libsass_version() would report that. build.sh passes the recipe’s version in the variable, the same result as Alpine’s fix-pkgconfig-version.patch, without a patch.