summaryrefslogtreecommitdiff
path: root/repo/sassc/sassc.xibuild
blob: 1045d4e14c6986cd66b1294637729eb96c31d820 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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
}