Merge pull request #1314 from vwegert/add-libmapidb-2

added ebuilds for dev-libs/libmapidb from libyal
This commit is contained in:
Anton Bolshakov 2023-01-27 12:35:18 +08:00 committed by GitHub
commit 1a5eab2fb5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 100 additions and 0 deletions

View file

@ -0,0 +1,2 @@
DIST libmapidb-experimental-20170125.tar.gz 508450 BLAKE2B 9c1b9f686afbd801788d64a96f8083177e53493824e1c218874ac8a535561de25bd167bb84544b45ac7c1e38da4886fa8542fea6763ebd7cfe8fb0934bcb9f31 SHA512 2f4acb0799a6c24d1f069e3e0f76e3e5763a488883983179223249bb900f91d4386b2e22fbb15123c79dfae6fe4381833112f3e2aa28555cd71cbe3919ab4720
DIST libmapidb-experimental-20170304.tar.gz 509145 BLAKE2B 892215e4901a1dfea834f347e6e744d9d8cdd71885b267deec7bde26100172619e681e04f4430ae5590413da53d3d9815b07b56f64b0b85913a2f0c00faf6c54 SHA512 8741473b496181ad36772f82040b8fce2a39c81edb8a07ec8689175af497d634bb0c36c2921d54b594eacb66da24dddba78212d215a6a683b461ed403a1f4ffe

View file

@ -0,0 +1,45 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools
DESCRIPTION="Library to access the Exchange MAPI database format"
HOMEPAGE="https://github.com/libyal/libmapidb"
SRC_URI="https://github.com/libyal/libmapidb/releases/download/${PV}/${PN}-experimental-${PV}.tar.gz"
LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
IUSE="nls"
DEPEND="
nls? (
virtual/libiconv
virtual/libintl
)
dev-libs/libcerror[nls=]
dev-libs/libcnotify[nls=]
"
RDEPEND="
${DEPEND}
"
src_prepare() {
eautoreconf
eapply_user
}
src_configure() {
econf \
$(use_enable nls) \
$(use_with nls libiconv-prefix) \
$(use_with nls libintl-prefix)
}
src_install() {
default
# see https://projects.gentoo.org/qa/policy-guide/installed-files.html#pg0303
find "${ED}" -name '*.la' -delete || die
}

View file

@ -0,0 +1,45 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools
DESCRIPTION="Library to access the Exchange MAPI database format"
HOMEPAGE="https://github.com/libyal/libmapidb"
SRC_URI="https://github.com/libyal/libmapidb/releases/download/${PV}/${PN}-experimental-${PV}.tar.gz"
LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
IUSE="nls"
DEPEND="
nls? (
virtual/libiconv
virtual/libintl
)
dev-libs/libcerror[nls=]
dev-libs/libcnotify[nls=]
"
RDEPEND="
${DEPEND}
"
src_prepare() {
eautoreconf
eapply_user
}
src_configure() {
econf \
$(use_enable nls) \
$(use_with nls libiconv-prefix) \
$(use_with nls libintl-prefix)
}
src_install() {
default
# see https://projects.gentoo.org/qa/policy-guide/installed-files.html#pg0303
find "${ED}" -name '*.la' -delete || die
}

View file

@ -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>unknown@pentoo.ch</email>
<name>Author Unknown</name>
</maintainer>
</pkgmetadata>