diff options
author | Ian Whyman <thev00d00@gentoo.org> | 2020-06-27 11:06:36 +0100 |
---|---|---|
committer | Ian Whyman <thev00d00@gentoo.org> | 2020-06-27 11:07:17 +0100 |
commit | de63736b4534e0b72f620ab5ce64e6f199cd1cb2 (patch) | |
tree | ceaffc3030209a177f12b7825a9b49ff881cee05 /dev-lang/duktape | |
parent | dev-perl/Config-MVP: Bump to version 2.200.11 (diff) | |
download | gentoo-de63736b4534e0b72f620ab5ce64e6f199cd1cb2.tar.gz gentoo-de63736b4534e0b72f620ab5ce64e6f199cd1cb2.tar.bz2 gentoo-de63736b4534e0b72f620ab5ce64e6f199cd1cb2.zip |
dev-lang/duktape: Version bump, add arch, respect CC
Closes: https://bugs.gentoo.org/721792
Closes: https://bugs.gentoo.org/727864
Closes: https://bugs.gentoo.org/728592
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Ian Whyman <thev00d00@gentoo.org>
Diffstat (limited to 'dev-lang/duktape')
-rw-r--r-- | dev-lang/duktape/Manifest | 2 | ||||
-rw-r--r-- | dev-lang/duktape/duktape-2.5.0.ebuild (renamed from dev-lang/duktape/duktape-2.2.1.ebuild) | 14 |
2 files changed, 11 insertions, 5 deletions
diff --git a/dev-lang/duktape/Manifest b/dev-lang/duktape/Manifest index 0e73eafa9fca..7099c24cff5b 100644 --- a/dev-lang/duktape/Manifest +++ b/dev-lang/duktape/Manifest @@ -1,2 +1,2 @@ -DIST duktape-2.2.1.tar.xz 966496 BLAKE2B fc458035fea9b3c5f26ac538b0ddb19ca0f93b8d20e3d51b3428e72a18797c15e6aeb6111ff05818e54529f199084b2803582d54b19040d16e58462405889449 SHA512 af78a1680cb796e1eedca78264a9c3344cd8149b3c54dc5109f21a0c65ee24097f6f18eceefbf336cda9eda7cb347a0484badfe765f3b93e1c1620b099999f25 DIST duktape-2.4.0.tar.xz 1027744 BLAKE2B 9fb74b0586a5ccf5ef80d69955ab0ddb94428d463e300a558b5ab6e279d2c416b794434466604caa80581883df85f889694af1dd3ea0aaa4a3d53babb855f3ef SHA512 be6b7c73ae7c3419e8ced375fcff9680946e780b71d30e3be4e4e3b4b3a2710aa8f86530081c64958507a11fc215cacc5409c7d3a1d30b757838a00c748fa281 +DIST duktape-2.5.0.tar.xz 1031188 BLAKE2B 15d9190e9c723bacf8249ea31bf528793ca06e86d2697648192fee50b4ba2f7cf091e1392ac14a7a5c35b05a3ff5f200e0318cc8a4b873ad26f0c97683a2cb72 SHA512 230e298a91cb48407d7c2a4b7c85cf9d53151d550e2fd7ba6cb8f9115682abce295fb78a3c3cd22b4812ce86944dd6d28c2b25c3845668a17232e3a08ea63837 diff --git a/dev-lang/duktape/duktape-2.2.1.ebuild b/dev-lang/duktape/duktape-2.5.0.ebuild index 311fee357a5a..56c63a07cbc9 100644 --- a/dev-lang/duktape/duktape-2.2.1.ebuild +++ b/dev-lang/duktape/duktape-2.5.0.ebuild @@ -1,7 +1,9 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 + +inherit toolchain-funcs DESCRIPTION="Embeddable Javascript engine" HOMEPAGE="https://duktape.org" @@ -9,7 +11,7 @@ SRC_URI="https://duktape.org/${P}.tar.xz" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" IUSE="" DEPEND="" @@ -19,7 +21,7 @@ src_prepare() { eapply_user # Set install path - sed -i "s#INSTALL_PREFIX=/usr/local#INSTALL_PREFIX=${D::-1}/usr#" \ + sed -i "s#INSTALL_PREFIX = /usr/local#INSTALL_PREFIX = ${D::-1}/usr#" \ Makefile.sharedlibrary || die "failed to set install path" # Edit pkgconfig @@ -33,6 +35,10 @@ src_prepare() { mv Makefile.sharedlibrary Makefile || die "failed to rename makefile" } +src_compile() { + emake CC="$(tc-getCC)" +} + src_install() { dodir /usr/$(get_libdir) dodir /usr/include |