1 |
commit: f41923f832209e60c633685cfd198c0e17f2cba6 |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Aug 20 04:44:20 2019 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Aug 20 04:44:20 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f41923f8 |
7 |
|
8 |
dev-libs/libsass: add 3.6.1 |
9 |
|
10 |
Package-Manager: Portage-2.3.69, Repoman-2.3.16 |
11 |
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> |
12 |
|
13 |
dev-libs/libsass/Manifest | 1 + |
14 |
dev-libs/libsass/libsass-3.6.1.ebuild | 54 +++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 55 insertions(+) |
16 |
|
17 |
diff --git a/dev-libs/libsass/Manifest b/dev-libs/libsass/Manifest |
18 |
index 02fba0e9594..dea63764de9 100644 |
19 |
--- a/dev-libs/libsass/Manifest |
20 |
+++ b/dev-libs/libsass/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST libsass-3.5.5.tar.gz 327298 BLAKE2B 4127722343394bca4ed054987eed6113788e10dc4d03a869778c10b56135406c1fcd72dc101bfe405c96267b628735e8ee74d3812ab392f097dc941b78bef882 SHA512 dcb73a5080c00023b60a19ea037ba5af481253a7b47492bd7114bf45ab78ed931c7b207fa8f12ed200a39760553d72ae92dbe4eb80b826b59a6201fb34008fe5 |
23 |
DIST libsass-3.6.0.tar.gz 332747 BLAKE2B be4ad469aa55f89ce54e6cf1cc5cf0a72f4727610bf2d5aeca7321fde4e4cbc009f59bee46c1e5e5b88825d5bd2f3b4fa427ab3cd535584956f7541c16339f1d SHA512 9665e50ee964ca3cc323f26c2b8322677102d26a7a102558ffbc5bef7a4c4ea44ca5096a967e4044dac1404bfa343a37d846f22d1e1adc27592023d5d4ac40c8 |
24 |
+DIST libsass-3.6.1.tar.gz 333609 BLAKE2B ea6cb0285a6d741614bb900ff0f3b74660c74ec9ed071abf2d980bfe3f55b02fa2873d3860e5b767ca82b5f202f3d2aef28b73357bf8d2b3117c925b4dc78791 SHA512 e9a3a30851e26145d049c4b20951c663a9d48c781a732acd3cc2cdb30df3449e445b57211f666b58afa137431fbdb149add48ff8a0dec92bd8abb514c90adebb |
25 |
|
26 |
diff --git a/dev-libs/libsass/libsass-3.6.1.ebuild b/dev-libs/libsass/libsass-3.6.1.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..7bb47a91093 |
29 |
--- /dev/null |
30 |
+++ b/dev-libs/libsass/libsass-3.6.1.ebuild |
31 |
@@ -0,0 +1,54 @@ |
32 |
+# Copyright 1999-2019 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+ |
37 |
+inherit autotools multilib-minimal |
38 |
+ |
39 |
+if [[ ${PV} = *9999 ]]; then |
40 |
+ EGIT_REPO_URI="https://github.com/sass/libsass.git" |
41 |
+ inherit git-r3 |
42 |
+ KEYWORDS= |
43 |
+else |
44 |
+ SRC_URI="https://github.com/sass/libsass/archive/${PV}.tar.gz -> ${P}.tar.gz" |
45 |
+ KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux" |
46 |
+fi |
47 |
+ |
48 |
+DESCRIPTION="A C/C++ implementation of a Sass CSS compiler" |
49 |
+HOMEPAGE="https://github.com/sass/libsass" |
50 |
+LICENSE="MIT" |
51 |
+SLOT="0/1" # libsass soname |
52 |
+IUSE="static-libs" |
53 |
+ |
54 |
+RDEPEND="" |
55 |
+DEPEND="${RDEPEND}" |
56 |
+ |
57 |
+DOCS=( Readme.md SECURITY.md ) |
58 |
+ |
59 |
+src_prepare() { |
60 |
+ default |
61 |
+ |
62 |
+ if [[ ${PV} != *9999 ]]; then |
63 |
+ [[ -f VERSION ]] || echo "${PV}" > VERSION |
64 |
+ fi |
65 |
+ eautoreconf |
66 |
+ |
67 |
+ # only sane way to deal with various version-related scripts, env variables etc. |
68 |
+ multilib_copy_sources |
69 |
+} |
70 |
+ |
71 |
+multilib_src_configure() { |
72 |
+ econf \ |
73 |
+ $(use_enable static-libs static) \ |
74 |
+ --enable-shared |
75 |
+} |
76 |
+ |
77 |
+multilib_src_install() { |
78 |
+ emake DESTDIR="${D}" install |
79 |
+ find "${D}" -name '*.la' -delete || die |
80 |
+} |
81 |
+ |
82 |
+multilib_src_install_all() { |
83 |
+ einstalldocs |
84 |
+ dodoc -r "${S}/docs" |
85 |
+} |