summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Weber <xmw@gentoo.org>2013-06-23 16:46:31 +0000
committerMichael Weber <xmw@gentoo.org>2013-06-23 16:46:31 +0000
commit036a3f426289000c66bec0bb37f97ca981a58b78 (patch)
treef05066fcf010ff46fce3db229975c3692a071b33 /dev-libs/libcss
parentMigrate to netsurf.eclass (diff)
downloadhistorical-036a3f426289000c66bec0bb37f97ca981a58b78.tar.gz
historical-036a3f426289000c66bec0bb37f97ca981a58b78.tar.bz2
historical-036a3f426289000c66bec0bb37f97ca981a58b78.zip
Migrate to netsurf.eclass
Package-Manager: portage-2.2.0_alpha183/cvs/Linux x86_64 Manifest-Sign-Key: 0x62EEF090
Diffstat (limited to 'dev-libs/libcss')
-rw-r--r--dev-libs/libcss/ChangeLog5
-rw-r--r--dev-libs/libcss/Manifest10
-rw-r--r--dev-libs/libcss/libcss-0.2.0.ebuild126
3 files changed, 11 insertions, 130 deletions
diff --git a/dev-libs/libcss/ChangeLog b/dev-libs/libcss/ChangeLog
index 6f28d5c58c81..cbffddb7e33f 100644
--- a/dev-libs/libcss/ChangeLog
+++ b/dev-libs/libcss/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-libs/libcss
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libcss/ChangeLog,v 1.9 2013/06/17 17:10:34 xmw Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libcss/ChangeLog,v 1.10 2013/06/23 16:43:29 xmw Exp $
+
+ 23 Jun 2013; Michael Weber <xmw@gentoo.org> libcss-0.2.0.ebuild:
+ Migrate to netsurf.eclass
*libcss-0.2.0 (17 Jun 2013)
diff --git a/dev-libs/libcss/Manifest b/dev-libs/libcss/Manifest
index ac911accfec9..a161145528a1 100644
--- a/dev-libs/libcss/Manifest
+++ b/dev-libs/libcss/Manifest
@@ -6,13 +6,13 @@ DIST libcss-0.1.2-src.tar.gz 474621 SHA256 92c112a059bc5ae490392439401005b47ca5c
DIST libcss-0.2.0-src.tar.gz 460004 SHA256 31b08f6f2259366ccad8b455440f364dc33e7dc78cdb0cf4905da56d5372f613 SHA512 dbb076dbf2c91835e8514732307fc72cdc393a244e5d80b38366388ae9214e6072152920a8eac4020873ce9153a5cc17ea616ebc1a926fc097e4a00c0b837f40 WHIRLPOOL 884549f15702e3efdbc043a60bbca75c15370a0b79bc33becc807d5a1b4ef2129107f05720168a2d739a21d484e44c2456b82cc6e768d78a0715cb960a869163
DIST netsurf-buildsystem-1.0.tar.gz 37026 SHA256 4495e8e12faf0ace668ab80401064ce7f65a195efe63c924c066a109649ff146 SHA512 763e10766ab16be375c40a226e36a95df5740ac62b5bbc4eb6d52693b83284d2e71d9a3d797f55c28853a5d2565182759ffa9bfb3d736daf21b347f418661c47 WHIRLPOOL a65d53424a34a796a1f85ed5d4a9ca9bf58eaba7246e5ea20bc7da09e0e8ab60e156ce47da521660d5567c6358fda0da744e56ccf52cda6e0db92b19a6055d38
EBUILD libcss-0.1.2.ebuild 1713 SHA256 478494b30ee5b1e8e11b7ab58d0a5e0f6a2cb1104b2964bd366d0ebf43c2a055 SHA512 ad0e7185ca529939402263b5fb155d2c2157869226bdf128d457ea8f2658123203338e44aa915f7a4cef13fe24b30190789b6956752381efe758a18de2c53ee0 WHIRLPOOL c08ada3ea5f64dab1b3a1840fa9a7e0849eed723cdfcda0e0209a7daf038b0c82e1d15d9196cd965ef0dba1e378e8950b2b7189011dfd5140c96ea615e469bdd
-EBUILD libcss-0.2.0.ebuild 2832 SHA256 1a1b66838095a51876b5a527653d661c50badd96c520980ea359402768b32d2a SHA512 c9252eb9c41a0e3de9c9e5677580ec25c2ce7dc2df58f255d924cb4193fb2d06b72bc18de2843d8dfb373ff6e20df4d4ffa55096fbed23a4f3fabcd6708239b3 WHIRLPOOL 1947985ddf66aab572d278caeeff4ccf9b3f63b6dbf833bdc50d9786a58b8dd3be596ae7bb0ef0522b9b7b2507a2b1b33c26ef9cb06dc98d18cd61fd9a656efd
-MISC ChangeLog 1296 SHA256 e3506b632eda0fec59c2bf741706aa811897b191e81145489118d645604bb605 SHA512 91441fef4952b2c32f4ad5bedb3716a8030470e34572c6f93570b21377536e3d1eaef6f0d8b0601a9fc93b07983f25f5fae8511e73513a09213a96040c3c6266 WHIRLPOOL b27e893153c382476cc346779c10df706eb26371c7b888cd3f656b546ec0a1b7c0e0d3ae0ea0486e620bc4b0ef9b6fb245193882f2ddb613b5898c0ff4227e66
+EBUILD libcss-0.2.0.ebuild 603 SHA256 9e863273cb1f00d3f6cc2061951a80d3915957c28883ac730ae1452ab8872267 SHA512 61ca25e15f94c81c5da853c660c5e932fb2b3a9c728c8ed6b4635b6e6bf116aba414b7ef8f445a7f271201c3f278f82b03a839128db15d94c6ef7786f40cbd82 WHIRLPOOL 4af67e4ef93caec4b583ef74875a99f4ff03c6fe894af791f89683b0dfb9f7e5a77d88dacb6e8c5d42b0e6e8a5a5d679deccdb9d07edcd590646772ebbd3a41c
+MISC ChangeLog 1393 SHA256 5604a8abdf6e348d2009c0c71061d02e13b6808198f7d86371d07078880a5774 SHA512 b131dea1cce051724415988f6aa3e777999a4bd1187f33d8b12941d2d9c45565878ec39a31a5c4aa0e4459fc78efa7a7233035daa596c253906b04988b06c658 WHIRLPOOL 978921cd7cdea00c54deb36c5d3ce41eadf9f3007ec83e104a86186e75dde497ad2ec91a6692eafcabeda5b169426be476f8be62e69707efef7a1678006604a0
MISC metadata.xml 224 SHA256 f810c6de744adceee241992d3f713142db3e7025986f6cc5898cfe3c9cb2f4a7 SHA512 4f78d959809ec0db2f9be2a7747d572fa8ee03d177044dd46574881a6ee83736510b76062c12daecae609282d197ba466e8a3e3a654b1383e04c659acd41bef5 WHIRLPOOL 0300a228d371c918b051bc24859dfe4e5d0d2a71b80f697f202749c5aca69efcee4be6e69454c9abfa4ced28e19a9d1f71d6d7eaf54290b8d03b5c04fd209868
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.20 (GNU/Linux)
-iF4EAREIAAYFAlG/Qw0ACgkQknrdDGLu8JBq4wEAlrv1vKHK/+PXN5RaO5yTRWmj
-gFlQXtenf9o45EcrCFgA/0gB/uHNU5W+gx+o1qCJuBhk+dNX5pWE99/Ww7AyTn3b
-=sVpS
+iF4EAREIAAYFAlHHJa4ACgkQknrdDGLu8JC08wD/dqPnYfz3lhEHrKOx0Pf1jYs4
+gDAYbmwSo1aXrO7IRw8A/AyvVqhg7wQnQCuuzEyqxOwiqZuodMim5Lh3nBYG0FYj
+=mR/p
-----END PGP SIGNATURE-----
diff --git a/dev-libs/libcss/libcss-0.2.0.ebuild b/dev-libs/libcss/libcss-0.2.0.ebuild
index b749b428c0d5..850a8757f63a 100644
--- a/dev-libs/libcss/libcss-0.2.0.ebuild
+++ b/dev-libs/libcss/libcss-0.2.0.ebuild
@@ -1,10 +1,10 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libcss/libcss-0.2.0.ebuild,v 1.1 2013/06/17 17:10:34 xmw Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libcss/libcss-0.2.0.ebuild,v 1.2 2013/06/23 16:43:29 xmw Exp $
EAPI=5
-inherit base toolchain-funcs multilib-minimal
+inherit netsurf
DESCRIPTION="CSS parser and selection engine, written in C"
HOMEPAGE="http://www.netsurf-browser.org/projects/libcss/"
@@ -18,125 +18,3 @@ RDEPEND=">=dev-libs/libparserutils-0.1.2[static-libs?,${MULTILIB_USEDEP}]
>=dev-libs/libwapcaplet-0.2.0[static-libs?,${MULTILIB_USEDEP}]"
DEPEND="${RDEPEND}
test? ( dev-lang/perl )"
-
-### future context of netsurf.eclass
-
-NETSURF_BUILDSYSTEM="${NETSURF_BUILDSYSTEM:-buildsystem-1.0}"
-SRC_URI=${SRC_URI:-http://download.netsurf-browser.org/libs/releases/${P}-src.tar.gz}
-SRC_URI+="
- http://download.netsurf-browser.org/libs/releases/${NETSURF_BUILDSYSTEM}.tar.gz -> netsurf-${NETSURF_BUILDSYSTEM}.tar.gz"
-IUSE+=" debug static-libs"
-if has doc ${IUSE} ; then
- DEPEND+="
- doc? ( app-doc/doxygen )"
-fi
-DEPEND+="
- virtual/pkgconfig"
-pkg_setup(){
- netsurf_src_prepare() {
- if [ -f docs/doxygen.conf ] ; then
- if ! has doc ${IUSE} ; then
- if [ -z "${NETSURF_IGNORE_DOXYGEN}" ] ; then
- die "Missing IUSE=doc"
- fi
- fi
- fi
-
- base_src_prepare
-
- multilib_copy_sources
- }
-
- netsurf_src_configure() {
- netsurf_makeconf=(
- NSSHARED=${WORKDIR}/${NETSURF_BUILDSYSTEM}
- Q=
- CCOPT=
- CCNOOPT=
- CCDBG=
- LDDBG=
- AR="$(tc-getAR)"
- BUILD=$(usex debug debug release)
- DESTDIR="${D}"
- PREFIX="${EROOT}"usr
- )
-
- multilib-minimal_src_configure
- }
-
- netsurf_src_compile() {
- multilib-minimal_src_compile
-
- if has doc ${IUSE} ; then
- use doc && netsurf_make docs
- fi
- }
-
- netsurf_src_test() {
- multilib-minimal_src_test
- }
-
- netsurf_src_install() {
- multilib-minimal_src_install
- }
-
- multilib_src_configure() {
- sed -e "/^INSTALL_ITEMS/s: /lib: /$(get_libdir):g" \
- -i Makefile || die
- if [ -f ${PN}.pc.in ] ; then
- sed -e "/^libdir/s:/lib:/$(get_libdir):g" \
- -i ${PN}.pc.in || die
- fi
- }
-
- netsurf_make() {
- emake CC="$(tc-getCC)" LD="$(tc-getLD)" "${netsurf_makeconf[@]}" \
- COMPONENT_TYPE=lib-shared "$@"
- if use static-libs ; then
- emake CC="$(tc-getCC)" LD="$(tc-getLD)" "${netsurf_makeconf[@]}" \
- COMPONENT_TYPE=lib-static "$@"
- fi
- }
-
- multilib_src_compile() {
- netsurf_make
- }
-
- multilib_src_test() {
- netsurf_make test
- }
-
- multilib_src_test() {
- netsurf_make test
- }
-
- multilib_src_install() {
- netsurf_make install
- }
-
- multilib_src_install_all() {
- if has doc ${IUSE} ; then
- use doc && dohtml -r build/docs/html/*
- fi
- }
-}
-
-src_prepare() {
- netsurf_src_prepare
-}
-
-src_configure() {
- netsurf_src_configure
-}
-
-src_compile() {
- netsurf_src_compile
-}
-
-src_test() {
- netsurf_src_test
-}
-
-src_install() {
- netsurf_src_install
-}