blob: d9f1adf568a4d06ca59dd25dd661b46c578d4c8b (
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
38
39
40
41
42
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
# Contributor: Thomas Boerger <thomas@webhippie.de>
pkgname=libsass
pkgver=3.4.8
pkgrel=0
pkgdesc="A 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"
builddir="$srcdir/$pkgname-$pkgver"
prepare() {
default_prepare || return 1
cd "$builddir"
autoreconf -vif
}
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--disable-static \
|| return 1
make || return 1
}
package() {
cd "$builddir"
make install DESTDIR="$pkgdir" || return 1
rm -f "$pkgdir"/usr/lib/*.la
}
sha512sums="5cbf5621ee45111f4a31113d2ea39f03be51d42c6e8978e7b2bfd89a8863c262a19fc17a31b910c9547dc687696b1fd4e17f2d050ec2afc4c4266dbc2ad00b72 libsass-3.4.8.tar.gz"
|