1 |
commit: 008e4f03439623ca0f4f5f3196feb1aeb9e110a6 |
2 |
Author: Michael Weber <xmw <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon May 2 18:48:05 2011 +0000 |
4 |
Commit: Michael Weber <xmw <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon May 2 18:48:05 2011 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=dev/xmw.git;a=commit;h=008e4f03 |
7 |
|
8 |
net-libs/libcss: initial import |
9 |
|
10 |
(Portage version: 2.1.9.42/git/Linux x86_64, signed Manifest commit with key 62EEF090) |
11 |
|
12 |
--- |
13 |
net-libs/libcss/ChangeLog | 11 +++++++ |
14 |
net-libs/libcss/Manifest | 14 +++++++++ |
15 |
net-libs/libcss/libcss-0.1.0.ebuild | 51 +++++++++++++++++++++++++++++++++++ |
16 |
net-libs/libcss/metadata.xml | 10 +++++++ |
17 |
4 files changed, 86 insertions(+), 0 deletions(-) |
18 |
|
19 |
diff --git a/net-libs/libcss/ChangeLog b/net-libs/libcss/ChangeLog |
20 |
new file mode 100644 |
21 |
index 0000000..c372804 |
22 |
--- /dev/null |
23 |
+++ b/net-libs/libcss/ChangeLog |
24 |
@@ -0,0 +1,11 @@ |
25 |
+# ChangeLog for net-libs/libcss |
26 |
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
27 |
+# $Header: $ |
28 |
+ |
29 |
+*libcss-0.1.0 (02 May 2011) |
30 |
+ |
31 |
+ 02 May 2011; Michael Weber <xmw@g.o> +libcss-0.1.0.ebuild, |
32 |
+ +metadata.xml: |
33 |
+ Initial import, bug 347471, thanks to inciner@×××××.com for the initial |
34 |
+ ebuild |
35 |
+ |
36 |
|
37 |
diff --git a/net-libs/libcss/Manifest b/net-libs/libcss/Manifest |
38 |
new file mode 100644 |
39 |
index 0000000..2d298f4 |
40 |
--- /dev/null |
41 |
+++ b/net-libs/libcss/Manifest |
42 |
@@ -0,0 +1,14 @@ |
43 |
+-----BEGIN PGP SIGNED MESSAGE----- |
44 |
+Hash: SHA256 |
45 |
+ |
46 |
+DIST libcss-0.1.0-src.tar.gz 455852 RMD160 3ab29885edfe5fc9015ac7f17d3d968a4c28143a SHA1 b6a095dcba9aaa15a34e5426e750964599b0b6e8 SHA256 fae4b8494f8437724278f59e230b5a193d75ce379e9d7e5f3e57c7aa6c770a90 |
47 |
+EBUILD libcss-0.1.0.ebuild 1161 RMD160 265d5177c6393e881942d8c5ba0dfc51d9181766 SHA1 b34b857a6095df6507c0ff69afc16dcd0f18da4a SHA256 50ad44b2dae3c528927ad8e213dccddf6cebbd7139230c092a381b1511ccf87f |
48 |
+MISC ChangeLog 314 RMD160 82293dcfca593d57edaafb8eb5d968ba5df51226 SHA1 bce8d897e3a79749fe19143964ecc4a97fa4ff7a SHA256 8d6a389a0baac82c4af088222aa168c7ad1891d9e67b43a9500420ee9e9dd42a |
49 |
+MISC metadata.xml 249 RMD160 62b32ecefb68df84b41edb7f9f723c2f48a4affa SHA1 1ab0c24ec00e77d4f681fa62ee800d25e0b3f583 SHA256 23a9b4802efacede04885b28ee80b8879224458c9cc3ecd58401728f20c1ca30 |
50 |
+-----BEGIN PGP SIGNATURE----- |
51 |
+Version: GnuPG v2.0.17 (GNU/Linux) |
52 |
+ |
53 |
+iF4EAREIAAYFAk2+/GUACgkQknrdDGLu8JBjzwD/Wgc9HrPmFUFt4w1aPRDmNGKu |
54 |
+/cT5jSwvKTsXbNfcAjcA/jV30cAAAqrLYXe8ImlvHUS1U6iLM8UQPngYX6JANao4 |
55 |
+=Y0wj |
56 |
+-----END PGP SIGNATURE----- |
57 |
|
58 |
diff --git a/net-libs/libcss/libcss-0.1.0.ebuild b/net-libs/libcss/libcss-0.1.0.ebuild |
59 |
new file mode 100644 |
60 |
index 0000000..6c3cd4b |
61 |
--- /dev/null |
62 |
+++ b/net-libs/libcss/libcss-0.1.0.ebuild |
63 |
@@ -0,0 +1,51 @@ |
64 |
+# Copyright 1999-2011 Gentoo Foundation |
65 |
+# Distributed under the terms of the GNU General Public License v2 |
66 |
+# $Header: $ |
67 |
+ |
68 |
+EAPI=3 |
69 |
+ |
70 |
+inherit flag-o-matic multilib |
71 |
+ |
72 |
+DESCRIPTION="CSS parser and selection engine, written in C" |
73 |
+HOMEPAGE="http://www.netsurf-browser.org/projects/libcss" |
74 |
+SRC_URI="http://www.netsurf-browser.org/projects/releases/${P}-src.tar.gz" |
75 |
+ |
76 |
+LICENSE="MIT" |
77 |
+SLOT="0" |
78 |
+KEYWORDS="~amd64" |
79 |
+IUSE="static-libs" |
80 |
+ |
81 |
+RDEPEND="net-libs/libparserutils |
82 |
+ net-libs/libwapcaplet" |
83 |
+DEPEND="${RDEPEND} |
84 |
+ dev-util/pkgconfig |
85 |
+ test? ( dev-lang/perl )" |
86 |
+ |
87 |
+S=${WORKDIR}/${P}-src |
88 |
+ |
89 |
+src_configure() { |
90 |
+ sed -e "/^INSTALL_ITEMS/s: /lib: /$(get_libdir):g" \ |
91 |
+ -e "s:-Werror::" \ |
92 |
+ -i Makefile || die |
93 |
+ sed -e "/^libdir/s:/lib:/$(get_libdir):g" \ |
94 |
+ -i ${PN}.pc.in || die |
95 |
+} |
96 |
+ |
97 |
+src_compile() { |
98 |
+ emake COMPONENT_TYPE=lib-shared || die |
99 |
+ if use static-libs ; then |
100 |
+ emake COMPONENT_TYPE=lib-static || die |
101 |
+ fi |
102 |
+} |
103 |
+ |
104 |
+src_test() { |
105 |
+ emake COMPONENT_TYPE=lib-shared test || die |
106 |
+} |
107 |
+ |
108 |
+src_install() { |
109 |
+ emake COMPONENT_TYPE=lib-shared DESTDIR="${D}" PREFIX=/usr install || die |
110 |
+ if use static-libs ; then |
111 |
+ emake COMPONENT_TYPE=lib-static DESTDIR="${D}" PREFIX=/usr install || die |
112 |
+ fi |
113 |
+ dodoc README || die |
114 |
+} |
115 |
|
116 |
diff --git a/net-libs/libcss/metadata.xml b/net-libs/libcss/metadata.xml |
117 |
new file mode 100644 |
118 |
index 0000000..912cd65 |
119 |
--- /dev/null |
120 |
+++ b/net-libs/libcss/metadata.xml |
121 |
@@ -0,0 +1,10 @@ |
122 |
+<?xml version="1.0" encoding="UTF-8"?> |
123 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
124 |
+<pkgmetadata> |
125 |
+<herd>no-herd</herd> |
126 |
+<maintainer> |
127 |
+ <email>xmw@g.o</email> |
128 |
+ <name>Michael Weber</name> |
129 |
+</maintainer> |
130 |
+</pkgmetadata> |
131 |
+ |