diff options
Diffstat (limited to 'dev-lang/mujs/mujs-1.0.1-r1.ebuild')
-rw-r--r-- | dev-lang/mujs/mujs-1.0.1-r1.ebuild | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/dev-lang/mujs/mujs-1.0.1-r1.ebuild b/dev-lang/mujs/mujs-1.0.1-r1.ebuild deleted file mode 100644 index d0a2333dcf41..000000000000 --- a/dev-lang/mujs/mujs-1.0.1-r1.ebuild +++ /dev/null @@ -1,42 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -inherit flag-o-matic multilib toolchain-funcs - -DESCRIPTION="lightweight Javascript interpreter" -HOMEPAGE="http://mujs.com/" -SRC_URI="http://git.ghostscript.com/?p=mujs.git;a=snapshot;h=4792d16f17b15a1eca3c2a9c856dc13fda1d23c5;sf=tgz -> ${P}.tar.gz" - -LICENSE="AGPL-3" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos" -IUSE="static-libs" - -PATCHES=( - "${FILESDIR}"/${PN}-1.0.1-gentoo.patch -) -S=${WORKDIR}/${PN}-4792d16 - -src_prepare() { - default - append-cflags -fPIC -Wl,-soname=lib${PN}.so.${PV} - tc-export CC -} - -src_compile() { - emake VERSION=${PV} shared -} - -src_install() { - emake \ - DESTDIR="${ED}" \ - VERSION=${PV} \ - libdir="/usr/$(get_libdir)" \ - install-shared \ - $(usex static-libs install-static '') - - mv -v "${D}"/usr/$(get_libdir)/lib${PN}.so{,.${PV}} || die - dosym lib${PN}.so.${PV} /usr/$(get_libdir)/lib${PN}.so || die - dosym lib${PN}.so.${PV} /usr/$(get_libdir)/lib${PN}.so.${PV:0:1} || die -} |