void-packages/srcpkgs/poke/template

27 lines
800 B
Bash

# Template file for 'poke'
pkgname=poke
version=4.1
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://git.savannah.gnu.org/cgit/poke.git/plain/NEWS"
distfiles="${GNU_SITE}/poke/poke-${version}.tar.gz"
checksum=08ecaea41f7374acd4238e12bbf97e8cd5e572d5917e956b73b9d43026e9d740
poke-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}