vp-build/srcpkgs/libsass/template

32 lines
755 B
Bash

# Template file for 'libsass'
pkgname=libsass
version=3.5.4
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=5f61cbcddaf8e6ef7a725fcfa5d05297becd7843960f245197ebb655ff868770
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
}
}