From 720812f767a38c4e5fbb030a6ea9dc07ed553735 Mon Sep 17 00:00:00 2001 From: fbrosson Date: Mon, 15 Oct 2018 09:25:43 +0000 Subject: [PATCH] LibSass: bump to 3.5.4, add debuginfo, install Readme.md. --- ...sass-3.4.5.recipe => libsass-3.5.4.recipe} | 30 ++++++++++++------- 1 file changed, 20 insertions(+), 10 deletions(-) rename dev-libs/libsass/{libsass-3.4.5.recipe => libsass-3.5.4.recipe} (52%) diff --git a/dev-libs/libsass/libsass-3.4.5.recipe b/dev-libs/libsass/libsass-3.5.4.recipe similarity index 52% rename from dev-libs/libsass/libsass-3.4.5.recipe rename to dev-libs/libsass/libsass-3.5.4.recipe index f2e19d6ce..fa6e6cf06 100644 --- a/dev-libs/libsass/libsass-3.4.5.recipe +++ b/dev-libs/libsass/libsass-3.5.4.recipe @@ -1,28 +1,33 @@ 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" +and by far the most mature and up to date codebase. LibSass is a C++ port of \ +the original Ruby Sass CSS compiler with a C API." HOMEPAGE="http://sass-lang.com/libsass" -COPYRIGHT="2012 by Hampton Catlin" +COPYRIGHT="2012-2018 the Sass Open Source Foundation" LICENSE="MIT" REVISION="1" -SOURCE_URI="https://github.com/sass/libsass/archive/3.4.5.tar.gz" -CHECKSUM_SHA256="fd0cb47479b4eae03154f23e17ab846aa81ba168c9aa5fa493b8fa42d10842c8" +SOURCE_URI="https://github.com/sass/libsass/archive/$portVersion.tar.gz" +CHECKSUM_SHA256="5f61cbcddaf8e6ef7a725fcfa5d05297becd7843960f245197ebb655ff868770" +SOURCE_FILENAME="libsass-$portVersion.tar.gz" ARCHITECTURES="!x86_gcc2 x86 x86_64" SECONDARY_ARCHITECTURES="x86" +libVersion="1.0.0" +libVersionCompat="$libVersion compat >= ${libVersion%%.*}" + PROVIDES=" - libsass${secondaryArchSuffix} = $portVersion - lib:libsass${secondaryArchSuffix} = 0.0.9 compat >= 0 + libsass$secondaryArchSuffix = $portVersion + lib:libsass$secondaryArchSuffix = $libVersionCompat " REQUIRES=" - haiku${secondaryArchSuffix} + haiku$secondaryArchSuffix " PROVIDES_devel=" libsass${secondaryArchSuffix}_devel = $portVersion - devel:libsass$secondaryArchSuffix = 0.0.9 compat >= 0 + devel:libsass$secondaryArchSuffix = $libVersionCompat " REQUIRES_devel=" libsass$secondaryArchSuffix == $portVersion base @@ -41,6 +46,9 @@ BUILD_PREREQUIRES=" cmd:pkg_config$secondaryArchSuffix " +defineDebugInfoPackage libsass$secondaryArchSuffix \ + "$libDir"/libsass.so.$libVersion + BUILD() { autoreconf -vfi @@ -51,14 +59,16 @@ BUILD() INSTALL() { make install + install -m 755 -d "$developDocDir" + install -m 644 -t "$developDocDir" Readme.md #remove libtool file - rm $libDir/*.la + rm -f "$libDir"/libsass.la prepareInstalledDevelLib libsass fixPkgconfig # devel package packageEntries devel \ - $developDir + "$developDir" }