summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Mrozowski <reavertm@gentoo.org>2017-03-06 02:10:53 +0100
committerMaciej Mrozowski <reavertm@gentoo.org>2017-03-06 02:27:48 +0100
commit53e1591b307cdcdeefb9edeca10b4f7991b021e8 (patch)
tree5bd0030e72be8fa55063711b9a960e5d0f6cef0b /dev-libs
parentdev-util/rustfmt: fix LICENSE syntax and restore x86 keyword, bug #611542 (diff)
downloadgentoo-53e1591b307cdcdeefb9edeca10b4f7991b021e8.tar.gz
gentoo-53e1591b307cdcdeefb9edeca10b4f7991b021e8.tar.bz2
gentoo-53e1591b307cdcdeefb9edeca10b4f7991b021e8.zip
dev-libs/libmspack: New package, bug 548382.
Package-Manager: Portage-2.3.3, Repoman-2.3.2
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/libmspack/Manifest1
-rw-r--r--dev-libs/libmspack/libmspack-0.5_alpha.ebuild46
-rw-r--r--dev-libs/libmspack/metadata.xml8
3 files changed, 55 insertions, 0 deletions
diff --git a/dev-libs/libmspack/Manifest b/dev-libs/libmspack/Manifest
new file mode 100644
index 000000000000..af1af83747d1
--- /dev/null
+++ b/dev-libs/libmspack/Manifest
@@ -0,0 +1 @@
+DIST libmspack-0.5alpha.tar.gz 654193 SHA256 8967f275525f5067b364cee43b73e44d0433668c39f9376dfff19f653d1c8110 SHA512 6d4efa0f43c43185ef91c97c1518aa70f09109d7332cda7e12019e146ec9cb0f2065fb1b57683b48bae9a7eaf8e82eb94096644c6d25c56d45878f630b719231 WHIRLPOOL fcbbbdee1ce4c75222767ad7ce3e16d18c3fbf1c7cb60170a9cad51647e3500e11c458f7a65e8c2e0dccfb8a8e3981f13252ac26fd9edce6f633381b77410faf
diff --git a/dev-libs/libmspack/libmspack-0.5_alpha.ebuild b/dev-libs/libmspack/libmspack-0.5_alpha.ebuild
new file mode 100644
index 000000000000..b8c96e78ed03
--- /dev/null
+++ b/dev-libs/libmspack/libmspack-0.5_alpha.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils multilib-minimal
+
+MY_PV="${PV/_alpha/alpha}"
+MY_P="${PN}-${MY_PV}"
+
+DESCRIPTION="A library for Microsoft compression formats"
+HOMEPAGE="https://www.cabextract.org.uk/libmspack/"
+SRC_URI="https://www.cabextract.org.uk/libmspack/libmspack-${MY_PV}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug doc static-libs"
+
+DEPEND=""
+RDEPEND=""
+
+S="${WORKDIR}/${MY_P}"
+
+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)
+ prune_libtool_files --all
+ use doc && HTML_DOCS=(doc/*)
+ default_src_install
+ if use doc; then
+ rm "${ED}"/usr/share/doc/"${PF}"/html/{Makefile*,Doxyfile*} || die
+ fi
+}
diff --git a/dev-libs/libmspack/metadata.xml b/dev-libs/libmspack/metadata.xml
new file mode 100644
index 000000000000..ea4e7c21a844
--- /dev/null
+++ b/dev-libs/libmspack/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>reavertm@gentoo.org</email>
+ <name>Maciej Mrozowski</name>
+ </maintainer>
+</pkgmetadata>