summaryrefslogtreecommitdiff
path: root/repo/sassc/sassc.xibuild
diff options
context:
space:
mode:
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
+}
+