void-packages/srcpkgs/nsgenbind/template
Juan RP 1c5f4690e6 xbps-src: always require current srcpkgs version in build dependencies.
That means that version comparators are not supported anymore in
hostmakedepends and makedepends.

This will ensure that a pkg is always built with the same build dependencies
everywhere, if the srcpkgs tree is uptodate.
2015-03-27 10:59:58 +01:00

20 lines
663 B
Bash

# Template build file for 'nsgenbind'.
pkgname=nsgenbind
version=0.1.2
revision=1
hostmakedepends="pkg-config flex netsurf-buildsystem"
short_desc="Tool to generate javascript to dom bindings from w3c webid files"
maintainer="Juan RP <xtraeme@gmail.com>"
license="MIT"
homepage="http://www.netsurf-browser.org"
distfiles="http://download.netsurf-browser.org/libs/releases/${pkgname}-${version}-src.tar.gz"
checksum=94a87e9a223791693724e929cc7b13e334d4baaf73f7d0a91fdf938c9a260a9a
do_build() {
make ${makejobs} FLEX=flex BISON=bison PREFIX=/usr
}
do_install() {
make PREFIX=/usr DESTDIR=${DESTDIR} install
vinstall COPYING 0644 usr/share/licenses/${pkgname}
}