1 |
commit: 002f07d42fc7adad88f740c19a0fc44f1f88dc87 |
2 |
Author: Alexandre Rostovtsev <tetromino <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jan 29 03:14:38 2018 +0000 |
4 |
Commit: Alexandre Rostovtsev <tetromino <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jan 29 03:15:27 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=002f07d4 |
7 |
|
8 |
dev-libs/libsass: version bump to 3.4.8 |
9 |
|
10 |
Package-Manager: Portage-2.3.20, Repoman-2.3.6 |
11 |
|
12 |
dev-libs/libsass/Manifest | 1 + |
13 |
dev-libs/libsass/libsass-3.4.8.ebuild | 54 +++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 55 insertions(+) |
15 |
|
16 |
diff --git a/dev-libs/libsass/Manifest b/dev-libs/libsass/Manifest |
17 |
index 09cff5a0af8..a03bf97da79 100644 |
18 |
--- a/dev-libs/libsass/Manifest |
19 |
+++ b/dev-libs/libsass/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST libsass-3.4.7.tar.gz 319824 BLAKE2B ca3e7091816474e318fb1eaefa01e5e361a66715b6267500a93f80dfc8b34bdc595e6ddc4b1872e4399093468d4ac06a9760685d8941d92f18e1834df7715b04 SHA512 5d743d4345b11e9e5315aa858637d3388d2b464150a46bc8a712e1e5d1b3df9c1e6b4dcac26f91827f1c38db24a5a084d04c0962a428f2994f42ad66a25b35a8 |
22 |
+DIST libsass-3.4.8.tar.gz 320415 BLAKE2B dc7b377134ffe6619687e3a7f4c47b5a5d79d0dc530c2d301845f2af0956b674a840bb8cacbc764abfb15a001b15db2642c3f51142c746e98a15cca184c51adf SHA512 5cbf5621ee45111f4a31113d2ea39f03be51d42c6e8978e7b2bfd89a8863c262a19fc17a31b910c9547dc687696b1fd4e17f2d050ec2afc4c4266dbc2ad00b72 |
23 |
|
24 |
diff --git a/dev-libs/libsass/libsass-3.4.8.ebuild b/dev-libs/libsass/libsass-3.4.8.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..78b45f223a4 |
27 |
--- /dev/null |
28 |
+++ b/dev-libs/libsass/libsass-3.4.8.ebuild |
29 |
@@ -0,0 +1,54 @@ |
30 |
+# Copyright 1999-2018 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=6 |
34 |
+ |
35 |
+inherit autotools eutils ltprune multilib-minimal |
36 |
+ |
37 |
+if [[ ${PV} = *9999 ]]; then |
38 |
+ EGIT_REPO_URI="https://github.com/sass/libsass.git" |
39 |
+ inherit git-r3 |
40 |
+ KEYWORDS= |
41 |
+else |
42 |
+ SRC_URI="https://github.com/sass/libsass/archive/${PV}.tar.gz -> ${P}.tar.gz" |
43 |
+ KEYWORDS="~amd64 ~x86 ~amd64-linux" |
44 |
+fi |
45 |
+ |
46 |
+DESCRIPTION="A C/C++ implementation of a Sass CSS compiler" |
47 |
+HOMEPAGE="https://github.com/sass/libsass" |
48 |
+LICENSE="MIT" |
49 |
+SLOT="0/0" # libsass soname |
50 |
+IUSE="static-libs" |
51 |
+ |
52 |
+RDEPEND="" |
53 |
+DEPEND="${RDEPEND}" |
54 |
+ |
55 |
+DOCS=( Readme.md SECURITY.md ) |
56 |
+ |
57 |
+src_prepare() { |
58 |
+ default |
59 |
+ |
60 |
+ if [[ ${PV} != *9999 ]]; then |
61 |
+ [[ -f VERSION ]] || echo "${PV}" > VERSION |
62 |
+ fi |
63 |
+ eautoreconf |
64 |
+ |
65 |
+ # only sane way to deal with various version-related scripts, env variables etc. |
66 |
+ multilib_copy_sources |
67 |
+} |
68 |
+ |
69 |
+multilib_src_configure() { |
70 |
+ econf \ |
71 |
+ $(use_enable static-libs static) \ |
72 |
+ --enable-shared |
73 |
+} |
74 |
+ |
75 |
+multilib_src_install() { |
76 |
+ emake DESTDIR="${D}" install |
77 |
+ prune_libtool_files |
78 |
+} |
79 |
+ |
80 |
+multilib_src_install_all() { |
81 |
+ einstalldocs |
82 |
+ dodoc -r "${S}/docs" |
83 |
+} |