From: "Thomas Deutschmann" <whissi@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libmspack/
Date: Sun, 4 Nov 2018 01:20:55 +0000 (UTC) [thread overview]
Message-ID: <1541294447.0a706d8755608ce4a4eda12a625b76c5402792da.whissi@gentoo> (raw)
commit: 0a706d8755608ce4a4eda12a625b76c5402792da
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 4 01:16:57 2018 +0000
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Sun Nov 4 01:20:47 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a706d87
dev-libs/libmspack: add live ebuild
Package-Manager: Portage-2.3.51, Repoman-2.3.11
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
dev-libs/libmspack/libmspack-9999.ebuild | 73 ++++++++++++++++++++++++++++++++
1 file changed, 73 insertions(+)
diff --git a/dev-libs/libmspack/libmspack-9999.ebuild b/dev-libs/libmspack/libmspack-9999.ebuild
new file mode 100644
index 00000000000..4c72d6fbe69
--- /dev/null
+++ b/dev-libs/libmspack/libmspack-9999.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+inherit autotools multilib-minimal
+
+if [[ ${PV} == "9999" ]] ; then
+ EGIT_REPO_URI="https://github.com/kyz/libmspack.git"
+ inherit git-r3
+ MY_P="${PN}-9999"
+else
+ KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+ MY_PV="${PV/_alpha/alpha}"
+ MY_P="${PN}-${MY_PV}"
+ SRC_URI="https://www.cabextract.org.uk/libmspack/libmspack-${MY_PV}.tar.gz"
+fi
+
+DESCRIPTION="A library for Microsoft compression formats"
+HOMEPAGE="https://www.cabextract.org.uk/libmspack/"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+IUSE="debug doc static-libs"
+
+DEPEND=""
+RDEPEND=""
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+ if [[ ${PV} == "9999" ]] ; then
+ # Re-create file layout from release tarball
+ pushd "${WORKDIR}" &>/dev/null || die
+ cp -aL "${S}"/${PN} "${WORKDIR}"/${PN}-source || die
+ rm -r "${S}" || die
+ mv "${WORKDIR}"/${PN}-source "${S}" || die
+ popd &>/dev/null || die
+ fi
+
+ default
+
+ eautoreconf
+
+ multilib_copy_sources
+}
+
+multilib_src_configure() {
+ ECONF_SOURCE="${S}" econf \
+ $(use_enable debug) \
+ $(use_enable static-libs static)
+}
+
+multilib_src_test() {
+ if multilib_is_native_abi; then
+ default
+ cd "${S}"/test && "${BUILD_DIR}"/test/cabd_test || die
+ fi
+}
+
+multilib_src_install_all() {
+ DOCS=(AUTHORS ChangeLog NEWS README TODO)
+ use doc && HTML_DOCS=(doc/*)
+ default_src_install
+ if use doc; then
+ rm "${ED%/}"/usr/share/doc/"${PF}"/html/{Makefile*,Doxyfile*} || die
+ fi
+
+ find "${ED}" -name '*.la' -delete || die
+ if ! use static-libs ; then
+ find "${ED}" -name "*.a" -delete || die
+ fi
+}
next reply other threads:[~2018-11-04 1:21 UTC|newest]
Thread overview: 70+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-04 1:20 Thomas Deutschmann [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-01-09 20:17 [gentoo-commits] repo/gentoo:master commit in: dev-libs/libmspack/ Andreas Sturmlechner
2025-01-09 0:08 Sam James
2024-11-08 2:49 Sam James
2024-11-05 15:55 Arthur Zamarin
2024-11-04 22:17 Sam James
2024-11-04 21:56 Sam James
2024-11-04 21:56 Sam James
2024-11-04 21:56 Sam James
2024-11-04 21:56 Sam James
2024-10-05 22:25 Maciej Mrozowski
2024-08-26 16:29 Arthur Zamarin
2023-08-13 7:52 Sam James
2023-08-13 7:52 Sam James
2022-07-28 13:59 Sam James
2022-05-05 10:44 WANG Xuerui
2022-05-05 10:44 WANG Xuerui
2022-01-01 10:05 James Le Cuirot
2021-06-25 1:33 Yixun Lan
2020-12-01 8:45 Fabian Groffen
2020-09-06 7:49 Sergei Trofimovich
2020-09-03 23:57 Sam James
2020-08-29 12:56 Sam James
2020-08-16 14:48 Agostino Sarubbo
2020-08-16 14:47 Agostino Sarubbo
2020-08-15 4:33 Sam James
2020-08-15 3:45 Sam James
2020-08-15 3:06 Sam James
2020-08-15 3:06 Sam James
2020-08-02 17:31 Maciej Mrozowski
2019-04-18 4:16 Aaron Bauman
2019-04-04 19:56 Aaron Bauman
2019-04-04 19:14 Aaron Bauman
2019-01-30 13:20 Tobias Klausmann
2019-01-05 17:19 Mikle Kolyada
2018-12-26 20:00 Sergei Trofimovich
2018-12-26 17:29 Matt Turner
2018-12-26 13:55 Sergei Trofimovich
2018-12-24 9:09 Fabian Groffen
2018-12-07 12:47 Mikle Kolyada
2018-11-24 22:01 Sergei Trofimovich
2018-11-23 8:53 Sergei Trofimovich
2018-11-20 12:13 Thomas Deutschmann
2018-11-07 23:44 Thomas Deutschmann
2018-11-07 9:43 Agostino Sarubbo
2018-11-06 2:12 Thomas Deutschmann
2018-10-24 15:42 Thomas Deutschmann
2018-10-18 11:45 Tobias Klausmann
2018-10-16 9:18 Tobias Klausmann
2018-10-13 16:14 Sergei Trofimovich
2018-10-12 19:08 Sergei Trofimovich
2018-10-08 9:17 Mikle Kolyada
2018-10-06 23:05 Thomas Deutschmann
2018-10-06 19:46 Matt Turner
2018-10-06 17:38 Thomas Deutschmann
2018-09-08 20:18 Sergei Trofimovich
2018-07-20 9:49 Jeroen Roovers
2018-07-20 9:49 Jeroen Roovers
2018-07-20 8:08 Sergei Trofimovich
2018-06-16 19:26 Sergei Trofimovich
2018-05-06 19:24 Sergei Trofimovich
2018-05-02 19:30 Markus Meier
2018-04-22 22:43 Aaron Bauman
2018-04-18 6:57 Sergei Trofimovich
2018-03-04 6:51 Thomas Deutschmann
2018-03-02 15:35 Agostino Sarubbo
2017-11-03 1:39 Maciej Mrozowski
2017-10-19 23:08 Maciej Mrozowski
2017-04-23 21:23 Agostino Sarubbo
2017-03-06 1:28 Maciej Mrozowski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1541294447.0a706d8755608ce4a4eda12a625b76c5402792da.whissi@gentoo \
--to=whissi@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox