valabind: version bump and fix

This commit is contained in:
Anton Bolshakov 2014-05-07 16:44:27 +00:00
parent acffd95b1e
commit bcc3109178
3 changed files with 41 additions and 33 deletions

View file

@ -1 +1,2 @@
EBUILD valabind-9999.ebuild 755 RMD160 4e245700bf094637beaa27d2829d3231d151e7d3 SHA1 a81eac95e68adf7308f4213e18ad0b03fc308c87 SHA256 c960b25afd6f7f2e56dbfe28579a2244400c9652cc6af139e20e421bb40d538d
DIST valabind-0.8.0.tar.gz 42151 SHA256 75c4ed49f1624d8dee75facd4067f0e7de60a477b47f7981c4d7921c65e06a5b SHA512 5f8ba59665df7e1a9f2e2ab21e9aa1d1aae977b4eedad2c46ebc5b246daace704ebc6d5f346d5e5a1540c115ba1c83dbb6b9e8fa994539e0f881bb5c7e414a23 WHIRLPOOL f0a0531d733240a93569779f2b2fa6221a7a822e94147dd8803d37232540c726aa12b88fe81a8dedc61a0b63b60c228298e5e002412278099945ac971aa592ac
EBUILD valabind-0.8.0.ebuild 960 SHA256 fd97fa8f2e3e57c41b6864c707a6702210ee06c40f21291bab613988b14bf195 SHA512 62ac1697390867d1eacd2511c82fb602bc9843066303f65a7d0702b45d977c8f6b79932073bbefbb1c003afd6810eb268930b7570337a9a43ced383cb996110b WHIRLPOOL 83aab986f2444eb9cf87e5fb48be129fb9dada421c2d2d29090391f6f2dce4e6176e3d358b25f0c82fa3ed561992c02145c84801b1a82854e24e733068717bfb

View file

@ -0,0 +1,39 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="5"
VALA_MIN_API_VERSION=0.18
VALA_USE_DEPEND=vapigen
inherit vala
DESCRIPTION="Valabind is a tool to parse vala or vapi files to transform them into swig files"
HOMEPAGE="https://github.com/radare/valabind"
SRC_URI="https://github.com/radare/valabind/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE=""
RDEPEND="dev-lang/vala
dev-lang/swig"
DEPEND="${RDEPEND}
virtual/pkgconfig"
src_prepare() {
#upstream smoked something here
sed -i -e "s:^GIT_TIP:#GIT_TIP:" Makefile || die
#they don't detect version properly either
sed -i -e "s:=valac:=valac-$(vala_best_api_version):" Makefile || die
sed -i -e "s:\$(shell ./getvv):libvala-$(vala_best_api_version):" Makefile || die
}
#src_compile() {
# emake -j1 || die "compile failed"
#}
src_install() {
emake DESTDIR="${ED}" install
}

View file

@ -1,32 +0,0 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/valabind/valabind-9999.ebuild,v 1.0 2011/12/07 06:20:21 akochkov Exp $
EAPI="3"
inherit base eutils mercurial
DESCRIPTION="Valabind is a tool to parse vala or vapi files to transform them into swig files"
HOMEPAGE="http://hg.youterm.com/valabind"
EHG_REPO_URI="http://hg.youterm.com/valabind"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE=""
RDEPEND=">=dev-lang/vala-0.14
dev-lang/swig"
DEPEND="${RDEPEND}
virtual/pkgconfig"
src_prepare() {
base_src_prepare
}
src_compile() {
emake -j1 || die "compile failed"
}
src_install() {
emake DESTDIR="${ED}" install || die "install failed"
}