diff --git a/dev-libs/libsass/libsass-3.4.5.recipe b/dev-libs/libsass/libsass-3.4.5.recipe new file mode 100644 index 000000000..f2e19d6ce --- /dev/null +++ b/dev-libs/libsass/libsass-3.4.5.recipe @@ -0,0 +1,64 @@ +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 +}