LibSass: bump to 3.5.4, add debuginfo, install Readme.md.

This commit is contained in:
fbrosson
2018-10-15 09:25:43 +00:00
parent 7165175bf1
commit 720812f767

View File

@@ -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"
}