mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 13:27:09 +02:00
community/libsass: improve abuild
This commit is contained in:
parent
202b2fa1c7
commit
8441638df3
@ -3,7 +3,7 @@
|
||||
pkgname=libsass
|
||||
pkgver=3.5.4
|
||||
pkgrel=0
|
||||
pkgdesc="A C/C++ implementation of a Sass compiler"
|
||||
pkgdesc="C/C++ implementation of a Sass compiler"
|
||||
url="http://libsass.org"
|
||||
arch="all"
|
||||
license="MIT"
|
||||
@ -11,31 +11,26 @@ 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"
|
||||
default_prepare
|
||||
autoreconf -vif
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "$builddir"
|
||||
|
||||
./configure \
|
||||
--build=$CBUILD \
|
||||
--host=$CHOST \
|
||||
--prefix=/usr \
|
||||
--disable-static \
|
||||
|| return 1
|
||||
make || return 1
|
||||
--disable-static
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$builddir"
|
||||
|
||||
make install DESTDIR="$pkgdir" || return 1
|
||||
make install DESTDIR="$pkgdir"
|
||||
rm -f "$pkgdir"/usr/lib/*.la
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user