aports/community/libsass/APKBUILD
2018-04-28 21:24:37 +03:00

38 lines
843 B
Plaintext

# 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"