void-packages/srcpkgs/efmd/template

25 lines
719 B
Bash

# Template file for 'efmd'
pkgname=efmd
version=1.24
revision=2
hostmakedepends="msrc_base-devel"
depends="msrc_base"
short_desc="Extraction filter for hxmd meta data files"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="MIT-style"
homepage="http://www.databits.net/~ksb/msrc/local/sbin/efmd/efmd.html"
distfiles="http://www.npcguild.org/~ksb/rpms/SOURCES/${pkgname}-${version}.tgz"
checksum=44f93b7aab940a3521caba853dcaa4521883a8a0ce3402f2d3d869570aaf5b24
do_build() {
CFLAGS+=' -DDEF_HXMD_LIB=\".:/usr/lib/hxmd:/usr/lib/distrib\"'
DEBUG="$CFLAGS" mmsrc -y INTO=build -DHOST=localhost -C auto.cf \
-- make -e
}
do_install() {
vbin build/efmd
vman build/efmd.man efmd.8
vlicense LICENSE
}