void-packages/srcpkgs/libsass/template

34 lines
867 B
Bash

# Template file for 'libsass'
pkgname=libsass
version=3.6.6
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=11f0bb3709a4f20285507419d7618f3877a425c0131ea8df40fe6196129df15d
CFLAGS="-D_LARGE_FILE_SOURCE=1 -D_FILE_OFFSET_BITS=64"
CXXFLAGS="-D_LARGE_FILE_SOURCE=1 -D_FILE_OFFSET_BITS=64"
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
}
}