aboutsummaryrefslogtreecommitdiffstats
path: root/community/libsass/APKBUILD
blob: 5398ff210283146211383d472df98ea23d1d15d1 (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
34
35
36
37
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
# Contributor: Thomas Boerger <thomas@webhippie.de>
pkgname=libsass
pkgver=3.5.4
pkgrel=0
pkgdesc="C/C++ implementation of a Sass compiler"
url="http://libsass.org"
arch="all"
license="MIT"
depends=""
makedepends="autoconf automake libtool"
subpackages="$pkgname-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/sass/$pkgname/archive/$pkgver.tar.gz"

prepare() {
	default_prepare
	autoreconf -vif
}

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--disable-static
	make
}

package() {
	cd "$builddir"

	make install DESTDIR="$pkgdir"
	rm -f "$pkgdir"/usr/lib/*.la
}

sha512sums="0c513c997496ac3eb8510170f33c9a5b9b21649e3ae57b2d604998a6a35be340360cd35a75419a38b07c8dba3fb5e0e260ef37e62dfa1ffd5b3fa75a7fa8bbca  libsass-3.5.4.tar.gz"