mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-lang/duktape: drop 2.4.0, 2.5.0-r1
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -1,4 +1,2 @@
|
||||
DIST duktape-2.4.0.tar.xz 1027744 BLAKE2B 9fb74b0586a5ccf5ef80d69955ab0ddb94428d463e300a558b5ab6e279d2c416b794434466604caa80581883df85f889694af1dd3ea0aaa4a3d53babb855f3ef SHA512 be6b7c73ae7c3419e8ced375fcff9680946e780b71d30e3be4e4e3b4b3a2710aa8f86530081c64958507a11fc215cacc5409c7d3a1d30b757838a00c748fa281
|
||||
DIST duktape-2.5.0.tar.xz 1031188 BLAKE2B 15d9190e9c723bacf8249ea31bf528793ca06e86d2697648192fee50b4ba2f7cf091e1392ac14a7a5c35b05a3ff5f200e0318cc8a4b873ad26f0c97683a2cb72 SHA512 230e298a91cb48407d7c2a4b7c85cf9d53151d550e2fd7ba6cb8f9115682abce295fb78a3c3cd22b4812ce86944dd6d28c2b25c3845668a17232e3a08ea63837
|
||||
DIST duktape-2.6.0.tar.xz 1035160 BLAKE2B 98155e1bf7e76aab37f5ccdb951d9d456df3d984ebed5058d8931e25317ffd94b4d95f08e102eb6eb2fa36ab6d2d60be6072b4101b7754e1c1440f7d6fb2c91b SHA512 d72a2aaa05391fa243861aca6ca6082f91a08b9c5d60c7b246d35d7161532b0048bb67bd8fec7996c700ee317ac2bb52e528582682e5425b0431757d8b1c5be4
|
||||
DIST duktape-2.7.0.tar.xz 1026524 BLAKE2B da5eea88758201177f32c5611a3757433ef1b0173d6430eff1f067abd7535f3e4b9c3717290fbd8475827a53f7a2a74818287a65e563f14e91761f5cd0fe30d5 SHA512 8ff5465c9c335ea08ebb0d4a06569c991b9dc4661b63e10da6b123b882e7375e82291d6b883c2644902d68071a29ccc880dae8229447cebe710c910b54496c1d
|
||||
|
||||
@@ -1,43 +0,0 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
DESCRIPTION="Embeddable Javascript engine"
|
||||
HOMEPAGE="https://duktape.org"
|
||||
SRC_URI="https://duktape.org/${P}.tar.xz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
eapply_user
|
||||
|
||||
# Set install path
|
||||
sed -i "s#INSTALL_PREFIX = /usr/local#INSTALL_PREFIX = ${D::-1}/usr#" \
|
||||
Makefile.sharedlibrary || die "failed to set install path"
|
||||
|
||||
# Edit pkgconfig
|
||||
sed "s#VERSION#${PV}#" "${FILESDIR}/${PN}.pc" > "${S}/${PN}.pc" || die
|
||||
sed -i "s#LIBDIR#$(get_libdir)#" "${S}/${PN}.pc" || die
|
||||
|
||||
# Set lib folder
|
||||
sed -i "s#(INSTALL_PREFIX)/lib#(INSTALL_PREFIX)/$(get_libdir)#" \
|
||||
Makefile.sharedlibrary || die
|
||||
|
||||
mv Makefile.sharedlibrary Makefile || die "failed to rename makefile"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodir /usr/$(get_libdir)
|
||||
dodir /usr/include
|
||||
emake install
|
||||
|
||||
insinto /usr/$(get_libdir)/pkgconfig/
|
||||
doins "${S}/${PN}.pc"
|
||||
}
|
||||
@@ -1,49 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="Embeddable Javascript engine"
|
||||
HOMEPAGE="https://duktape.org"
|
||||
SRC_URI="https://duktape.org/${P}.tar.xz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm ~arm64 ppc ~ppc64 x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
eapply_user
|
||||
|
||||
# Set install path
|
||||
sed -i "s#INSTALL_PREFIX = /usr/local#INSTALL_PREFIX = ${ED}/usr#" \
|
||||
Makefile.sharedlibrary || die "failed to set install path"
|
||||
|
||||
# Edit pkgconfig
|
||||
sed "s#VERSION#${PV}#" "${FILESDIR}/${PN}.pc" > "${S}/${PN}.pc" || die
|
||||
sed -i "s#LIBDIR#$(get_libdir)#" "${S}/${PN}.pc" || die
|
||||
|
||||
# Set lib folder
|
||||
sed -i "s#(INSTALL_PREFIX)/lib#(INSTALL_PREFIX)/$(get_libdir)#" \
|
||||
Makefile.sharedlibrary || die
|
||||
|
||||
mv Makefile.sharedlibrary Makefile || die "failed to rename makefile"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake CC="$(tc-getCC)"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodir /usr/$(get_libdir)
|
||||
dodir /usr/include
|
||||
emake install
|
||||
|
||||
insinto /usr/$(get_libdir)/pkgconfig/
|
||||
doins "${S}/${PN}.pc"
|
||||
}
|
||||
Reference in New Issue
Block a user