void-packages/srcpkgs/poke/template

25 lines
707 B
Bash

# Template file for 'poke'
pkgname=poke
version=1.0
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="gc-devel json-c-devel libatomic_ops-devel readline-devel"
checkdepends="dejagnu"
short_desc="Extensible editor for structured binary data"
maintainer="Duncaen <duncaen@voidlinux.org>"
license="GPL-3.0-or-later"
homepage="http://www.jemarch.net/poke.html"
distfiles="${GNU_SITE}/poke/poke-${version}.tar.gz"
checksum=de930b8700c0772b3c2cd0d0ca35f50fd3d77bdf82c6251eb516b49e8ca25b0a
poke-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}