mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-03-01 03:32:27 +01:00
49 lines
1.2 KiB
Plaintext
49 lines
1.2 KiB
Plaintext
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
# Contributor: Thomas Boerger <thomas@webhippie.de>
|
|
pkgname=libsass
|
|
pkgver=3.3.6
|
|
pkgrel=0
|
|
pkgdesc="A C/C++ implementation of a Sass compiler"
|
|
url="http://libsass.org"
|
|
arch="all"
|
|
license="MIT"
|
|
depends=""
|
|
depends_dev=""
|
|
makedepends="$depends_dev autoconf automake libtool"
|
|
install=""
|
|
subpackages="$pkgname-dev"
|
|
source="libsass-$pkgver.tar.gz::https://github.com/sass/libsass/archive/$pkgver.tar.gz"
|
|
|
|
_builddir="$srcdir"/libsass-$pkgver
|
|
prepare() {
|
|
local i
|
|
cd "$_builddir"
|
|
for i in $source; do
|
|
case $i in
|
|
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
|
|
esac
|
|
done
|
|
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
|
|
}
|
|
|
|
md5sums="6bb2a93efb9802758ff7640ab69ce498 libsass-3.3.6.tar.gz"
|
|
sha256sums="4b004b0fcef55420dc916216b1961e0d86925e6bf4a6be37d0b6db42f7f25da5 libsass-3.3.6.tar.gz"
|
|
sha512sums="9bc81a2c75f301e95ee172b6a11dd022ba810bf00175387abe85ed395ce0cfd88f1998b0916a8a7e7920f3e4169da4a4c4a0f69bbb89ddce4af9b299a3091e57 libsass-3.3.6.tar.gz"
|