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"
|
|
|
|
|
|
|
|
LICENSE="AGPL-3"
|
|
|
|
SLOT="0"
|
|
|
|
KEYWORDS="~amd64"
|
|
|
|
|
|
|
|
RDEPEND="${DEPEND}"
|
|
|
|
|
|
|
|
RESTRICT="mirror"
|
|
|
|
|
|
|
|
S="${WORKDIR}"
|
|
|
|
|
|
|
|
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
|
|
|
|
}
|