gentoo-overlay/dev-libs/libsignal-ffi-bin/libsignal-ffi-bin-0.42.0.ebuild

39 lines
682 B
Bash
Raw Normal View History

2024-03-31 22:40:07 +02:00
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="libsignal-ffi prebuilt binary package"
2024-04-01 00:02:58 +02:00
HOMEPAGE="https://github.com/signalapp/libsignal"
2024-03-31 22:40:07 +02:00
SRC_URI="https://gentoo-overlay.friedli.info/libsignal_ffi-${PV}.a -> ${P}.a"
S="${WORKDIR}"
2024-03-31 22:40:07 +02:00
LICENSE="AGPL-3"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="${DEPEND}"
RESTRICT="mirror"
MY_TARGET_NAME="libsignal_ffi-${PV}.a"
src_unpack() {
cp "${DISTDIR}/${P}.a" "${S}/"
}
src_prepare() {
mv "${P}.a" "${MY_TARGET_NAME}"
eapply_user
}
src_compile() {
:
}
src_install() {
dolib.a "${MY_TARGET_NAME}"
dosym -r /usr/lib64/"${MY_TARGET_NAME}" /usr/lib64/libsignal_ffi.a
}