1 |
commit: 2478a50d1a8e5eddd30087e006d9d237c96659ff |
2 |
Author: Alexandre Rostovtsev <tetromino <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Nov 13 21:32:21 2017 +0000 |
4 |
Commit: Alexandre Rostovtsev <tetromino <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Nov 13 21:35:48 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2478a50d |
7 |
|
8 |
dev-libs/libsass: version bump to 3.4.6 |
9 |
|
10 |
Package-Manager: Portage-2.3.13, Repoman-2.3.4 |
11 |
|
12 |
dev-libs/libsass/Manifest | 1 + |
13 |
dev-libs/libsass/libsass-3.4.6.ebuild | 54 +++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 55 insertions(+) |
15 |
|
16 |
diff --git a/dev-libs/libsass/Manifest b/dev-libs/libsass/Manifest |
17 |
index 1642f26ea63..1b4514c6c9a 100644 |
18 |
--- a/dev-libs/libsass/Manifest |
19 |
+++ b/dev-libs/libsass/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST libsass-3.4.5.tar.gz 318689 SHA256 fd0cb47479b4eae03154f23e17ab846aa81ba168c9aa5fa493b8fa42d10842c8 SHA512 5e3f56d44d100067d68e338fa97209a78d80c3536d64fdf48d83ec5351f944dbbe50e1050ffc8189b3ae86fd86d7b121229a3866f6e0287abc55af3770ed2bb6 WHIRLPOOL 852c61f4b7f3999a1d9de9e0075a4358e2323054797acbd2dd396b3486fcb655350897c1c65b55a5ec02f24dd62c771648b756911cbbcf48e519775b6afbf736 |
22 |
+DIST libsass-3.4.6.tar.gz 319190 SHA256 686bc09cc31bba32915f42a6da5e7d221c07690d4d597e2748cdd02abd3d7c2c SHA512 2715a0f38709df2f4f60ff4f14106495521f3c7c5762c8590eee630cf769dc7571d38a3e944a90ab8463552d6434994a76a95e23e994e9123941db072aea66c1 WHIRLPOOL f341450df821b8ae58b6eab4c916f7459d236dd563c8a06eed89a86d03bd389b328a4b894cd5eab01118950a4bee25db048e7c591f9a060efd07caa08c729d60 |
23 |
|
24 |
diff --git a/dev-libs/libsass/libsass-3.4.6.ebuild b/dev-libs/libsass/libsass-3.4.6.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..a220ac3e1e1 |
27 |
--- /dev/null |
28 |
+++ b/dev-libs/libsass/libsass-3.4.6.ebuild |
29 |
@@ -0,0 +1,54 @@ |
30 |
+# Copyright 1999-2017 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 |
+} |