summaryrefslogtreecommitdiff
path: root/repo/libsass/libsass.xibuild
blob: 534219fd2cc9bf339db75d2c0004391c218c8ef3 (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
#!/bin/sh

NAME="libsass"
DESC="C/C++ implementation of a Sass compiler"

MAKEDEPS="autoconf automake libtool"

PKG_VER=3.6.5
SOURCE="https://github.com/sass/libsass/archive/$PKG_VER.tar.gz"

ADDITIONAL="
fix-pkgconfig-version.patch
"

prepare() {
	apply_patches
	autoreconf -vif
}

build() {
	./configure \
		--prefix=/usr \
		--disable-static
	make
}

package() {
	make install DESTDIR="$PKG_DEST"
	rm -f "$PKG_DEST"/usr/lib/*.la
}