summaryrefslogtreecommitdiff
path: root/repo/sassc/sassc.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2023-02-02 14:10:02 +0000
committerdavidovski <david@davidovski.xyz>2023-02-02 14:10:02 +0000
commitf29d569cd33a73da5ad675f43a34ad53c5cc9bc6 (patch)
tree76fe6267f8307e7630fc6f53ff99a9767ad40de0 /repo/sassc/sassc.xibuild
parent05d004dfe0c9a9d898fac8a4a0292ca2a74ca391 (diff)
Work
Diffstat (limited to 'repo/sassc/sassc.xibuild')
-rw-r--r--repo/sassc/sassc.xibuild33
1 files changed, 33 insertions, 0 deletions
diff --git a/repo/sassc/sassc.xibuild b/repo/sassc/sassc.xibuild
new file mode 100644
index 0000000..1045d4e
--- /dev/null
+++ b/repo/sassc/sassc.xibuild
@@ -0,0 +1,33 @@
+#!/bin/sh
+
+NAME="sassc"
+DESC="Libsass command line driver"
+
+MAKEDEPS="libsass autoconf automake libtool"
+
+PKG_VER=3.6.2
+SOURCE="https://github.com/sass/sassc/archive/$PKG_VER.tar.gz"
+
+prepare() {
+ cat <<- __EOF__ > version.sh
+ echo $PKG_VER
+ __EOF__
+
+ autoreconf -vif
+}
+
+build() {
+ ./configure \
+ --prefix=/usr \
+ --disable-static
+ make
+}
+
+check() {
+ ./sassc --help > /dev/null
+}
+
+package() {
+ make DESTDIR="$PKG_DEST" install
+}
+