# Template file for 'oue'
pkgname=oue
version=2.31
revision=2
hostmakedepends="msrc_base-devel"
makedepends="gdbm-devel"
depends="msrc_base"
short_desc="Only unique element filter"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="MIT-style"
homepage="http://www.databits.net/~ksb/msrc/local/bin/oue/oue.html"
distfiles="http://www.npcguild.org/~ksb/rpms/SOURCES/${pkgname}-${version}.tgz"
checksum=5b559a869ad7dabc8e45c4ce3e3a6bb3e22b8ee7d9e8ebb0e8a4fbf1ab56e821

do_build() {
	CFLAGS+=" $LDFLAGS" 
	mmsrc -y INTO=build -DHOST=localhost -C auto.cf -- make -e
}

do_install() {
	vbin build/oue
	vman build/oue.man oue.8
	vlicense LICENSE
}
