diff options
author | Christian Ruppert <idl0r@gentoo.org> | 2021-01-22 09:03:32 +0100 |
---|---|---|
committer | Christian Ruppert <idl0r@gentoo.org> | 2021-01-22 09:03:50 +0100 |
commit | 262441254364ba1c58ac8b343a3a39386b07722a (patch) | |
tree | 291ea02f5e216874738b91652ae2a9334f12e699 /dev-libs/libslz | |
parent | app-text/master-pdf-editor: version bump to 5.7.08 (diff) | |
download | gentoo-262441254364ba1c58ac8b343a3a39386b07722a.tar.gz gentoo-262441254364ba1c58ac8b343a3a39386b07722a.tar.bz2 gentoo-262441254364ba1c58ac8b343a3a39386b07722a.zip |
dev-libs/libslz: Version bump to 1.2.0
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Christian Ruppert <idl0r@gentoo.org>
Diffstat (limited to 'dev-libs/libslz')
-rw-r--r-- | dev-libs/libslz/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/libslz/libslz-1.2.0.ebuild | 65 |
2 files changed, 66 insertions, 0 deletions
diff --git a/dev-libs/libslz/Manifest b/dev-libs/libslz/Manifest index 53dbd9711bce..f7c8fdd51bfe 100644 --- a/dev-libs/libslz/Manifest +++ b/dev-libs/libslz/Manifest @@ -1 +1,2 @@ DIST libslz-1.1.0.tar.bz2 229577 BLAKE2B d05b619d0b7b76c2777285ecaf976b75565b50c77e00a1ce042f5a28ab8d527788a75d28d70357a32ea9a98267ae621d5a6e4613e4a7e4f52767e68c77765bb3 SHA512 064e2e8e7091adf863653981e5b677bdb9e64901f61cf3b68f098cf7957a4c32e19cec7d41b8dab61098017119d6ea562350c7fbfa10b5e922f52ac0d6066948 +DIST libslz-1.2.0.tar.bz2 230567 BLAKE2B cf8a21fe0c23ae003830bfae3bd5ae172df4e88f63b0d5c1394c316e9d69c570b544d2c2db76cddd1e320d68119d7ae39352f9932673fb41e06ded030ebc5078 SHA512 811876f3893c0a0c273518fcf6d5a827a86513033e2048dbb541ca32286171c408f124495c4454ce7811e3c52ffb6a7bfcbb08af5b7f56a670c2c1cb2c5cd496 diff --git a/dev-libs/libslz/libslz-1.2.0.ebuild b/dev-libs/libslz/libslz-1.2.0.ebuild new file mode 100644 index 000000000000..be90a23d2bc6 --- /dev/null +++ b/dev-libs/libslz/libslz-1.2.0.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit toolchain-funcs multilib-minimal + +DESCRIPTION="stateless, zlib-compatible, and very fast compression library" +HOMEPAGE="http://1wt.eu/projects/libslz" +SRC_URI="http://git.1wt.eu/web?p=${PN}.git;a=snapshot;h=v${PV};sf=tbz2 -> ${P}.tar.bz2" + +LICENSE="MIT" +SLOT="0/1" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86" +IUSE="static-libs tools" + +DEPEND="" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${PN}" + +src_prepare() { + default + + multilib_copy_sources +} + +multilib_src_compile() { + local -a opts=( + CC="$(tc-getCC)" \ + OPT_CFLAGS="${CFLAGS}" \ + USR_LFLAGS="${LDFLAGS}" \ + shared \ + $(usex static-libs static '') + ) + + if multilib_is_native_abi ; then + opts+=( + $(usex tools tools '') + ) + fi + + emake "${opts[@]}" +} + +multilib_src_install() { + local -a opts=( + STRIP=":" \ + DESTDIR="${ED}" \ + PREFIX="${EPREFIX}/usr" \ + LIBDIR="${EPREFIX}/usr/$(get_libdir)" \ + install-headers + install-shared \ + $(usex static-libs install-static '') + ) + + if multilib_is_native_abi ; then + einstalldocs + + opts+=( + $(usex tools install-tools '') + ) + fi + + emake "${opts[@]}" +} |