2012-08-10 07:54:57 +00:00
|
|
|
# Template file for 'valabind-git'
|
|
|
|
pkgname=valabind-git
|
2013-08-12 14:18:48 +00:00
|
|
|
version=20130812
|
2012-08-11 06:13:40 +00:00
|
|
|
revision=1
|
2012-08-10 07:54:57 +00:00
|
|
|
build_style=gnu-makefile
|
2013-08-12 14:18:48 +00:00
|
|
|
hostmakedepends="pkg-config vala-devel>=0.18"
|
|
|
|
makedepends="vala-devel>=0.18 libglib-devel"
|
2012-08-10 07:54:57 +00:00
|
|
|
short_desc="Tool to transform vala source files to swig, GIR or GEAR (git snapshot)"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
license="LGPL-3"
|
|
|
|
homepage="http://radare.org"
|
|
|
|
distfiles="$homepage/get/$pkgname-$version.tar.gz"
|
|
|
|
checksum=161641fc4a6ed0e22fcc82c85c8f91e41f18ae02260151f19293ee36c7c4b751
|
|
|
|
long_desc="
|
|
|
|
Valabind is a tool to parse vala[1] or vapi files to transform
|
|
|
|
them into swig interface files, C++ source files, GIR or GEAR.
|
|
|
|
|
|
|
|
With swig, you can create language bindings for any API
|
|
|
|
written in vala or C with a vapi interface.
|
|
|
|
|
|
|
|
It can also generate bindings for C++ and v8-GearBox."
|
|
|
|
|
2013-04-14 14:51:01 +00:00
|
|
|
|
2012-08-10 07:54:57 +00:00
|
|
|
do_fetch() {
|
|
|
|
local url="git://github.com/radare/valabind"
|
|
|
|
msg_normal "Fetching source from $url ...\n"
|
|
|
|
git clone ${url} ${pkgname}-${version}
|
|
|
|
}
|
2013-04-14 14:51:01 +00:00
|
|
|
|
|
|
|
valabind-git_package() {
|
|
|
|
replaces="valabind>=0"
|
|
|
|
provides="valabind-9999"
|
|
|
|
depends="glib-devel vala-devel>=0.18"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|