diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-04-28 20:21:43 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-04-28 20:21:43 +0100 |
commit | 40aaaa64e86ba6710bbeb31c4615a6ce80e75e11 (patch) | |
tree | 758c221bad35c9288d0bd6df9c7dfc226728e52c /dev-lang/mujs/mujs-1.0.9.ebuild | |
parent | 8d5dbd847cbc704a6a06405856e94b461011afe3 (diff) |
gentoo resync : 28.04.2021
Diffstat (limited to 'dev-lang/mujs/mujs-1.0.9.ebuild')
-rw-r--r-- | dev-lang/mujs/mujs-1.0.9.ebuild | 56 |
1 files changed, 0 insertions, 56 deletions
diff --git a/dev-lang/mujs/mujs-1.0.9.ebuild b/dev-lang/mujs/mujs-1.0.9.ebuild deleted file mode 100644 index 352f7eef3635..000000000000 --- a/dev-lang/mujs/mujs-1.0.9.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit flag-o-matic toolchain-funcs - -DESCRIPTION="An embeddable JavaScript interpreter in C" -HOMEPAGE="https://mujs.com/ https://github.com/ccxvii/mujs" -SRC_URI="https://github.com/ccxvii/mujs/archive/${PV}.tar.gz -> ${P}.tar.gz" -# Not available right now. -#SRC_URI="https://mujs.com/downloads/${P}.tar.xz" - -LICENSE="ISC" -# subslot matches SONAME -SLOT="0/${PV}" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 s390 sparc x86 ~amd64-linux ~ppc-macos ~x64-macos" -IUSE="static-libs" - -RDEPEND="sys-libs/readline:0=" -DEPEND="${RDEPEND}" - -PATCHES=( - "${FILESDIR}/${PN}-1.0.5-flags.patch" -) - -src_prepare() { - default - - tc-export AR CC - - # library's ABI (and API) changes in ~each release: - # diff 'usr/includemujs.h' across releases to validate - append-cflags -fPIC -Wl,-soname=lib${PN}.so.${PV} -} - -src_compile() { - emake VERSION=${PV} prefix=/usr shared -} - -src_install() { - local myemakeargs=( - DESTDIR="${ED}" - libdir="/usr/$(get_libdir)" - prefix="/usr" - VERSION="${PV}" - $(usex static-libs install-static '') - ) - - emake "${myemakeargs[@]}" install-shared - - mv -v "${ED}"/usr/$(get_libdir)/lib${PN}.so{,.${PV}} || die - - dosym lib${PN}.so.${PV} /usr/$(get_libdir)/lib${PN}.so - dosym lib${PN}.so.${PV} /usr/$(get_libdir)/lib${PN}.so.${PV:0:1} -} |