void-packages/srcpkgs/dumpet/template

19 lines
630 B
Bash

# Template file for 'dumpet'
pkgname=dumpet
version=2.1
revision=5
build_style=gnu-makefile
hostmakedepends="pkg-config"
makedepends="popt-devel libxml2-devel"
short_desc="Tool to dump and debug bootable CD-like images"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://tracker.debian.org/pkg/dumpet"
distfiles="http://http.debian.net/debian/pool/main/d/dumpet/dumpet_${version}.orig.tar.bz2"
checksum=2cc1fa3a1b06f885e4524d1be80bdacc5b6a55057d0577262f2f5186b49a4da3
do_build() {
make CC=$CC CFLAGS="$CFLAGS -I${XBPS_CROSS_BASE}/usr/include/libxml2" \
LFLAGS="$LDFLAGS -lpopt -lxml2"
}