diff options
author | Andrew Ammerlaan <andrewammerlaan@gentoo.org> | 2023-12-23 10:51:05 +0100 |
---|---|---|
committer | Andrew Ammerlaan <andrewammerlaan@gentoo.org> | 2023-12-23 10:51:53 +0100 |
commit | 85c1fd18da0e28b6c153077d29452ca8103b8410 (patch) | |
tree | cce8ee428e9811b7ab012856274d2a1a38f3e26f /dev-libs/libsass | |
parent | media-libs/libmpdclient: bump to 2.22, dropped 2.21 (diff) | |
download | gentoo-85c1fd18da0e28b6c153077d29452ca8103b8410.tar.gz gentoo-85c1fd18da0e28b6c153077d29452ca8103b8410.tar.bz2 gentoo-85c1fd18da0e28b6c153077d29452ca8103b8410.zip |
dev-libs/libsass: add 3.6.6
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
Diffstat (limited to 'dev-libs/libsass')
-rw-r--r-- | dev-libs/libsass/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/libsass/libsass-3.6.6.ebuild | 47 | ||||
-rw-r--r-- | dev-libs/libsass/libsass-9999.ebuild | 4 |
3 files changed, 50 insertions, 2 deletions
diff --git a/dev-libs/libsass/Manifest b/dev-libs/libsass/Manifest index 4fdf4572817e..8fe67a3f14b9 100644 --- a/dev-libs/libsass/Manifest +++ b/dev-libs/libsass/Manifest @@ -1 +1,2 @@ DIST libsass-3.6.5.tar.gz 342426 BLAKE2B 8c6bb37da3f832dd462408a7ef4f80384e468295fc420b3d915899e65fb89a9d0b4c1cf0653b7288fedbf6a66daa2943c2911ad2c310f77a06deb84bec1d3abf SHA512 98cc7e12fdf74cd9e92d8d4a62b821956d3ad186fcee9a8d77b677a621342aa161b73d9adad4c1849678a3bac890443120cc8febe1b7429aab374321d635b8f7 +DIST libsass-3.6.6.tar.gz 342625 BLAKE2B c26dc47d129c8cc3a40e0b537504f9d046fff5ce9dab57f20f25484610bb614d51b78e7ffcce96b2a61b14c33807700cf8fb9d7cbe39340fd9c898f9f34171c9 SHA512 659828c854af391c10a16954425fbeeb5fa036189dea45555cd8046338f7469eb7f8d84134030ce644921514b8f397ef6070b56dfb116ea7ce94328d64576518 diff --git a/dev-libs/libsass/libsass-3.6.6.ebuild b/dev-libs/libsass/libsass-3.6.6.ebuild new file mode 100644 index 000000000000..fdea10f2a19c --- /dev/null +++ b/dev-libs/libsass/libsass-3.6.6.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +if [[ ${PV} = *9999 ]]; then + EGIT_REPO_URI="https://github.com/sass/libsass.git" + inherit git-r3 +else + SRC_URI="https://github.com/sass/libsass/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux" +fi + +DESCRIPTION="A C/C++ implementation of a Sass CSS compiler" +HOMEPAGE="https://github.com/sass/libsass" +LICENSE="MIT" +SLOT="0/1" # libsass soname + +DOCS=( Readme.md SECURITY.md ) + +src_prepare() { + default + + if [[ ${PV} != *9999 ]]; then + [[ -f VERSION ]] || echo "${PV}" > VERSION + fi + + eautoreconf +} + +src_configure() { + local myeconfargs=( + --enable-shared + ) + + econf "${myeconfargs[@]}" +} + +src_install() { + default + + dodoc -r docs + + find "${ED}" -name '*.la' -delete || die +} diff --git a/dev-libs/libsass/libsass-9999.ebuild b/dev-libs/libsass/libsass-9999.ebuild index 80400548f196..fdea10f2a19c 100644 --- a/dev-libs/libsass/libsass-9999.ebuild +++ b/dev-libs/libsass/libsass-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -10,7 +10,7 @@ if [[ ${PV} = *9999 ]]; then inherit git-r3 else SRC_URI="https://github.com/sass/libsass/archive/${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv x86 ~amd64-linux" + KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux" fi DESCRIPTION="A C/C++ implementation of a Sass CSS compiler" |