void-packages/srcpkgs/libsass/template
2016-12-11 15:40:40 +01:00

32 lines
729 B
Bash

# Template file for 'libsass'
pkgname=libsass
version=3.4.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>"
homepage="http://libsass.org/"
license="MIT"
distfiles="https://github.com/sass/${pkgname}/archive/${version}.tar.gz"
checksum=adab7f6d4ef1b2453e40a82a1e7f5d1677ca24d6d3d23f6b1ac46448b1ed5d25
pre_configure() {
autoreconf -i
}
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
}
}