mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-10 13:50:08 +02:00
65 lines
1.4 KiB
Bash
65 lines
1.4 KiB
Bash
SUMMARY="A C/C++ implementation of a Sass compiler"
|
|
DESCRIPTION="Sass is a CSS pre-processor language to add on exciting, \
|
|
new, awesome features to CSS. Sass was the first language of its kind \
|
|
and by far the most mature and up to date codebase"
|
|
HOMEPAGE="http://sass-lang.com/libsass"
|
|
COPYRIGHT="2012 by Hampton Catlin"
|
|
LICENSE="MIT"
|
|
REVISION="1"
|
|
SOURCE_URI="https://github.com/sass/libsass/archive/3.4.5.tar.gz"
|
|
CHECKSUM_SHA256="fd0cb47479b4eae03154f23e17ab846aa81ba168c9aa5fa493b8fa42d10842c8"
|
|
|
|
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
libsass${secondaryArchSuffix} = $portVersion
|
|
lib:libsass${secondaryArchSuffix} = 0.0.9 compat >= 0
|
|
"
|
|
REQUIRES="
|
|
haiku${secondaryArchSuffix}
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
libsass${secondaryArchSuffix}_devel = $portVersion
|
|
devel:libsass$secondaryArchSuffix = 0.0.9 compat >= 0
|
|
"
|
|
REQUIRES_devel="
|
|
libsass$secondaryArchSuffix == $portVersion base
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:aclocal
|
|
cmd:autoconf
|
|
cmd:awk
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:libtoolize$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
autoreconf -vfi
|
|
runConfigure ./configure
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
#remove libtool file
|
|
rm $libDir/*.la
|
|
|
|
prepareInstalledDevelLib libsass
|
|
fixPkgconfig
|
|
|
|
# devel package
|
|
packageEntries devel \
|
|
$developDir
|
|
}
|