diff options
author | Ian Whyman <thev00d00@gentoo.org> | 2017-08-30 20:11:06 +0100 |
---|---|---|
committer | Ian Whyman <thev00d00@gentoo.org> | 2017-08-30 20:11:06 +0100 |
commit | 4fbb46e71f2faec70de36dbdb7ec4f89484b31bb (patch) | |
tree | 4cc37b8be715125e827c5a4345f84292386eae6f /dev-lang | |
parent | sys-devel/crossdev: Update metadata with "new" crossdev alias (diff) | |
download | gentoo-4fbb46e71f2faec70de36dbdb7ec4f89484b31bb.tar.gz gentoo-4fbb46e71f2faec70de36dbdb7ec4f89484b31bb.tar.bz2 gentoo-4fbb46e71f2faec70de36dbdb7ec4f89484b31bb.zip |
dev-lang/duktape: Version bump
Package-Manager: Portage-2.3.8, Repoman-2.3.3
Diffstat (limited to 'dev-lang')
-rw-r--r-- | dev-lang/duktape/Manifest | 1 | ||||
-rw-r--r-- | dev-lang/duktape/duktape-2.1.1.ebuild | 43 |
2 files changed, 44 insertions, 0 deletions
diff --git a/dev-lang/duktape/Manifest b/dev-lang/duktape/Manifest index 16d0bf0fe304..b0830c98923a 100644 --- a/dev-lang/duktape/Manifest +++ b/dev-lang/duktape/Manifest @@ -1 +1,2 @@ DIST duktape-2.1.0.tar.xz 1024608 SHA256 e02364cd72077e34e204b8375c8bd7c461eb13cb623c7dc1a74d253d84b1446b SHA512 9ec399a801a66f55c4c45a6011ea70fa86be302f07739325389a22189dd2026d52dc887a70d110496c9959c8680db8b878ffd2cc3c83e38269444e8726cfce5a WHIRLPOOL e7274339da65f90e952d0becea5c32f5b74a2091831b33ba8ad41745f66d9b6e34708afcde97dcb8483deab8624709149cd61026e1232914a4ef03083a255963 +DIST duktape-2.1.1.tar.xz 1024568 SHA256 6a58e5e8d8c7e3e638cd6e5b91be3bcaa4c89778d3892054a36052ae043dd11e SHA512 51e5146b083b460f005ce93e369aebf9981e33a3e888f3e91fd175b7f018a93981e8f6f9ff9bbd865ad30f1424fcb21c18334450050909cda5f74caf11b25479 WHIRLPOOL 9d15f1b8884d179873e8ea7fb69c93bf71875e3a776b9d83f568fb1418fc46ad44ccea0597f38046c9ce1b4db0a7d60a8a2eefff08f9a25a5827d3de7cf7251a diff --git a/dev-lang/duktape/duktape-2.1.1.ebuild b/dev-lang/duktape/duktape-2.1.1.ebuild new file mode 100644 index 000000000000..976fa042698a --- /dev/null +++ b/dev-lang/duktape/duktape-2.1.1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="Embeddable Javascript engine" +HOMEPAGE="http://duktape.org" +SRC_URI="http://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" +} |