void-packages/srcpkgs/libsass/template
2019-05-23 19:20:05 +02:00

31 lines
755 B
Bash

# Template file for 'libsass'
pkgname=libsass
version=3.6.0
revision=1
build_style=gnu-configure
hostmakedepends="automake libtool"
short_desc="C implementation of Sass CSS preprocessor"
maintainer="Gerardo Di Iorio <arete74@gmail.com>"
license="MIT"
homepage="http://www.sass-lang.com/libsass"
distfiles="https://github.com/sass/${pkgname}/archive/${version}.tar.gz"
checksum=b4b962a30bcd99adf0162a8eac7e1be94612b1c19912237f53d9a2c11d375169
pre_configure() {
NOCONFIGURE=1 autoreconf -fi
}
post_install() {
vlicense LICENSE
}
libsass-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
vmove "usr/lib/*.a"
vmove usr/lib/pkgconfig
}
}