void-packages/srcpkgs/poke/template

26 lines
774 B
Bash

# Template file for 'poke'
pkgname=poke
version=1.3
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="https://www.jemarch.net/poke.html"
changelog="https://www.jemarch.net/poke-${version}-relnotes.html"
distfiles="${GNU_SITE}/poke/poke-${version}.tar.gz"
checksum=ba7863034a1b08004b0ee8f88bda94160707e9a781d5556f555b507583cf0f1b
poke-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}